[WBEL-users] sendmail milter struggles

Craig White craigwhite at azapple.com
Sun Jan 23 16:27:23 CST 2005


On Sun, 2005-01-23 at 14:23 -0700, Craig White wrote:
> On Sun, 2005-01-23 at 21:52 +0100, Jan-Albert van Ree wrote:
> > On Sunday 23 January 2005 21:11, Craig White wrote:
> > > using clamd from dag <clamd-0.80-2.1.el3.rf>
> > >
> > > doesn't seem to matter if I set clamd to use TCP localhost:3310 or
> > > socket /var/run/clamav/clamav-milter.sock
> > >
> > > and sendmail.mc
> > > dnl INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-
> > > milter.sock, F=, T=S:4m;R:4m')dnl
> > >
> > > or
> > >
> > > INPUT_MAIL_FILTER(`clamav', `S=inet:3310 at localhost, F=, T=S:4m;R:4m')dnl
> > >
> > > I get the following reported in /var/log/maillog
> > >
> > > Jan 23 13:07:01 mail sendmail[5414]: j0NK71om005414: SYSERR(root): out
> > > of memory: Cannot allocate memory
> > >
> > > I've not gotten any responses from freshrpms mail list so I thought
> > > perhaps someone has worked through this stuff here...
> > 
> > Dag's RPM's unfortunately are broken :( Never got those to work... it seems 
> > he moved some files around. I've grabbed another 0.80 src.rpm and rebuilt 
> > that for Whitebox, works like a charm here...
> ---
> OK - well, I just did likewise, downloaded dag's source rpm and did
> rebuild and install - I still have a problem but I haven't gotten the
> out of memory error (at least not yet)
> ----
> > I notice you haven't got the last line...
> > BTW your first example isn't gonna work... 'dnl' in front of a config option 
> > means the m4 program will ignore that line.
> ----
> actually, I did have the last line, I just didn't include it...
> define(`confINPUT_MAIL_FILTERS', `clamav, spamassassin')dnl
> 
> and I figured that I should only have 1 entry for clamav
> INPUT_MAIL_FILTER - I did the dnl for the unix-socket after I changed it
> to tcp but I commented out the line so I could switch back and forth, I
> thought you would get the idea.
> 
> Thanks for the notion that dag's rpm wouldn't work. 
> 
> problem still shows in /var/log/maillog
> Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> write(O) returned -1, expected 12: Broken pipe
> Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> to error state
> Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> init failed to open
> Jan 23 14:19:54 mail sendmail[17062]: j0NLJspM017062: Milter (clamav):
> to error state
> 
> so I will switch back to tcp sockets to see if it works.
----
same problem

this is pissing me off

Craig



More information about the Whitebox-users mailing list