nobaloney
NoBaloney Internet Svcs - In Memoriam †
And they do. Which is why abuse.net includes the test.Aspegic said:Maybe his server isn't an open relay in the traditional sence of the word, but it is still expoitable. I assume there is a reason why abuse.net included it as one of their tests. If they do, so could spammers scanning for mail servers to exploit.
The hole exists for any domain in whitelist_domains, because if you put a domain in whitelist_domains what you're telling the system is to allow any email from the domain to be relayed. That's not a problem for most domains because spammers generally don't know which domains are whitelisted for which server.Removing the host from whitelist_domains may solve the problem, but I feel that it is a hole that should be plugged, or at the very least a bit more text should be added to the spamblocker readme.
For example, if you whitelist example.com on your server, then I can send email with a from address of example.com to anyone in the world, through your server. But it's doubtful I'd ever know that.
Sure but that's not the intent. The intent of whitelist_domains isn't to allow mail to domains but with return addresses from domains.Maybe listings in whitelist_domains should only apply to RCPT TO addresses but not to MAIL FROM addresses?
Perhaps whitelist_domains is too insecure for me to include it? The main reason we allow it is because a lot of admins really don't know how to determine which servers a domain uses, so they can't use whitelist_hosts.
Or perhaps you want to get mail from all the users of example.net, but the people all send email from their homes.
Perhaps the best bet is to only allow it to be used for delivery on the server. So do some studying and tell me what the change needs to be, and I'll implement it so it only accepts whitelists for delivery on the server

I have no idea what you mean. Can you explain?Or maybe the mail server itself sould be excluded (or ignored) if it is listed in whitelist_domains?
Thanks.
Jeff