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

2011-05-06 Thread Bernd Wurst
Hi Sam.

Am 2011-05-05 12:09 schrieb Sam Varshavchik:
 Use aliasdir, not the alias file.

Tested it, it works as you described. Thanks a lot.


Now, I have another, more special question:

Is it possible to make courier look at the aliasdir even if the local
user exists? For one user, I would like to have a shell login account
on the server but local mail shall be forwarded to another server,
including extension addresses.

I have authpam running and I would like to keep that. If it does not
work for this special case, this is not a real problem, I'm just
curious if there is an easy way to fake courier that this user does not
exist even if it does according to PAM.

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-06 Thread Sam Varshavchik

Bernd Wurst writes:


Hi Sam.

Am 2011-05-05 12:09 schrieb Sam Varshavchik:
 Use aliasdir, not the alias file.

Tested it, it works as you described. Thanks a lot.


Now, I have another, more special question:

Is it possible to make courier look at the aliasdir even if the local
user exists? For one user, I would like to have a shell login account
on the server but local mail shall be forwarded to another server,
including extension addresses.

I have authpam running and I would like to keep that. If it does not
work for this special case, this is not a real problem, I'm just
curious if there is an easy way to fake courier that this user does not
exist even if it does according to PAM.


You can put the .courier files in the user's home directory.




pgpspSAZwuvjJ.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-06 Thread Sam Varshavchik

Bernd Wurst writes:


Hi Sam.

Am 2011-05-06 06:52 schrieb Sam Varshavchik:
 You can put the .courier files in the user's home directory.

This is my manual workaround, yes. ;-)

I have a script to maintain the courier domain and useraccount
configurations that is running as mail user and I wondered if this
one could handle it. So this script cannot automatically put files in
user's homedirs for security reasons.

But no matter, this special case can be done manually.


Try putting symlinks in the home directory that point somewhere where your  
mail script can manage.





pgpjQ5VDMEcaM.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-06 Thread Bernd Wurst
Hi Sam.

Am 2011-05-06 06:52 schrieb Sam Varshavchik:
 You can put the .courier files in the user's home directory.

This is my manual workaround, yes. ;-)

I have a script to maintain the courier domain and useraccount
configurations that is running as mail user and I wondered if this
one could handle it. So this script cannot automatically put files in
user's homedirs for security reasons.

But no matter, this special case can be done manually.

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