Re: [exim] How to verify and authenticate only for outgoing …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Theo de Morée
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] How to verify and authenticate only for outgoing mail
Hi,

My mail ACL is as follows:
acl_check_mail:
  require verify = sender
  drop condition = ${if eq{$sender_address_data}{$authenticated_id} {no} 
{yes} }
       message = Please authenticate first to use this mail address
  accept authenticated = *
  drop message = Please authenticate first


It goes out on that last drop. I currently don't do any real recipient
checking, so if you could give me a hint for that as well it would be great.
Basically the server needs to act like this:

- Outgoing mail: User needs to authenticate and use one of his own mail
addresses (works now)
- Incoming mail: No authentication of course, recipient(s) should be valid
mail addresses on of the the server domains. If someone tries and send a
mail to an unknown mail address the server should reply saying that it
doesn't exist.

Exim uses virtual domain files right now in where it specifies what mail
address belongs to what local user account.

Thanks,
Theo


>From: Marc Sherman <msherman@???>
>Reply-To: exim-users@???
>To: exim-users@???
>Subject: Re: [exim] How to verify and authenticate only for outgoing mail
>Date: Sun, 21 May 2006 08:28:07 -0400
>
>Theo de Morée wrote:
> > Hi,
> >
> > I have exim configured now to verify sender so that when someone
> > tries to send a mail from one of the domain address that's hosted by
> > the server, they have to authenticate first and they can only use
> > their own mail addresses. This works fine for outgoing mail, but now
> > when I try and send a mail from my hotmail to one of the mail
> > addresses on the server, it gets rejected because you need to
> > authenticate first.
>
>Please post your ACLs; you've done something wrong when configuring it,
>and we can't fix it without seeing what you've done.
>
>- Marc
>
>--
>## List details at http://www.exim.org/mailman/listinfo/exim-users
>## Exim details at http://www.exim.org/
>## Please use the Wiki with this list - http://www.exim.org/eximwiki/