Re: Emails to multiple recipients on same server not getting delivered
So where are you calling Spamassassin for each email? Hmm... maybe you need to have -d ${recipient} in your spamassassin call? Or better yet, call the 'deliver' program from dovecot like I showed isntead.
spamass-dovecot_destination_recipient_limit = 1 virtual_alias_maps = hash:/etc/postfix/virtual-alias-maps virtual_mailbox_maps = sqlite:/etc/postfix/virtual_users.cf virtual_transport = spamass-dovecot
I've simplified the configuration by turning off spamassassin and removing any mention of it from master.cf. Things are working now. But I'm still baffled why basically the same master.cf config is working on one server but not another. I wonder if different SA configs might be the problem.
"Steve" == Steve Dondley <s@dondley.com> writes:
So where are you calling Spamassassin for each email? Hmm... maybe you need to have -d ${recipient} in your spamassassin call? Or better yet, call the 'deliver' program from dovecot like I showed isntead.
spamass-dovecot_destination_recipient_limit = 1 virtual_alias_maps = hash:/etc/postfix/virtual-alias-maps virtual_mailbox_maps = sqlite:/etc/postfix/virtual_users.cf virtual_transport = spamass-dovecot
Steve> I've simplified the configuration by turning off spamassassin and Steve> removing any mention of it from master.cf. Things are working now. But Steve> I'm still baffled why basically the same master.cf config is working on Steve> one server but not another. I wonder if different SA configs might be Steve> the problem.
Have you setup "spamassassin-recipient_limit = 1" in your postfix.cf file, assuming you're still delivering with spamassassin in your master.cf?
Also, what do the postfix logs show? And the spamassassin logs? And syslog in general?
I suspect you're only delivering to the first recipient, in the email, and not calling the delivery for each and every local recipient individually.
John
On 2021/04/05 12:27, John Stoffel wrote:
I suspect you're only delivering to the first recipient, in the email, and not calling the delivery for each and every local recipient individually.
-- I'll 2nd that, as from what you've said, you took the mailer that handles distribution of each copy of the email to all and multiple recipients out of the equation.
participants (3)
-
John Stoffel
-
Linda A. Walsh
-
Steve Dondley