Enable auth in exim for all users - external and internal

con

New member
Joined
Sep 21, 2015
Messages
4
Hi Everyone,

I cannot find the correct solution, but i want to modify the exim configuration to force everyone (including system mails) been sent after authentication. I am also disabling the mail function of php and start using the mail package from PEAR to use auth smtp.

Does anyone have the correct setup / config-file for exim to accomplish this?

Thank you very much!
 


Thanks zEitEr,

I have seen this option, but when i send an email by commandline / shell, it still accepts it ands sends the e-mail.
How do i prevent that? There does not seem to be a localhost or 127.0.0.1 configuration option that allows the relay without authentication. Maybe exim enables that by default and i have to set it by hand to disable that, but i cannot find it.

Thanks for any reply.
 
Remove bin/mail program or restrict access to it with chown/chmod then.
On CentOS it is usually provided by mailx or bsd-mailx.
 
Back
Top