Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sendmail/clamd/spamd not working after update SOLVED!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2383
Location: Kentucky

PostPosted: Sun Jan 21, 2007 5:50 pm    Post subject: sendmail/clamd/spamd not working after update SOLVED! Reply with quote

I updated my system this weekend, including updating gcc to 4.1.1-r3, and xorg-x11 to 7.1; this also updated just about everything else, since part of the process was to emerge system and emerge world. Among several other X11 related problems, my mail is no longer working: I cannot receive email anymore.

This machine is my mail server. It has been running sendmail, spamassassin, and clamav for over a year without problem. The cpu is an AMD Duron running at 1.6 GHz with 512 MB ram and a pair of 250 GB IDE drives as a RAID-1. It boots from either drive. It runs LVM-2 on top of the RAID, and boots via initrd with the root filesystem running under LVM.

The mail setup, after the latest update, is:
Code:

sendmail 8.13.7-r1
spamassassin 3.1.3
clamav 0.88.7
procmail 3.22-r7

Here is what I am seeing: an incoming email is received, passed thru clamd and spamd, and then never makes it into the /var/spool/mail/<username> file. It just gets dropped. Here is /var/spool/messages for an incoming email:
Code:

Jan 21 12:20:12 eli sm-mta[6346]: NOQUEUE: connect from sendmail@rdsmtp.iglou.com [192.107.41.63]
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: Milter (clamav): init success to negotiate
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: Milter: connect to filters
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=connect, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 220 eli.elilabs.com ESMTP Sendmail 8.13.7/8.13.7; Sun, 21 Jan 2007 12:20:12 -0500
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: <-- EHLO rdsmtp.iglou.com
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-eli.elilabs.com Hello sendmail@rdsmtp.iglou.com [192.107.41.63], pleased to meet you
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-ENHANCEDSTATUSCODES
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-PIPELINING
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-EXPN
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-VERB
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-8BITMIME
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-SIZE
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-DSN
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-ETRN
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250-DELIVERBY
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250 HELP
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: <-- MAIL FROM:<eli@iglou.com> SIZE=1651
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: Milter: senders: <eli@iglou.com>
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=mail, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250 2.1.0 <eli@iglou.com>... Sender ok
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: <-- RCPT TO:<rj@elilabs.com>
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: Milter: rcpts: <rj@elilabs.com>
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=rcpt, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 250 2.1.5 <rj@elilabs.com>... Recipient ok
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: <-- DATA
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: --- 354 Enter mail, end with "." on a line by itself
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: from=<eli@iglou.com>, size=610, class=0, nrcpts=1, msgid=<E1H8gMV-0004Nw-80@shell1.iglou.com>, proto=ESMTP, da
emon=MTA, relay=sendmail@rdsmtp.iglou.com [192.107.41.63]
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=header, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=eoh, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: milter=clamav, action=body, continue
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: Milter add: header: X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on eli
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: Milter add: header: X-Virus-Status: Clean
Jan 21 12:20:12 eli clamav-milter[4119]: l0LHKCXd006346: clean message from <eli@iglou.com>
Jan 21 12:20:12 eli sm-mta[6346]: l0LHKCXd006346: Milter accept: message
Jan 21 12:20:13 eli sm-mta[6346]: l0LHKCXd006346: --- 250 2.0.0 l0LHKCXd006346 Message accepted for delivery
Jan 21 12:20:13 eli sm-mta[6346]: l0LHKCXe006346: <-- QUIT
Jan 21 12:20:13 eli sm-mta[6346]: l0LHKCXe006346: --- 221 2.0.0 eli.elilabs.com closing connection
Jan 21 12:20:13 eli spamd[20978]: spamd: connection from localhost.localdomain [127.0.0.1] at port 51614
Jan 21 12:20:13 eli spamd[20978]: spamd: setuid to rj succeeded
Jan 21 12:20:13 eli spamd[20978]: spamd: processing message <E1H8gMV-0004Nw-80@shell1.iglou.com> for rj:500
Jan 21 12:20:18 eli spamd[20978]: spamd: clean message (-2.0/3.0) for rj:500 in 4.9 seconds, 978 bytes.
Jan 21 12:20:18 eli spamd[20978]: spamd: result: . -1 - AWL,BAYES_00 scantime=4.9,size=978,user=rj,uid=500,required_score=3.0,rhost=localhost.localdomain,raddr=
127.0.0.1,rport=51614,mid=<E1H8gMV-0004Nw-80@shell1.iglou.com>,bayes=0,autolearn=ham
Jan 21 12:20:18 eli spamd[20969]: prefork: child states: II
Jan 21 12:20:18 eli sm-mta[6351]: l0LHKCXd006346: to=<rj@elilabs.com>, delay=00:00:06, xdelay=00:00:05, mailer=local, pri=30910, dsn=2.0.0, stat=Sent
Jan 21 12:20:18 eli sm-mta[6351]: l0LHKCXd006346: done; delay=00:00:06, ntries=1

I do not want to post all the config files here, but if you have questions about them, aks and I will try to answer.

I really need to get this server running before 8:00 AM Monday EST. :cry:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Sun Jan 21, 2007 6:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2383
Location: Kentucky

PostPosted: Sun Jan 21, 2007 6:48 pm    Post subject: Reply with quote

Problem solved. It was a procmail configuration file error. My email server is working again.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum