Hi. We have some sporadic issues with email forwarders to external addresses causing problems with our IP being blacklisted, and when that happens, causing backscatter.
Delivery to our servers go through these steps:
1. The internet sends an email from [email protected] to [email protected]
2. The mail is accepted on our common MX servers for all our domains, that does spam filtering/tagging
3. Our MX servers relays the email to the DA server that is hosting ourdomain.com
4. Exim on the DA server is configured to forward [email protected] to [email protected]
Then one of two paths:
5a: The forward to [email protected] is accepted, but is spam, and thus reported/flagged by the recipient
6b: Our IP is listed on a DNSBL because of the reporting
Or:
5b. The forward to [email protected] is rejected because our IP is listed on a DNSBL
6b. Exim bounces the mail back to [email protected]
(There's a third path as well of course: 5c: The forwarded email is not spam, and all is good. Luckily this happens most of the time.)
I found an old thread discussing this forward-to-external problem (https://forum.directadmin.com/threads/disable-e-mail-forwarding.50866/), but disabling external forwarders alltogether is not really an option, and I'm not sure if the envelope sender is the main issue here?
We're currently not using any spamfiltering on the DA server, since all the deliveries go through external filtering prior to reaching them. Spammy emails are tagged.
I hope someone can suggest something to help with the two bad paths an email can take in our system. For path A perhaps a good option is to not forward something that is tagged as spammy, but for a forward that does not also have an account, I'd have to either bounce it (in step 2), or blackhole it (step 2 or 4). Not sure what's a better choice. For path B I'd prefer to reject the mail already at step 2, but I suspect that's going to be difficult.
For any bad paths, ensuring our MX and DA server can exchange the necessary information to deal with something appropriately seems to be the biggest obstacle perhaps?
Delivery to our servers go through these steps:
1. The internet sends an email from [email protected] to [email protected]
2. The mail is accepted on our common MX servers for all our domains, that does spam filtering/tagging
3. Our MX servers relays the email to the DA server that is hosting ourdomain.com
4. Exim on the DA server is configured to forward [email protected] to [email protected]
Then one of two paths:
5a: The forward to [email protected] is accepted, but is spam, and thus reported/flagged by the recipient
6b: Our IP is listed on a DNSBL because of the reporting
Or:
5b. The forward to [email protected] is rejected because our IP is listed on a DNSBL
6b. Exim bounces the mail back to [email protected]
(There's a third path as well of course: 5c: The forwarded email is not spam, and all is good. Luckily this happens most of the time.)
I found an old thread discussing this forward-to-external problem (https://forum.directadmin.com/threads/disable-e-mail-forwarding.50866/), but disabling external forwarders alltogether is not really an option, and I'm not sure if the envelope sender is the main issue here?
We're currently not using any spamfiltering on the DA server, since all the deliveries go through external filtering prior to reaching them. Spammy emails are tagged.
I hope someone can suggest something to help with the two bad paths an email can take in our system. For path A perhaps a good option is to not forward something that is tagged as spammy, but for a forward that does not also have an account, I'd have to either bounce it (in step 2), or blackhole it (step 2 or 4). Not sure what's a better choice. For path B I'd prefer to reject the mail already at step 2, but I suspect that's going to be difficult.
For any bad paths, ensuring our MX and DA server can exchange the necessary information to deal with something appropriately seems to be the biggest obstacle perhaps?