Re: [exim] control outgoing relay

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: Exim Users Mailing List
Assumpte: Re: [exim] control outgoing relay
On 11/05/05, Raphael Reich <raphael@???> wrote:
> Let's say I have setup Exim to act as an outgoing relay for the domain
> mydomain.tld.
>
> The users (whitch are all system users having maildirs) authenticate
> themselves via SMPT AUTH.
>
> The problem is, that e.g. the user tom (tom@???) can use any local
> part as sender address (e.g. anything@???). I want to restrict the
> users to their own local part.
>
> How can this be done?


As long as your authenticator does 'server_set_id', you can access the
authenticated userid as '$authenticated_user' in a MAIL acl and test
it against the presented sender address.

Peter

--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???