|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Bug in local delivery? (does username case matter?)
From: Ignacio Arenaza (inaki.arenaza
jet.es)Date: Thu Jun 22 2000 - 16:53:19 CDT
- Next message: Marco d'Itri: "Re: Content-Length (was Re: Banner)"
- Previous message: Marco d'Itri: "Re: Pb with cleanup ( i think ..... )"
- Next in thread: Wietse Venema: "Re: Bug in local delivery? (does username case matter?)"
- Reply: Wietse Venema: "Re: Bug in local delivery? (does username case matter?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have recently migrated from sendmail to postfix and have had some
trouble with several accounts.
All that accounts have at leat a capital letter in the username. And I
am getting consistent bounces, telling me the user doesn't exist in
the system.
This is a Debian Gnu/Linux system (Potato). (in case that matters)
Looking through the logs I have seen this (lines wrapped for readability):
Jun 22 23:17:44 eb2ebu postfix/local[844]: C47224E38:
to=<CURSO01
eb2ebu.ampr.org>, relay=local,
delay=0, status=bounced (unknown user: "curso01")
As you can see, postfix/local is looking for a user called "curso01"
when the original email address (and the real system account) is in
fact CURSO01.
It seems to me that RFC822 mandates the local part of a RFC822 email
address maintains its original case (except postmater, see RFC822
sec. 3.4.7), so I think something in postfix/local is doing the wrong
thing. I think the problem is in the following lines (the diff is only
shown to spot the file an line number)
- --- recipient.c Thu Jun 22 23:45:35 2000
+++ recipient.c.orig Thu Jun 22 23:45:25 2000

-201,7 +201,7 
if (state.msg_attr.delivered == 0)
state.msg_attr.delivered = state.msg_attr.recipient;
state.msg_attr.local = mystrdup(state.msg_attr.recipient);
- - lowercase(state.msg_attr.local);
+ lowercase(state.msg_attr.local);
if ((state.msg_attr.domain = split_at_right(state.msg_attr.local, '
')) == 0)
msg_warn("no
in recipient address: %s", state.msg_attr.local);
Anyone can confirm or deny this?
Thanks in advance.
- --
Get PGP/GPG Keys at http://personales.jet.es/inaki.arenaza/pgpkey.html
A proud member of GULA - http://gula.hispalinux.es/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.4 and GPG
iD8DBQE5UorMZXLnGT1HLgcRAqzMAJ9HkKdDkZLAoryVAOeHNV9Jbaz5xgCfUZtn
D+ypqsWnS7thsZ3yKmkyctQ=
=MqZf
-----END PGP SIGNATURE-----
- Next message: Marco d'Itri: "Re: Content-Length (was Re: Banner)"
- Previous message: Marco d'Itri: "Re: Pb with cleanup ( i think ..... )"
- Next in thread: Wietse Venema: "Re: Bug in local delivery? (does username case matter?)"
- Reply: Wietse Venema: "Re: Bug in local delivery? (does username case matter?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]