Re: [exim] How to configure exim such that only authenticate…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Miroslaw Baran
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] How to configure exim such that only authenticated users can send mails
On Thu 23 May 2013 12:18:26 harish badrinath wrote:
> Hello,
> How can i configure exim such that only authenticated users can send
> mails ??
> I am pretty new to exim and i want it to reject all mails except from
> non plain text authenticated users. (The smtp users being
> authenticated against pam/system users).


You may use something like this in your RCPT-time checks:

deny
    !authenticated  = *
    condition       = ${if ={$interface_port}{587}{1}{0}}
    message         = Unauthenticated user - please configure your mail user agent


Exim is very well documented, and on the wiki pages you'll find plenty of examples on
how to properly configure your server.

Regards
– Jubal

--
May the CIA erase you.