Allow users to send mail to local domain only

DaneV

New member
Joined
Dec 21, 2011
Messages
1
A customer of mine wants to have certain mail users to only be able to send emails (trough SMTP) within his own domain name. So [email protected] wil be able to send to [email protected] but not to [email protected].

I`ve tried googling it, but I haven`t found a way to accomplish this in the exim SMTP server.

Does anyone have a suggestion on how to accomplish this ?

P.s. server is running DA with Exim version 4.69.
 
You've got to update /etc/exim.conf to fit your needs, and check source domain against recipient's one. Sometime ago I've already done the same for one customer of mine. For some reasons I won't share my solution.
 
I know I could take care of this for you as a commercial service (I'm the author of DirectAdmin's exim.conf file) and I'd bet that Alex would offer the same commercial service as well. I'm not sure yet if I'd do it in exim.conf, or in exim.pl (either might require updating over time) or both. I'd have to do a quick study, if you're interested.

Jeff
 
Back
Top