Percy
Verified User
This is a problem that appears to be alluded to in many places on this site, but I have yet to find a proper solution to it either on this site or through Google.
Here is the problem which I have just re-tested and confirmed. I ran into this problem recently when my server was black-listed by Barracuda *again* while I have tested it over and over again to make sure it is not an open relay.
Here is the problem.
1) Some of my clients have e-mail forwarders setup
2) It is possible (for some reason) to send e-mails from a local domain to a local domain without a locally authenticated user.
3) Spammers send e-mail from [email protected] to [email protected].
4) E-mail is (incorrectly) accepted by my server and sent to [email protected] and is then re-directed to [email protected]
5) myotherdomain.com uses Barracuda, the messages get filtered as SPAM, my server gets tagged as the source, and my server gets blocked by all Barracuda servers in the world.
Short of disabling/disallowing all forwarders (which I am tempted to do), I would like to find a proper solution to this.
Exim should NOT accept e-mails sent from/to a local domain from an EXTERNAL source. If it is a LOCAL source (i.e. authenticated local SMTP account, PHP script, etc.) then it should accept, otherwise, it should not.
I tested this with my ISP at work by sending an e-mail to/from my domain which was forwarded back to me. The e-mail went through without any problems. No authentication required at all.
So, the ideal solution would be to block ALL e-mails from ALL un-authenticated EXTERNAL sources. Currently, since my server is not an open relay, it is correctly blocking all e-mails to EXTERNAL sources. But it is accepting unauthenticated LOCAL to LOCAL.
If you feel like testing this out, my server's IP is 66.128.62.146, test forwarder setup at [email protected]. Try sending a message from [email protected] to [email protected] from any other server, and I should get the e-mail.
-Percy
Here is the problem which I have just re-tested and confirmed. I ran into this problem recently when my server was black-listed by Barracuda *again* while I have tested it over and over again to make sure it is not an open relay.
Here is the problem.
1) Some of my clients have e-mail forwarders setup
2) It is possible (for some reason) to send e-mails from a local domain to a local domain without a locally authenticated user.
3) Spammers send e-mail from [email protected] to [email protected].
4) E-mail is (incorrectly) accepted by my server and sent to [email protected] and is then re-directed to [email protected]
5) myotherdomain.com uses Barracuda, the messages get filtered as SPAM, my server gets tagged as the source, and my server gets blocked by all Barracuda servers in the world.
Short of disabling/disallowing all forwarders (which I am tempted to do), I would like to find a proper solution to this.
Exim should NOT accept e-mails sent from/to a local domain from an EXTERNAL source. If it is a LOCAL source (i.e. authenticated local SMTP account, PHP script, etc.) then it should accept, otherwise, it should not.
I tested this with my ISP at work by sending an e-mail to/from my domain which was forwarded back to me. The e-mail went through without any problems. No authentication required at all.
So, the ideal solution would be to block ALL e-mails from ALL un-authenticated EXTERNAL sources. Currently, since my server is not an open relay, it is correctly blocking all e-mails to EXTERNAL sources. But it is accepting unauthenticated LOCAL to LOCAL.
If you feel like testing this out, my server's IP is 66.128.62.146, test forwarder setup at [email protected]. Try sending a message from [email protected] to [email protected] from any other server, and I should get the e-mail.
-Percy