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

Pàgina inicial
Delete this message
Reply to this message
Autor: Jasen Betts
Data:  
A: exim-users
Assumpte: Re: [exim] How to configure exim such that only authenticated users can send mails
On 2013-05-24, harish badrinath <harishbadrinath@???> wrote:
> Hello,
> On Thu, May 23, 2013 at 2:36 PM, Miroslaw Baran <baran@???> wrote:
>
>> 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


you don't actually want that... you want to allow those who
authenticate without creating an open relay on port 25...
authentication cheking is best done with an allow rule

> I am using a split configuration setup. Where should i put the advised
> entries so that only authenticated users can send email.


Split setup is a Debian invention,

Debian ships exim with the apropeiate check already in
acl/30_exim4-config_check_rcpt

You just need to setup the authenticator this is best
done by adding new a file modeled on the content of
auth/30_exim4-config_examples.

--
⚂⚃ 100% natural