OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Case sensitive user names?

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jan 08 2008 - 17:05:08 CST


LuKreme:
>
> On 6-Jan-2008, at 07:14, Wietse Venema wrote:
>
> >> Inside procmail the 'Kat' user logs as 'Kat' and the 'Kreme2' user as
> >> 'kreme2'
> >
> > What are the procmail COMMAND LINE arguments?
>
>
> Procmail is launched by postfix via the pipe.
>
> procmail unix - n n - - pipe
> -o flags=Ruh user=vpopmail argv=/usr/local/bin/procmail -t -m USER=$
> {recipient} EXTENSION=${extension} /usr/local/etc/procmailrc.common
>
> so, -t -m USER=${recipient} EXTENSION=${extension} /usr/local/etc/
> procmailrc.common
>
> I don't think procmail is ever launched via the command line, per se.

The procmail command line is as follows:

    /usr/local/bin/procmail -t -m USER=${recipient} EXTENSION=${extension}
        /usr/local/etc/procmailrc.common

after pipe(8) has expanded ${recipient} and ${extension}.

Now would be a good time to demonstrate that ${recipient} is not
formatted as promised in the documentation.

        Wietse