RE: [Exim] alias file for multiple domains & rejecting users…

Top Page
Delete this message
Reply to this message
Author: Bernard Stern
Date:  
To: exim-users
Subject: RE: [Exim] alias file for multiple domains & rejecting users with *@xyz.com
On Wed, 26 Sep 2001 16:14:59 -0400 John Masinter wrote:

> Hi! I've read the manual and searched the mailist archive to no avail.
> Any help would be greatly appreciated.


> I run exim with multiple domains, and use a single alias file for all
> domains. I have a local shell account and mailbox on my system for 'bob'.
> I want bob to get mail at 'bob@???' and reject mail to 'bob@???'
> In my configure file I have:


> system_aliases:
> driver = aliasfile
> file = /etc/aliases
> search_type = lsearch*@
> include_domain = true
> file_transport = address_file
> pipe_transport = address_pipe


> In my aliases file I have:


> bob@???:    bob
> *@one.com:      :unknown:
> ...<skip a few lines>...
> tim@???:    tim
> jim@???:    jim
> *@two.com:      :unknown:


> But mail to 'bob@???' still gets put in bob's mailbox.
> Why? What did I miss? It seems like the existence of a local
> user/mailbox overrides the '*@two.com' catch all.


Yes, as long as you have a localuser director. For this reason
I removed it from my config.

HTH,

Bernard Stern, SWITCH

____________S_W_I_T_CH___Swiss Academic_______________________________________
        mail: SWITCH Head Office       a          Tel: +41 1 268 1520
              Limmatquai 138           n          Fax: +41 1 268 1568
              CH-8001 Zurich           d        e-mail: stern@???
________________________________________Reseach Network_______________________