On Fri, 28 Aug 1998, Bernard Stern wrote:
> local_user:
> driver = aliasfile
> file = /usr/exim/cfg/local-aliases
> search_type = lsearch
> rewrite = true
> transport = local_delivery
^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^
Remove this line. It means "If the local part matches something in the
file, send it to this transport" (see 22.6 in the manual). What you
actually want is "if the local part matches something in this file,
replace it by the data from the file and reprocess each new address".
This happens if you don't specify a transport. See, for example, the
system_aliases director in the default configuration.
> (although rewrite = true is superfluous). I'm expecting, when sending
> a mail to, for instance, ex.im@???, the address to be
> aliased to exim@??? and to be deliverd locally to the exim
> mailbox on /var/spool/exim/mail/exim. However, despite matching the ex.im
> key in the local-aliases file, the mail is nonetheless delivered to
> ex.im@???. Probably I'm missing something elementary, but
> I can't find it. And yes, for the moment we are running pp...
> Thank you for any help !! Below is the output (debug level 10) of an
> example.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***