Re: [exim] Two questions

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim users
Subject: Re: [exim] Two questions
On 09/09/05, Gururajan Ramachandran <gururajan20815@???> wrote:
> What are the things such as $sender_address called and
> is there a list of these things in the online docs as
> I have not been able to find them so far? (Probably
> because I do not know what they are called) I have
> searched for variables, sender_address, etc... (The
> variables search yielded the acl_m0... stuff.


expansion variables and expansion items.

> I want to check the entire list of receipients against
> a domain in the ACLs (before any delivery) and reject
> the entire email if any of the receipients have
> domains other than my selected domain. Is this
> possible? Basically, I want to restrict a particular
> local sender_address to only send to the local domain.


Use a rcpt acl which sets an acl_m variable if it sees a non-local
recipient. Then reject in the data acl if the variable is set.

Peter

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