[courier-users] Aliasing single user to another server

2011-05-05 Thread Bernd Wurst
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?

cu, Bernd


signature.asc
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Aliasing single user to another server

2011-05-05 Thread Sam Varshavchik

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




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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Aliasing single user to another server

2011-05-05 Thread Bernd Wurst
Hi Sam.

Am 2011-05-05 12:09 schrieb Sam Varshavchik:
 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

Great, thanks for this hint!

Gruß, Bernd

-- 
Die Erde ist das einzige Irrenhaus, das von seinen Insassen verwaltet
wird.  -  U. Schmidt


signature.asc
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
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users