>... ${sasl_username:unknown} ${recipient}
>
> ie. if $sasl_username is empty, substitute "unknown"
>
> But nothing particularly wrong with what you're doing already.
That will work better for me since I won't have to parse out the sasl_username
from the [] if it's empty. I can just check
On 5/5/2010 4:57 PM, Gary Smith wrote:
I have a content filter in which I need the sasl_username. This works for most of our
outgoing email. The problem is sometimes locally generated email is submitted without SASL
(as they are in the mynetworks table). This leaves sasl_username blank. So
I have a content filter in which I need the sasl_username. This works for most
of our outgoing email. The problem is sometimes locally generated email is
submitted without SASL (as they are in the mynetworks table). This leaves
sasl_username blank. So to get around this I have wrapped ${sasl