More:
i have a list of aliases in /etc/aliases1
the rule would be:
if (domain == otherdomain) {
if (userpart is in /etc/aliases1)
{ deliver as if it be userpart@localdomain ; }
}
else
{ deliver using remote smtp ; }
in the case of outgoing:
if (to is otherdomain) {
if user-from is in right part of /etc/aliases1
{ rewrite from using left-part@otherdomain; } }
On Sun, 13 Nov 2005, Leonardo Boselli wrote:
> > > I wish however that:
> > > a. if the message is sent to name.surname@otherdomain a list of aliases
> > > be checked to see if the addresse is in one alis list, so the message is
> > > not sent out and then bounced back;
> > If both domains are hosted on the same machine then Exim will do this by
> > default. If not, you need to configure recipient callout verification on
> > the machine hosting otherdomain.
> I have the list of aliases on a local file, so i can know if the user is
> local or not.