On Tue, 27 Jun 2006 12:01:46 +0530, "Lekshmi A R"
<lekshmiar@???> wrote:
> I wanted to configure my mail servers to allow mails only from senders with mail id *@xyz.com
> and not any other domain instead of xyz.com.
Bad idea. The envelope sender is trivially forged. Under no
circumstances is this useable as authentication.
>require verify = sender
>accept domains = +local_domains
>accept !domains = +local_domains
> !condition = ${if eq{$sender_address_domain}{xyz.com} {no} {yes} }
>drop message = Invalid Sender Address
>
>
>Whether this will work. But how to populate the variable sender_address_domain.
Exim populates this variable with data read from the envelope sender
of the incoming message.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834