Re: Spamassassin, greylist, and sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sa, den 18.12.2004 schrieb Steven Stern um 21:06:

> >Here is what I have in mine (each line separated by a newline for clarity):
> >
> >dnl Milter-Greylist
> >INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-greylist.sock')dnl
> >define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
> >define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
> >
> >dnl Clam AntiVirus milter
> >INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, 
> >T=S:4m;R:4m')dnl
> >
> >dnl Spam Assassin milter
> >INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, F=, 
> >T=C:15m;S:4m;R:4m;E:10m')dnl
> >define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name}, {if_name}, 
> >{if_addr}')dnl

> Moving the CONNECT macro to after the spamassassin definition seems to have
> done it. THANKS.

>   Steve 

You don't want to limit the MILTER_MACROS, but you want to extend it.

define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`,
{client_addr}, {client_name}, {client_port}, {client_resolve}')
define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')

That would be the more proper definition form.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 21:12:00 up 8 days, 15:52, load average: 0.25, 0.49, 0.31 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux