[Exim] Newbie help please - defaults in virtual domains

Página Inicial
Delete this message
Reply to this message
Autor: Dirk Webster
Data:  
Para: exim-users
Assunto: [Exim] Newbie help please - defaults in virtual domains
Hi

I posted this question a couple of days ago but haven't had a response yet.
Apologies if this is a question that has been asked too many times before...
I have been studying the book and the archive since posting without success.

-----------------

I'm a new user of exim, hosting about 20 virtual domains (on sendmail at the
moment), trying to set up a default alias on each domain as a fallback for
unknown hosts...

I've used the default configuration file with the following additions. Mail
to an unknown virtual host is being placed in a new mailbox for that
addressee instead of into the fallback.

Snippets of config files:

------------------------------------------------
/usr/exim/virtual/wirelessnotes.co.uk/aliases...

    *:    dirk@???
    dirk:    dirk@???


-------------------------------------------
transport... (from mailing list archive)...

virtual_localdelivery:
    driver = appendfile
    create_directory = true
    directory_mode = 700
    file = /var/spool/virtual/${domain}/${local_part}
    user = exim
    group = exim
    mode = 660


director... (sort of from O'Reilly Exim book)

virtual:
    driver = aliasfile
    domains = lsearch;/usr/exim/domains
    file = /usr/exim/virtual/${domain}/aliases
    search_type = lsearch*
    transport = virtual_localdelivery
    no_more


Running "exim -bt -d9 mary@???" shows a failed lookup for
'mary', followed by a successfull lookup for '*' but indicates that the
local_part is still 'mary'.

Any pointers gratefully received :-)

Dirk