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

Inizio della pagina
Delete this message
Reply to this message
Autore: Robert Cerny
Data:  
To: hs
CC: exim-users
Oggetto: Re: [Exim] forward all emails in virtual domain to selected user
Hi,
it's definitely a way to go...
I added your recommended alias to my alias file. I also tried to add
lsearch{*;/etc/mail/virtual/$domain} but exim rejected to work with
this settings. Wihtout it I still get "Unroutable address"

Robert

On 2.4.2004, at 11:37, Heiko Schlittermann wrote:

> 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 -----

>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
>