> Hi, i need to find out localpart and domain for destination virtual user 
> in maildroprc - $LOGNAME is empty..

this is what I use:

    import USER
    if ($LOGNAME ne "")
    {
        xfilter "spamc -u $LOGNAME"
    }
    else
    {
        xfilter "spamc -u $USER"
    }

and yes, it's EXTREMELY annoying, and not well documented...  I've also
found that LOGNAME is occasionally unset when maildrop is called from
something other than courier (in my case, fetchmail).

-Chris



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to