>> I have a few email where amavisd core dumps on FreeBSD 8.0. To find out
>> what exactly causes the problem I'd like to inject that single mail into
>> amavisd (yes, amavis, SpamAssassin is fine). The data I have is what was
>> created within $amavisd/tmp, so I have the "email.txt" and the "parts"
>> directory.
>
> I usually use mini_sendmail for such purposes:
>
> $ mini_sendmail -fpostmas...@example.com \
>  -s127.0.0.1 -p10024 yours...@example.com <email.txt

Thanks:

[r...@ns1 ~]# /usr/local/etc/rc.d/amavisd restart
Stopping amavisd.
kill: 74888: No such process
kill: 74892: No such process
kill: 74894: No such process
amavisd already running? (pid=74887 74889 74890 74891 74893 74895 74896 
74897 74898 74899 74900 74902).
[r...@ns1 ~]#

Jan 18 15:14:50 ns1 postfix/smtpd[70042]: warning: lost connection with 
proxy 127.0.0.1:10024

So amavisd is really dying. What can I do to further debug the problem? I 
tried ktrace but that's a huge amount of data. I can reproduce the problem 
with mini_sendmail:

# mini_sendmail -fpostmas...@domain.tld -s127.0.0.1 -p10024 
postmas...@domain.tld < email.txt
mini_sendmail: unexpected EOF
#

Helmut 


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to