postfix Mail filters not running behind a controlled enviornment

Posted by Ashish on Server Fault See other posts from Server Fault or by Ashish
Published on 2010-05-26T07:10:09Z Indexed on 2010/05/26 7:12 UTC
Read the original article Hit count: 636

Filed under:
|
|

Hi,

I have deployed a postfix server for email receiving. On this I have configured SenderID + SPF milter, by referring to http://www.postfix.org/MILTER_README.html

The command that I used is as follows:

./sid-filter -u postfix -p inet:10027@localhost -l

Following are my settings in main.cf file:

#Milter support for smtpd mail
smtpd_milters =
  inet:localhost:10027,
  inet:localhost:10028

# Milters for non-SMTP mail.
non_smtpd_milters =
  inet:localhost:10027,
  inet:localhost:10028

milter_default_action = reject

# Postfix . 2.6
#milter_protocol = 6
# 2.3 . Postfix . 2.5
milter_protocol = 2

Now I have this observation:

  1. One of the postfix that is setup on AWS CentOS 5.5 is working fine and is able to receive mails on defined mx record.

  2. One of the similar postfix(as in step 1) that is setup behind one of the corporate firewalls is not able to receive any mails and is giving following type of error logs:

    connect from xxxxxx.austin.hp.com[xx.xxx.96.198] May 25 13:20:02 g2t0385g postfix/smtpd[11733]: C11F9B0194: client=xxxxxxx.austin.hp.com[15.217.96.198] May 25 13:20:03 g2t0385g postfix/cleanup[11814]: C11F9B0194: message-id= May 25 13:20:03 g2t0385g postfix/cleanup[11814]: C11F9B0194: milter-reject: END-OF-MESSAGE from xxxxxx.austin.hp.com[xx.xxx.96.198]: 5.7.1 Command rejected; from= to= proto=ESMTP helo=

Here the 'sid-filter' is giving problems.

Any idea, what I am doing wrong?

Please help.

Thanks in advance

Ashish Sharma

© Server Fault or respective owner

Related posts about postfix

Related posts about spf