I have just set up my server to host mail for a domain but I am not allowing SMTP access (the users will use their ISPs SMTP servers) but I do want to allow WebMail to send emails.
I found a thread at http://forum.directadmin.com/showthread.php?t=38252 that showed how to block SMTP by modding exim.pl and I implemented that and it runs great EXCEPT that webmail is being blocked from sending also
I am guessing that the user that is being used by Webmail is different these days (older thread) but how do I find out what the user is and so mod the changes to allow that user to send email?
Thanks!
Steve
I found a thread at http://forum.directadmin.com/showthread.php?t=38252 that showed how to block SMTP by modding exim.pl and I implemented that and it runs great EXCEPT that webmail is being blocked from sending also
I am guessing that the user that is being used by Webmail is different these days (older thread) but how do I find out what the user is and so mod the changes to allow that user to send email?
Code:
if ((!$smtpallowed) && ($username ne "root") && ($username ne "diradmin")) { return "no"; }
Thanks!
Steve