Hello.

I would also recommend having unique hostnames as well, so that postfix can keep track. It's perfectly fine to have the same IP.

IE: mail.mydomain.com, mail2.mydomain.com etc

Also, it might not be necessary to have two instances, you can probably do it with one, as SMTPD is for incoming and SMTP is for outbound in master.cf

You can specify customer ports in master.cf as well, for example, I have:

My default inbound which has amavis filtering, and I have a second listener on 127.0.0.2 for internal relay mail.

smtp    inet  n       -       n       -         25      smtpd
         -o content_filter=smtp-amavis:[127.0.0.1]:10024

127.0.0.2:25      inet n        -       n       -       25      smtpd
       -o smtp_bind_address=$smtp_bind_override



michalr0 wrote:
Hello i have two instance of postfix
one for incoming (p:25) and one for outgoing (p:587)

I use this configuration because in this way i may check DNS and MX records. I 
have some virtual domains. When I send email to client which changing mail 
server (from me to other ISP) I sending emails to me server (old) not to new 
server

and I have one trouble
when I sended email from my server to outside server i working great
when I received mail from outside server is working great

but when i sended from me to me I have many errors
NOQUEUE: reject_warning: RCPT from 1-2-3-4.dynamic.xx[1.2.3.4]: 450 4.1.7 <ad...@mydomain.dd>: 
Sender address rejected: unverified address: mail for mydomain.dd loops back to myself; 
from=<ad...@mydomain.dd> to=<t...@mydomain.dd> proto=ESMTP helo=<[192.168.1.140]>

Reply via email to