On Tue, 27 Jun 2006 12:01:46 +0530, "Lekshmi A R"
<[EMAIL PROTECTED]> wrote:
>    I wanted to configure my mail servers to allow mails only from senders 
> with mail id [EMAIL PROTECTED]
> 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

-- 
## 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/

Reply via email to