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: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Sat Jan 05 2008 - 15:41:38 CST


On Sat, Jan 05, 2008 at 02:15:22PM -0700, LuKreme wrote:

> OK, here's two emails I sent to test:
>
> # grep 74DDC118ADA9 /var/log/maillog
> Jan 5 13:45:02 akane postfix/smtpd[80271]: 74DDC118ADA9: client=*munge*
> Jan 5 13:45:02 akane postfix/cleanup[80479]: 74DDC118ADA9: message-
> id=<DF5A4660-1960-441D-8FE0-3A61FD1FE964kreme.com>
> Jan 5 13:45:02 akane postfix/cleanup[80479]: 74DDC118ADA9: warning:
> header Subject: Test email from *munge*; from=<kremelskreme.com>
> to=<Katexample.com > proto=ESMTP helo=<*munge*>: Subject
> Jan 5 13:45:02 akane postfix/qmgr[80252]: 74DDC118ADA9:
> from=<kremelskreme.com >, size=642, nrcpt=1 (queue active)
> Jan 5 13:45:10 akane postfix/pipe[80480]: 74DDC118ADA9:
> to=<Katexample.com >, relay=procmail, delay=8, status=sent (example.com)
> Jan 5 13:45:10 akane postfix/qmgr[80252]: 74DDC118ADA9: removed
>
> So, email was sent to 'Kat' and was delivered to 'Kat' (wrong)

No, your analysis is flawed. The logging records the unmunged queue
file envelope recipient as passed to pipe(8), not the downcased argument
vector passed to the delivery script. To observe the script arguments,
log them from inside the script.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.