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 > > [r...@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 ] > [r...@r13151 ~]# > > that happens I've done yet > > /sbin/servive greylistd start > /sbin/servive spamassassin start > > thank you for all your returns
I 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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos