using ${recipient} in transport definitions/master.cf

2011-07-19 Thread Brian Andrus
All, I wanted to use one of the built-in variables for the user= portion of a pipe in master.cf, but it seems postfix does not substitute it for that part. Is this the case? Is it possible to do something like: procmail unix -n n - - pipe -o flags=RO

Re: using ${recipient} in transport definitions/master.cf

2011-07-19 Thread Victor Duchovni
On Tue, Jul 19, 2011 at 09:01:43AM -0700, Brian Andrus wrote: I wanted to use one of the built-in variables for the user= portion of a pipe in master.cf, but it seems postfix does not substitute it for that part. Correct, reasonable and not surprising. Only the argv list supports variable

Re: using ${recipient} in transport definitions/master.cf

2011-07-19 Thread Brian Andrus
I thought as much, unfortunately, since the local accounts have an '@' sign in them, using procmail as local delivery seems to not be happy. So now the question becomes: Is there a way to get postfix to allow '@' signs as part of a user name when using the local transport? eg: for my email

Re: using ${recipient} in transport definitions/master.cf

2011-07-19 Thread Wietse Venema
Brian Andrus: I thought as much, unfortunately, since the local accounts have an '@' sign in them, using procmail as local delivery seems to not be happy. For a Postfix procmail example, see: http://www.postfix.org/postconf.5.html#mailbox_command Wietse

Re: using ${recipient} in transport definitions/master.cf

2011-07-19 Thread Victor Duchovni
On Tue, Jul 19, 2011 at 11:26:46AM -0700, Brian Andrus wrote: I thought as much, unfortunately, since the local accounts have an '@' sign in them, using procmail as local delivery seems to not be happy. So now the question becomes: Is there a way to get postfix to allow '@' signs as part

Re: using ${recipient} in transport definitions/master.cf

2011-07-19 Thread Brian Andrus
Hmph..no wonder my foot hurts! I do use virtual domains and have all that working, I just wanted to allow for folks with virtual domain accounts to have their own .procmailrc to have individualized spamassassin rulesets. I haven't given up. I am thinking maybe a limited pipe to sudo :)

Re: using ${recipient} in transport definitions/master.cf

2011-07-19 Thread Victor Duchovni
On Tue, Jul 19, 2011 at 01:30:24PM -0700, Brian Andrus wrote: Hmph..no wonder my foot hurts! I do use virtual domains and have all that working, I just wanted to allow for folks with virtual domain accounts to have their own .procmailrc to have individualized spamassassin rulesets. I