[CentOS] Sendmail problem

Alexander Dalloz ad+lists at uni-x.org
Sun Dec 28 18:23:02 UTC 2008


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: `=' expected

Recheck 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
> directory

There 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 start

Check 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
> 
> sl

Alexander






More information about the CentOS mailing list