[CentOS] Sendmail problem

swilting john.swilting at wanadoo.fr
Sun Dec 28 06:27:24 UTC 2008


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




More information about the CentOS mailing list