How to prevent sending to non-existent external recipient

ercan412

New Member
Jul 24, 2020
5
0
1
34
Hi,

I'll use PMG as outgoing mail filtering only. I don't want to PMG send any e-mail to non-existent external recipient. How can I prevent this, is there any option ?
 
If the recipient is non-existant the mailserver for that domain will reject the mail with 5xx and it won't get sent?!
 
If the recipient is non-existant the mailserver for that domain will reject the mail with 5xx and it won't get sent?!
This will be used for mass e-mailing and I think sending to non-existant recipients over and over will decrease spam score. I expect PMG can add these recipients to temporary black list. Does it capable to send weekly reports for these errors in order to remove from mailing list.
 
Does it capable to send weekly reports for these errors in order to remove from mailing list.
I would suggest to use a mailinglist software for this (sympa, mailman) - they are made for handling bounces and non-responding e-mail addresses and they do it quite well

you can also try to configure recipient verification for outbound mails as well - for this check the postfix documentation:
http://www.postfix.org/ADDRESS_VERIFICATION_README.html

and edit the pmg master.cf.in configuration template to add the appropriate options to the outbound postfix instance (by default the one listening on port 26):
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine
 
I would suggest to use a mailinglist software for this (sympa, mailman) - they are made for handling bounces and non-responding e-mail addresses and they do it quite well

you can also try to configure recipient verification for outbound mails as well - for this check the postfix documentation:
http://www.postfix.org/ADDRESS_VERIFICATION_README.html

and edit the pmg master.cf.in configuration template to add the appropriate options to the outbound postfix instance (by default the one listening on port 26):
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine
I've copyed main.cf.in from /var/lib/pmg/templates/ to /var/lib/pmg/templates/. I've checked postfix documentation but I couldn't figure out what is appropriate options to the outbound postfix.