I wish to add options to sendmail INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter/spamass-milter.sock, F=T, T=C:5m;S:4m;R:4m;E:5m')dnl dnl MAILER(cyrusv2)dnl INPUT_MAIL_FILTER(`greylist', `S=local:/var/run/milter-greylist/milter-greylist.sock') define(`confMILTER_MACROS_CONNECT', `j, {if_addr}') define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}') define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}') define(`confMILTER_MACROS_ENVRCPT', `{greylist}') and LOCAL_CONFIG Kstorage macro LOCAL_RULESETS SLocal_check_rcpt R$+ $: $(storage {greylist} $) $&{client_addr} R$+ $: $>A <$1> <?> <+Connect> <$1> R<$+> <$*> $: $(storage {greylist} $@ $1 $) $2 it does not seem to work after retstart sendmail I errors [root at r13151 ~]# /sbin/service sendmail restart Arr?t de sm-client : [ OK ] Arr?t de sendmail : [?CHOU] D?marrage de sendmail :554 5.0.0 /etc/mail/sendmail.cf: line 1685: Xspamassassin: `=' expected WARNING: Xgreylist: local socket name /var/run/milter-greylist/milter-greylist.sock missing 451 4.0.0 InputFilter spamassassin not defined: No such file or directory [?CHOU] D?marrage de sm-client : [ OK ] [root at r13151 ~]# that happens I've done yet /sbin/servive greylistd start /sbin/servive spamassassin start thank you for all your returns sl
On Sun, 2008-12-28 at 07:27 +0100, swilting wrote:> I wish to add options to sendmail > > INPUT_MAIL_FILTER(`spamassassin', > `S=local:/var/run/spamass-milter/spamass-milter.sock, F=T, > T=C:5m;S:4m;R:4m;E:5m')dnl > dnl MAILER(cyrusv2)dnl > > INPUT_MAIL_FILTER(`greylist', > `S=local:/var/run/milter-greylist/milter-greylist.sock') > define(`confMILTER_MACROS_CONNECT', `j, {if_addr}') > define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}') > define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}') > define(`confMILTER_MACROS_ENVRCPT', `{greylist}') > > > and > > LOCAL_CONFIG > Kstorage macro > LOCAL_RULESETS > SLocal_check_rcpt > R$+ $: $(storage {greylist} $) $&{client_addr} > R$+ $: $>A <$1> <?> <+Connect> <$1> > R<$+> <$*> $: $(storage {greylist} $@ $1 $) $2 > > it does not seem to work > > after retstart sendmail > I errors > > [root at r13151 ~]# /sbin/service sendmail restart > Arr?t de sm-client : [ OK ] > Arr?t de sendmail : [?CHOU] > D?marrage de sendmail :554 5.0.0 /etc/mail/sendmail.cf: line 1685: > Xspamassassin: `=' expected > WARNING: Xgreylist: local socket > name /var/run/milter-greylist/milter-greylist.sock missing > 451 4.0.0 InputFilter spamassassin not defined: No such file or > directory > [?CHOU] > D?marrage de sm-client : [ OK ] > [root at r13151 ~]# > > that happens I've done yet > > /sbin/servive greylistd start > /sbin/servive spamassassin start > > thank you for all your returnsI can think of 2 things... 1) Is milter-greylist installed? 2) You may have the socket file wrong. Check your milter-greylist configuration to see the name of the socket file. Also, make sure that both spamassassin and greylistd are started before sendmail... -I
I also have a similar problem with clamav INPUT_MAIL_FILTER(`clamilt',`S=local:/var/run/clamav-milter/clamav.sock',F=,T=S:4m;R:4m')dnl define(`confINPUT_MAIL_FILTERS',`clamilt')dnl [root at r13151 ~]# /sbin/service sendmail restart Arr?t de sm-client : [ OK ] Arr?t de sendmail : [ OK ] D?marrage de sendmail :WARNING: Xclamilt: local socket name /var/run/clamav-milter/clamav.sock missing [ OK ] D?marrage de sm-client : [ OK ] [root at r13151 ~]# service sendmail restart it tells me errors and I do not know their origins thank you for all your returns sl Le dimanche 28 d?cembre 2008 ? 07:27 +0100, swilting a ?crit :> I wish to add options to sendmail > > INPUT_MAIL_FILTER(`spamassassin', > `S=local:/var/run/spamass-milter/spamass-milter.sock, F=T, > T=C:5m;S:4m;R:4m;E:5m')dnl > dnl MAILER(cyrusv2)dnl > > INPUT_MAIL_FILTER(`greylist', > `S=local:/var/run/milter-greylist/milter-greylist.sock') > define(`confMILTER_MACROS_CONNECT', `j, {if_addr}') > define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}') > define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}') > define(`confMILTER_MACROS_ENVRCPT', `{greylist}') > > > and > > LOCAL_CONFIG > Kstorage macro > LOCAL_RULESETS > SLocal_check_rcpt > R$+ $: $(storage {greylist} $) $&{client_addr} > R$+ $: $>A <$1> <?> <+Connect> <$1> > R<$+> <$*> $: $(storage {greylist} $@ $1 $) $2 > > it does not seem to work > > after retstart sendmail > I errors > > [root at r13151 ~]# /sbin/service sendmail restart > Arr?t de sm-client : [ OK ] > Arr?t de sendmail : [?CHOU] > D?marrage de sendmail :554 5.0.0 /etc/mail/sendmail.cf: line 1685: > Xspamassassin: `=' expected > WARNING: Xgreylist: local socket > name /var/run/milter-greylist/milter-greylist.sock missing > 451 4.0.0 InputFilter spamassassin not defined: No such file or > directory > [?CHOU] > D?marrage de sm-client : [ OK ] > [root at r13151 ~]# > > that happens I've done yet > > /sbin/servive greylistd start > /sbin/servive spamassassin start > > thank you for all your returns > > sl
swilting schrieb:> I wish to add options to sendmail > > INPUT_MAIL_FILTER(`spamassassin', > `S=local:/var/run/spamass-milter/spamass-milter.sock, F=T, > T=C:5m;S:4m;R:4m;E:5m')dnl > dnl MAILER(cyrusv2)dnl > > INPUT_MAIL_FILTER(`greylist', > `S=local:/var/run/milter-greylist/milter-greylist.sock') > define(`confMILTER_MACROS_CONNECT', `j, {if_addr}') > define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}') > define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}') > define(`confMILTER_MACROS_ENVRCPT', `{greylist}')Are you sure you want to remove many of the default values being passed to milter by sendmail by this setup?> and > > LOCAL_CONFIG > Kstorage macro > LOCAL_RULESETS > SLocal_check_rcpt > R$+ $: $(storage {greylist} $) $&{client_addr} > R$+ $: $>A <$1> <?> <+Connect> <$1> > R<$+> <$*> $: $(storage {greylist} $@ $1 $) $2 > > it does not seem to work > > after retstart sendmail > I errors > > [root at r13151 ~]# /sbin/service sendmail restart > Arr?t de sm-client : [ OK ] > Arr?t de sendmail : [?CHOU] > D?marrage de sendmail :554 5.0.0 /etc/mail/sendmail.cf: line 1685: > Xspamassassin: `=' expectedRecheck your sendmail.mc. You have a typo there.> WARNING: Xgreylist: local socket > name /var/run/milter-greylist/milter-greylist.sock missing > 451 4.0.0 InputFilter spamassassin not defined: No such file or > directoryThere is no such socket file which Sendmail expects to talk through.> [?CHOU] > D?marrage de sm-client : [ OK ] > [root at r13151 ~]# > > that happens I've done yet > > /sbin/servive greylistd start > /sbin/servive spamassassin startCheck your configuration regarding theses services. Especially where the sockets are created by config, that the sockets are available after service start and that Sendmail is permitted to enter the directories with these sockets.> thank you for all your returns > > slAlexander