PDA

View Full Version : Postfix : smtpd


iyeat
12th February 2008, 09:06
I tried to bind my postfix install to a single IP address (my box has 4 IPs). I want all of my mail traffic to flow on 1 IP.

So, I added this to main.cf and restarted postfix:

smtp_bind_address = xxx.xxx.xxx.25

I sent myself a test mail from a yahoo account, and found that the message didn't deliver. After parsing through the maillog, I found the following:

Feb 11 23:45:32 echo amavis[8210]: (08210-02) (!)DENIED ACCESS from IP xxx.xxx.xxx.25, policy bank ''

Didn't find much detail on this fix, at least, nothing that I am willing to try on a production server without some validation from you guys ;)

My setup uses the Virtual Users And Domains With Postfix, Courier And MySQL (Fedora 8) (http://howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-fedora8) with Domainkeys using How To Implement Domainkeys In Postfix Using Dk-milter (http://howtoforge.com/how-to-implement-domainkeys-in-postfix-using-dk-milter-centos5.1).

Thank You!

Caio

falko
13th February 2008, 17:45
I think your amavisd tries to connect to the IP address 127.0.0.1, so you must allow this one in Postfix as well.

iyeat
13th February 2008, 22:03
I'll try binding postfix to my IP as well as 127.0.0.1.

C