> From: Noel Jones via Postfix-users <postfix-users@postfix.org>
> Sent: Sunday, December 10, 2023 2:53 PM
> 
> > But every now and then it does not:
> >
> > 2023-12-09T14:03:23+01:00 localhost dovecot: [ID 702911 mail.info]
> > lmtp(m...@email.addr)<15599><qBd9CZtldGXvPAAA0J78UA>: sieve:
> > msgid=<sa3pr05mb103707275c38ede74dc2c8f4ca9...@sa3pr05mb10370.namprd05.prod
> > .outlook.com>
> > from=<roehlermilove198...@outlook.com> size=18499 vsize=18977 session=0ms
> > delivery=599ms: stored mail into mailbox 'INBOX'
> 
> This is dovecot logging. Postfix logging of the same message will show why
> it was accepted.
> 
>   — Noel Jones

That's it, thanks Noel:

# cat /var/log/mail | grep 0CEB81C465F
2023-12-09T14:03:22+01:00 localhost postfix/smtpd[16016]: [ID 197553 mail.info] 
0CEB81C465F: 
client=mail-centralusazolkn19013006.outbound.protection.outlook.com[52.103.13.6]
2023-12-09T14:03:22+01:00 localhost postfix/cleanup[24113]: [ID 197553 
mail.info] 0CEB81C465F: 
message-id=<sa3pr05mb103707275c38ede74dc2c8f4ca9...@sa3pr05mb10370.namprd05.prod.outlook.com>
2023-12-09T14:03:23+01:00 localhost postfix/qmgr[35562]: [ID 197553 mail.info] 
0CEB81C465F: from=<roehlermilove198...@outlook.com>, size=17524, nrcpt=1 (queue 
active)
2023-12-09T14:03:23+01:00 localhost postfix/lmtp[24270]: [ID 197553 mail.info] 
0CEB81C465F: to=<m...@email.addr>, orig_to=<myal...@email.addr>, 
relay=my.mail.server[private/dovecot-lmtp], delay=1.7, delays=1.1/0/0/0.6, 
dsn=2.0.0, status=sent (250 2.0.0 <m...@email.addr> qBd9CZtldGXvPAAA0J78UA 
Saved)
2023-12-09T14:03:23+01:00 localhost postfix/qmgr[35562]: [ID 197553 mail.info] 
0CEB81C465F: removed

The mail was sent to myal...@email.addr that expanded to m...@email.addr, it 
seems this was the problem, as I only have m...@email.addr in 
protected_destinations:

/etc/postfix/protected_destinations:
    m...@email.addr     good_senders_only

I was able to resolve the problem by protecting the whole domain instead:

/etc/postfix/protected_destinations:
    email.addr  good_senders_only

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to