[WBEL-users] sendmail milter struggles

Jan-Albert van Ree javanree at vanree.net
Sun Jan 23 14:52:41 CST 2005


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...
The src.rpm is under http://www.vanree.net/wbel30/personal/srpms/ , or 
browse up one level for the i386.rpm's
I have the following in my sendmail.cf :

INPUT_MAIL_FILTER(`clamav-milter',`S=local:/var/clamav-milter/clamav-milter.sock
, F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clamav-milter')

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.
-- 
Jan-Albert van Ree  | http://www.vanree.net/brickpiles/
VanRee IT Solutions | http://www.vanree.net


More information about the Whitebox-users mailing list