OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Postfix converting ${EXTENSION} to lower case!
From: Wietse Venema (wietseporcupine.org)
Date: Fri Feb 04 2000 - 17:07:11 CST


Don't use mixed-case mailbox names.

The Postfix local delivery agent translates recipients to lowercase.
This is because people do not remember case when they type in an
email address, and because a lot of mail software does not preserve
case either.

If Postfix were to preserve case, you'd have to be prepared to
receive mail for every possible combination of upper and lower
case, which is painful.

        Wietse

Danny Howard:
> I'm sending deliveries to Cyrus' deliver command, but delivering to
> mailboxes with caps don't work. I can't find anything about
> case-sensitivity in main.cf, or at
> http://postfix.affinity.net/rewrite.html ...
>
> The alias:
> shared: "|/usr/bin/awk 'NR>1 { print }' | /usr/local/cyrus/bin/deliver -m shared.${EXTENSION}"
>
> The test:
> echo test | mail shared+jobs.testimap.tellme.com
> echo test | mail shared+jobs.Testimap.tellme.com
>
> The result:
> Feb 4 14:23:50 cronic postfix/local[13827]: 4217811D86: to=<shared+jobs.testcronic.tellme.com>, relay=local, delay=0, status=sent ("|/usr/bin/awk 'NR>1 { print }' | /usr/local/cyrus/bin/deliver -m shared.${EXTENSION}")
> Feb 4 14:25:06 cronic postfix/local[13827]: 0833611D86: to=<shared+jobs.Testcronic.tellme.com>, relay=local, delay=0, status=bounced (user unknown. Command output: shared.jobs.test: Mailbox does not exist _ )
>
> In the first case, the message shows up on the Cyrus server under
> shared.jobs.test. In the second case, the message does not make it to
> shared.jobs.Test.
>
> Is there something in Postfix which would be converting the delivery
> address to lowercase?
>
> sudo /usr/local/cyrus/bin/deliver -m shared.jobs.Test
> Password:
> From: dannymantellme.com
> To: shared+jobs+Testimap.tellme.com
> Subject: test
>
> test message
> ^D
>
> Ohhh, that works like a charm. So, yes, Postfix is playing with me.
> Anyone else run in to this, knows a config / patch / worksround I should
> be after?
>
> Thanks!
>
> -danny
>
>
>