6 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: Use of the $U...
FromSent OnAttachments
Jesse KeatingMar 2, 2004 4:48 pm 
Sam VarshavchikMar 2, 2004 7:43 pm 
Jesse KeatingMar 2, 2004 9:30 pm 
Sam VarshavchikMar 3, 2004 4:09 am 
Jesse KeatingMar 3, 2004 11:25 am 
Sam VarshavchikMar 3, 2004 3:50 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: Use of the $USER variable in aliasesActions...
From:Jesse Keating (jkea@j2solutions.net)
Date:Mar 2, 2004 9:30:39 pm
List:net.sourceforge.lists.courier-users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On Tuesday 02 March 2004 19:30, Sam Varshavchik wrote:

Since in this case you are delivering to the recipient address "dspam", $USER will be "dspam".

Hrm, I see how I misworded this, or misset this up.

Since I have only virtual users, I suppose that alias should be:

dsp@mydomain.com |/usr/local/dspam/bin/dspam --user $USER@$HOST --addspam

With the $USER@$HOST, I would like to get the value of the sender. Basically dspam keeps a database for each account, based on their address. Instead of setting up individual aliases for each user, I wanted to create one master alias that feeds dspam the user that is sending the email. I imagine I should be using different variables shouldn't I?

- -- Jesse Keating RHCE (http://geek.j2solutions.net) Fedora Legacy Team (http://www.fedoralegacy.org) Mondo DevTeam (www.mondorescue.org) GPG Public Key (http://geek.j2solutions.net/jkeating.j2solutions.pub)

Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFARWny4v2HLvE71NURAr9oAJ4t8AKdDYmgy249ffkwKs0XmsedsgCgljae NA/KxmRJCZRMeZboHdokU/g= =G378 -----END PGP SIGNATURE-----