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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Heiko Schlittermann
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] forward all emails in virtual domain to selected user
--
On Fri, Apr 02, 2004 at 04:03:36PM +0200, Robert Cerny wrote:
> 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"


Here my exim4-config-snipped:

# router for virtual domains
virtual:
driver = redirect
domains = lsearch;/etc/exim4/domains.virtual
allow_defer
allow_fail
data = ${expand:${lookup{$local_part}lsearch*{/etc/exim4/virtual/$domain}}}
file_transport = address_file
pipe_transport = address_pipe
group = mail
user = mail

I've a domains.virtual-File where line by line all my virtual domains
are listed. Probably you might replace this with a dsearch.


    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 -----
--
Content-Description: Digital signature


[ signature.asc of type application/pgp-signature deleted ]
--