Closed Stopi closed 2 years ago
I can confirm this behavior but do not think it's a postgrey issue. Each CLIENT_IP / SENDER / RECIPIENT
triplet is unique and evaluated independently regardless if the recipient is found in the TO, CC, or BCC field. For this reason, it also doesn't make any difference if the recipient was added on to an existing email thread. The sending mail server smtp.host.from.outside[ip.address.from.outside]
should continue re-trying to deliver the message to user4@from.ourdomain
just like any other SMTP transient failure with a 4xx response code.
Thanks for your answer.
I thought it should be like that. But then I have no explanation on why this mail was never presented again to user4@from.ourdomain. I see no track in the logs, even days after.
I guess will never know...
Yeah, short of asking the admin of the sending MTA to check their logs I think you'll have to write that one.
Hi,
on this server, we run CentOS 8 with postgrey.noarch:1.37-9.el8 (epel).
we received a mail for user1@from.ourdomain with a CC field which was asking for a copy to user2@from.ourdomain, user3@from.ourdomain and user4@from.ourdomain (plus more users from another domain we don't own).
2 days before, the same sender@host.from.outside already sent an email to user1@from.ourdomain, user2@from.ourdomain and user3@from.ourdomain. So the "triplets" were already in postgrey's db for those recipients.
Postgrey then detected that incoming mail as new and greylisted it ONLY for user4@from.ourdomain. So Postfix delivered the e-mail to the 3 other users.
More importantly, since the sender was notified his email was received, it never presented it again, so user4@from.ourdomain just never received that email (and no-one received any notification about that loss).
Here is the full postfix log for this problem:
I don't know if this is a known issue, but if some users don't receive emails then it's severe enough.
Somehow, I would think when a sender has passed greylisting once, then it should not be greylisted again for another recipient. Is there a way to configure Postgrey to have that behavior? Any help would be appreciated.
Please don't mind the final postfix's
Permission denied
in those logs since it's another unrelated issue I've fixed, messages were properly delivered by dovecot.