Blocking All SMTP Relays

czotos

Verified User
Joined
Oct 19, 2007
Messages
208
Hi folks!

I would like to restrict all users - whether they're hosted on my DirectAdmin server or not - to NOT be able to use my server as a SMTP gateway whatsoever.

In other words, even the users who have valid usernames and passwords must NOT be able to use my DirectAdmin server as a SMTP gateway/relay.

However, they must still be able to receive/download their POP3/IMAP e-mail from my DirectAdmin server.

What configuration changes would I have to make??

Thanks in advance... :)
 
You'll need to do some custom rewriting of the exim.conf file to eliminate POP before SMTP authentication (this has been covered previously in these forums), and then fail all authentication even if it otherwises passes.

I'm not sure how easy it is to do that, or even if it can be done without patching exim itself. You might want to ask on the exim users mailing list.

Jeff
 
Thanks, I'll see what the Exim mailing-list has to say about my situation...
 
Back
Top