Bernd Wurst writes:

Hi.

I have sort of a special question.

Many of our users use .courier-style-addresses, so that the user can
have .courier-foobar to process username-foobar on our global domain.
So this domain is in "locals" file.

Now, one user has his homedir on another server.

I tried to set up an alias:
specialuser: specialuser@otherserver

This works, but not for extension-addresses.

Is there a way to forward all mail to local specialuser-* to
specialuser-*@otherdomain?

Use aliasdir, not the alias file.

If a local mailbox does not exist and there's no alias, the last lookup is the aliasdir (man dot-courier), so install both .courier-special and .courier-specialuser-default in aliasdir to effect the forward.

If you want to preserve the dash extension on the forwarded adderss, you'll have to monkey around in .courier-specialuser-default, something like:

| sendmail -f "$SENDER" "specialuser-$EXT@otherdomain"


Attachment: pgpwLucS7nkMD.pgp
Description: PGP signature

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to