Author: Philipp Gaschütz Date: To: Frank Petzold, exim-users Subject: RE: [Exim] /etc/aliases used after qualify_domain
Well...
You need a rewrite rule that looks whether the address has a domain
appended to $localpart (if ! $domain), if it has not, it looks in
/etc/aliases for valid matches, if this also returns false then you
change the recipient to $local_part@???
How to do that all... no idea ;) only in theory ;) check the rewriting
docs
-p
> I need to qualify most unqualified users with @zurich.ibm.com, but if I
> use qualify_domain, local users, such as root and postmaster, get the
> domain appended before /etc/aliases is processed. As the
> delivery rules
> for all these administration users is there, it does not work.
> And I don't
> want my anacron output sent to root@???.
>
> The only thing I could think about now was to append the domain to all
> aliases in /etc/aliases, but then I cannot send mail to
> root@???
> anynore, at all. So this is not a solution.
>
> How can I get exim to process /etc/aliases before anything
> else is done to
> the address?