Re: [Exim] forward all emails in virtual domain to selected …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [Exim] forward all emails in virtual domain to selected user
On Fri, Apr 02, 2004 at 11:31:50AM +0200, Robert Cerny wrote:
> Hi,
> I set up an virtual domain, which is controlled from
> /etc/mail/virtual/_domain_name_ I created a bunch of aliases and now
> want to solve the situation when no alias is found. Is there any better
> option than use errors_to directive in main conf file?


Setup an alias in the 'virtual alias file':

    *:  IWantAll@???


And then use lsearch*;/etc/mail/virtual/_domain_name (or a similar
search (the '*' is the thing you're looking for).

The search will first try the real user and then, if this fails, it will
search for a literal '*'. (It's no wildcard pattern!).


    Best regards from Dresden
    Viele Gruesse aus Dresden
    Heiko Schlittermann
--
 SCHLITTERMANN.de ------------------ internet & unix support -
 Debian GNU/Linux Woody + KDE 3.1 + Bunk -- DVD / CD ---------
 Heiko Schlittermann HS12-RIPE -------------------------------
 pgp: A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 -------
 gpg: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -----