Milter-ahead configuration problem I still have the same problem

kte at nexis.be kte at nexis.be
Wed Jul 2 11:24:27 IST 2008


Hallo 

How do I configure the milter-ahead on sendmail, because I always go looks 
like a local recipient, skipping 

Jun 10 12:40:30 mail milter-ahead[1970]: milter-ahead: smfi_register: 
version mi
smatch application: 4 != milter: 2 
Jun 10 12:40:30 mail milter-ahead[1970]: milter-ahead: smfi_register: 
version mi
smatch application: 3 != milter: 2 
Jun 10 12:40:30 mail milter-ahead[1970]: process ruid=501 rgid=501 
euid=501 egid
=501 
Jun 10 12:40:30 mail milter-ahead[1970]: milter-ahead/1.0.97 Copyright 
2004, 200
5 by Anthony Howe. All rights reserved.
Jun 10 12:40:30 mail milter-ahead[1970]: LibSnert/1.56.769 Copyright 1996, 
2005 
by Anthony Howe. All rights reserved. 
Jun 10 12:40:30 mail milter-ahead[1970]: libmilter version 2 (4) 
Jun 10 12:40:30 mail milter-ahead[1970]: Sleepycat Software: Berkeley DB 
4.2.52:
 (January  7, 2007) 
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?? 


sendmail.mc
FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`greet_pause',6500)dnl
sinclude(`/etc/mail/dnsbl.mc')dnl
sinclude(`/etc/mail/milter-ahead.mc')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl
INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-greylist.sock'
)dnl
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl

milter-ahead.cf
-m -c 86400 -f /etc/mail/sendmail.cf 
unix:/var/run/milter/milter-ahead.socket

Koen 


 


Koen Teugels | Information & Communication Technology Engineer 
E-mail: kte at nexis.be | Phone: +32 (0)10 81.81.81 | Fax: +32 (0)10 81.81.80 

ICT Support: ict-support at nexis.be

NEXIS | Mission Statement | E-mail Disclaimer | General Sales Conditions 
Chaussée de Namur, 79 | B-1300 Wavre | E-mail: info at nexis.be 
Bisdom, 8 | B-3090 Overijse | http://www.nexis.be 

--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080702/ffecfc93/attachment.html


More information about the MailScanner mailing list