Hi,
Some time ago I configured postfix to be multi-instance and now I'm
realizing some mail being generated locally by new crontab entries are
bouncing because apparently the main postfix instance doesn't know
where to send these emails (at least that's my guess).

Jan 27 14:21:02 xavier postfix/pickup[1247182]: B84BF4F69D: uid=1000
from=<codec>
Jan 27 14:21:02 xavier postfix/cleanup[1289165]: B84BF4F69D:
message-id=<[email protected]>
Jan 27 14:21:02 xavier postfix/qmgr[1247183]: B84BF4F69D:
from=<[email protected]>, size=1010, nrcpt=1 (queue active)
Jan 27 14:21:02 xavier postfix/smtp[1289167]: B84BF4F69D:
to=<[email protected]>, orig_to=<codec>, relay=none, delay=0.55,
delays=0.51/0.02/0.03/0, dsn=5.4.6, status=bounced (mail for
example.com loops back to myself)
Jan 27 14:21:02 xavier postfix/cleanup[1289165]: C7F6165F6C:
message-id=<[email protected]>
Jan 27 14:21:02 xavier postfix/qmgr[1247183]: C7F6165F6C: from=<>,
size=3125, nrcpt=1 (queue active)
Jan 27 14:21:02 xavier postfix/bounce[1289168]: B84BF4F69D: sender
non-delivery notification: C7F6165F6C
Jan 27 14:21:02 xavier postfix/qmgr[1247183]: B84BF4F69D: removed
Jan 27 14:21:02 xavier postfix/smtp[1289167]: C7F6165F6C:
to=<[email protected]>, relay=none, delay=0, delays=0/0/0/0,
dsn=5.4.6, status=bounced (mail for example.com loops back to myself)

I'm not sure what information to provide to help troubleshoot this
without having to send the entire config, so hopefully the info below
is useful. The MX record for this domain should be using the
postfix-117 instance on this host for mail destined for my example.com
domain:

# postmulti -l
-               -               y         /etc/postfix
postfix-out     mta             y         /etc/postfix-out
postfix-117     mta             y         /etc/postfix-117
postfix-114     mta             y         /etc/postfix-114
postfix-116     mta             y         /etc/postfix-116

I've set up the null-client instance as per the multi-instance readme.
However, mail for this example.com domain is relayed on to a remote
system from a transport entry in the postfix-out instance.

The other MX record for this domain is on another host.

# postconf -c /etc/postfix -n|grep ^my
mydestination =
mydomain = example.com
myhostname = xavier.example.com
myorigin = $mydomain

# postconf -c /etc/postfix-117 -n|grep ^my
mydestination =
mynetworks = 127.0.0.0/8 23.227.110.186

relay_domains in the postfix-117 instance is configured for my
example.com domain. There are no transports or virtual domains or
relay_domains configured in the main instance for this domain (or any
domain).

Thanks,
Alex

Reply via email to