abrt version: 1.1.14 architecture: i686 Attached file: backtrace cmdline: Mail -v -s testing wbaker component: mailx crash_function: strlen executable: /bin/mailx kernel: 2.6.34.7-56.fc13.i686.PAE package: mailx-12.5-1.fc13 rating: 4 reason: Process /bin/mailx was killed by signal 11 (SIGSEGV) release: Fedora release 13 (Goddard) time: 1292220726 uid: 500 comment ----- $ cat example-yahoo.rc set nss-config-dir=/home/example/nss set smtp=smtp://plus.smtp.mail.yahoo.com:465 set smtp-auth=login set smtp-auth-password=PASSWORD set smtp-auth-user=USERNAME #set smtp-use-starttls set ssl-method=tls1 set ssl-verify=ignore set from USERNAME I'm unclear what the correct recipe for Y!Mail is actually ... I have Gmail working (see below). And I have my Y!Mail Plus working in thunderbird. So I was trying to get my Y!Mail to work in /usr/bin/Mail by mapping the settings from thunderbird back to the *.rc file settings. One acquires the nss directory from (arbitrarily) any Mozilla product $ ls /home/wbaker/.mozilla/eclipse/*.db /home/wbaker/.mozilla/eclipse/cert8.db /home/wbaker/.mozilla/eclipse/secmod.db /home/wbaker/.mozilla/eclipse/key3.db see Mail(1) where it describes how to copy these files out of any Mozilla product The scenario reported above works just fine (i.e. does not segfault) with gmail, so the nss files are "fine" $ cat example-gmail.rc set nss-config-dir=/home/example/nss set smtp=smtp://smtp.gmail.com:587 set smtp-auth=login set smtp-auth-password=PASSWORD set smtp-auth-user=USERNAME set smtp-use-starttls set ssl-verify=ignore This crashes in Fedora 10 (mailx-12.4-1.fc10.i386) and Fedora 13 (mailx-12.5-1.fc13.i686) How to reproduce ----- 1. echo testing | MAILRC=$(pwd)/example-yahoo.rc Mail -v -s "testing" user see the segfault
Created attachment 468310 [details] File: backtrace
According to the backtrace and the source code, it looks like something related to the "smtp" value (perhaps it is appeared as undefined in the code someway...) One question: why you use: set smtp=smtp://plus.smtp.mail.yahoo.com:465 instead of just: set smtp=smtps://plus.smtp.mail.yahoo.com (port 465 is the standard port for smtps (smtp over ssl)) ?
Reproduced under 12.4 as well. When I drop the line: set from USERNAME from the Yahoo config, the segfault is disappeared. Why you use this line for Yahoo, and do not use something similar for Gmail?
OOps... :) You must use: set from=USERNAME (you've forgotten the "=" sign).