Milter-ahead configuration problem

Steve Freegard steve.freegard at fsl.com
Tue Jun 17 11:31:49 IST 2008


kte at nexis.be wrote:

> *Jun 10 14:22:53 mail milter-ahead[1957]: 00001 m5ACMYYw002181: looks 
> like a local recipient, skipping*
> 
> [root at mail ~]# more /etc/mail/mailertable
> nexis.be        esmtp:[mailserver.nexis.be]
> 
> [root at mail ~]# more /etc/mail/access
> # Check the /usr/share/doc/sendmail/README.cf file for a description
> # of the format of this file. (search for access_db in that file)
> # The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
> # package.
> #
> # by default we allow relaying from localhost...
> Connect:localhost.localdomain           RELAY
> Connect:localhost                       RELAY
> Connect:127.0.0.1                       RELAY
> nexis.be                                RELAY
> 
> 
> mx record refers to our real mailserver
> 
> where can I disable that he says it looks like a local recipient??
> 

If you have 'access-db=/etc/mail/access.db' then the 'nexis.be  RELAY' 
entry will act like a whitelist entry on earlier versions of libsnert.

Add the entry:

'milter-ahead-To:nexis.be		SKIP'

To your access-map and then rebuild it and you should find that 
milter-ahead starts doing the call-aheads correctly.

Kind regards,
Steve.


More information about the MailScanner mailing list