Currently running Postfix2.3.3/Dovecot1.1.8 with mysql storing the
user data and delivering to folders as determined by dovecot using
dovecot's "deliver" as defined in postfix's master.cf. I have a
preproduction and a production environment.
Everything is good in the preprod environment. BUT in the prod
environment if I have an account us...@example.com it works just
fine. However, when mail is sent to us...@example.com it also
delivers, but ends up creating a new file structure so I end up with:
/var/spool/mail/example.com/user1 (with lower case mail in it)
and
/var/spool/mail/EXAMPLE.COM/USER1 (with uppercase mail in it)
which is decidedly not good. I know that postfix doesn't actually
have anything to do with the actual delivery of the mail -- it just
hands off to deliver. But I'm wondering if it's possibly changing the
case (or not as the case may be) somewhere I can't find. I've gotten
suggestions on how to change dovecot's deliver to lc everything but I
want to know what's wrong with my config before I try to fix it
(since clearly my preprod and prod environments are different).
From var/log/maillog on the dev box:
Apr 30 18:24:00 devmail amavis[11268]: (11268-03) Passed CLEAN,
[10.10.20.150] <t...@gmail.com> -> <test...@int.example.com>,
Message-ID:
<e265ac6da349994f9ef439e2f724439f099d3...@nofexchange.int.example.com>,
mail_id: f2yeDfZyyfuY, Hits: -98.698, size: 2582, queued_as: 4A811EFEB6, 484 ms
Apr 30 18:24:00 devmail postfix/smtp[15221]: BEE46EFEB2:
to=<test...@int.example.com>, relay=127.0.0.1[127.0.0.1]:10024,
delay=0.58, delays=0.02/0.05/0.03/0.48, dsn=2.0.0, status=sent (250
2.0.0 Ok: queued as 4A811EFEB6)
Apr 30 18:24:00 devmail deliver(test...@int.example.com):
msgid=<e265ac6da349994f9ef439e2f724439f099d3...@nofexchange.int.example.com>:
saved mail to INBOX
^^^^^^^^ note right here the case changes when it goes to deliver.
Apr 30 18:24:00 devamail postfix/pipe[15225]: 4A811EFEB6:
to=<test...@int.example.com>, relay=dovecot, delay=0.07,
delays=0.02/0.03/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
On the prod box the case doesn't change.
Any ideas where I would look in postfix to change the case of
incoming mail before the email is "deliver"ed to the mailbox?
Thx.
rick
Rick Steeves
http://www.sinister.net
"The more I learn, it seems, the less I know." Frazz