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]> Aug 2 13:20:46 node1 postfix-out/smtp[13651]: warning: host mail.mydomain.dd[6.7.8.9]:25 greeted me with my own hostname node25.myserver.ss Aug 2 13:20:46 node1 postfix-out/smtp[13651]: warning: host mail.mydomain.dd[6.7.8.9]:25 replied to HELO/EHLO with my own hostname node25.myserver.ss Aug 2 13:20:46 node1 postfix-out/smtp[13651]: 351E9406A0: to=<ad...@mydomain.dd>, relay=mail.mydomain.dd[6.7.8.9]:25, delay=0.08, delays=0/0/0.08/0, dsn=5.4.6, status=bounced (mail for mydomain.dd loops back to myself) -- from log -- Aug 2 13:20:45 node1 postfix-out/smtpd[13643]: connect from 1-2-3-4.dynamic.xx[1.2.3.4] Aug 2 13:20:46 node1 postfix-out/smtpd[13643]: 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]> Aug 2 13:20:46 node1 postfix-out/smtpd[13643]: 18BF74067D: client=1-2-3-4.dynamic.xx[1.2.3.4], sasl_method=PLAIN, sasl_username=ad...@mydomain.dd Aug 2 13:20:46 node1 postfix-out/cleanup[13649]: 18BF74067D: message-id=<55bdfcfd.7050...@mydomain.dd> Aug 2 13:20:46 node1 postfix-out/qmgr[12600]: 18BF74067D: from=<ad...@mydomain.dd>, size=563, nrcpt=1 (queue active) Aug 2 13:20:46 node1 postfix/smtpd[13652]: connect from mail.mydomain.dd[6.7.8.9] Aug 2 13:20:46 node1 postfix-out/smtp[13651]: warning: host mail.mydomain.dd[6.7.8.9]:25 greeted me with my own hostname node25.myserver.ss Aug 2 13:20:46 node1 postfix-out/smtp[13651]: warning: host mail.mydomain.dd[6.7.8.9]:25 replied to HELO/EHLO with my own hostname node25.myserver.ss Aug 2 13:20:46 node1 postfix-out/smtp[13651]: 18BF74067D: to=<t...@mydomain.dd>, relay=mail.mydomain.dd[6.7.8.9]:25, delay=0.15, delays=0.07/0/0.08/0, dsn=5.4.6, status=bounced (mail for mydomain.dd loops back to myself) Aug 2 13:20:46 node1 postfix/smtpd[13652]: disconnect from mail.mydomain.dd[6.7.8.9] ehlo=1 quit=1 commands=2 Aug 2 13:20:46 node1 postfix-out/cleanup[13649]: 351E9406A0: message-id=<20150802112046.351e940...@node25.myserver.ss> Aug 2 13:20:46 node1 postfix-out/bounce[13654]: 18BF74067D: sender non-delivery notification: 351E9406A0 Aug 2 13:20:46 node1 postfix-out/qmgr[12600]: 351E9406A0: from=<>, size=2339, nrcpt=1 (queue active) Aug 2 13:20:46 node1 postfix-out/qmgr[12600]: 18BF74067D: removed Aug 2 13:20:46 node1 postfix-out/smtpd[13643]: disconnect from 1-2-3-4.dynamic.xx[1.2.3.4] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8 Aug 2 13:20:46 node1 postfix/smtpd[13652]: connect from mail.mydomain.dd[6.7.8.9] Aug 2 13:20:46 node1 postfix-out/smtp[13651]: warning: host mail.mydomain.dd[6.7.8.9]:25 greeted me with my own hostname node25.myserver.ss Aug 2 13:20:46 node1 postfix-out/smtp[13651]: warning: host mail.mydomain.dd[6.7.8.9]:25 replied to HELO/EHLO with my own hostname node25.myserver.ss Aug 2 13:20:46 node1 postfix-out/smtp[13651]: 351E9406A0: to=<ad...@mydomain.dd>, relay=mail.mydomain.dd[6.7.8.9]:25, delay=0.08, delays=0/0/0.08/0, dsn=5.4.6, status=bounced (mail for mydomain.dd loops back to myself) Aug 2 13:20:46 node1 postfix/smtpd[13652]: disconnect from mail.mydomain.dd[6.7.8.9] ehlo=1 quit=1 commands=2 Aug 2 13:20:46 node1 postfix-out/qmgr[12600]: 351E9406A0: removed -- from log -- Thanks for help Michael Rybnik