> From: Noel Jones via Postfix-users <[email protected]>
> 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([email protected])<15599><qBd9CZtldGXvPAAA0J78UA>: sieve:
> > msgid=<sa3pr05mb103707275c38ede74dc2c8f4ca9...@sa3pr05mb10370.namprd05.prod
> > .outlook.com>
> > from=<[email protected]> 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=<[email protected]>, size=17524, nrcpt=1 (queue 
active)
2023-12-09T14:03:23+01:00 localhost postfix/lmtp[24270]: [ID 197553 mail.info] 
0CEB81C465F: to=<[email protected]>, orig_to=<[email protected]>, 
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 <[email protected]> qBd9CZtldGXvPAAA0J78UA 
Saved)
2023-12-09T14:03:23+01:00 localhost postfix/qmgr[35562]: [ID 197553 mail.info] 
0CEB81C465F: removed

The mail was sent to [email protected] that expanded to [email protected], it 
seems this was the problem, as I only have [email protected] in 
protected_destinations:

/etc/postfix/protected_destinations:
    [email protected]     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 -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to