-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Sat, 2020-11-28 at 11:30 +0100, Juerg Reimann wrote:

FWIW it looks like a dovecot/lda issue.

Traditionally SMTP systems forced everything to be lower case ... but
then people like Microsoft started making MTA's that where case
sensitive for the reciever part of the email address (at the time this
was not RFC complianat behaviour). A quick parsing of the current RFC's
shows that for the reciever part (i.e. before the "@" symbol) it's up
to the delivery agent how it handles case sensetivity, however the
domain part of the address shouldn't be case sensitive. I have always
run on the basis that all email addresses should be case insensetive,
and that the MTA/MDA should ignore the case of any characters in any
part of the address. In the case outlined below I would look more
closely at your dovecot configuration than your postfix configuration.
I have a similar setup, but addmittedly I haven't tried (or seen anyone
try) using anything upper case in the email addresses I'm serving.

But, yeah, according to the RFC's it's up to the MDA/LDA how it handle
character case sensetivity :)


> Interesting phenomenon on a newly setup system:
> 
> 2020-11-28T11:15:48+01:00 localhost postfix/lmtp[98782]: [ID 197553
> mail.info] DDB5E8456: to=<u...@domain.tld>,
> relay=my.host.tld[private/dovecot-lmtp], delay=0.04,
> delays=0.02/0/0.01/0.01, dsn=5.1.1, status=bounced (host
> my.host.tld[private/dovecot-lmtp] said: 550 5.1.1 <u...@domain.tld>
> User doesn't exist: u...@domain.tld (in reply to RCPT TO command))
> 2020-11-28T11:16:01+01:00 localhost postfix/lmtp[98782]: [ID 197553
> mail.info] BF1678458: to=<u...@domain.tld>, relay=
> my.host.tld[private/dovecot-lmtp], delay=0.26, delays=0.25/0/0/0.01,
> dsn=5.1.1, status=bounced (host my.host.tld[private/dovecot-lmtp]
> said: 550 5.1.1 <u...@domain.tld> User doesn't exist:
> u...@domain.tld (in reply to RCPT TO command))
> 2020-11-28T11:26:37+01:00 localhost postfix/lmtp[99560]: [ID 197553
> mail.info] BA35E88DC: to=<u...@domain.tld>,
> relay=my.host.tld[private/dovecot-lmtp], delay=0.16,
> delays=0.08/0/0/0.08, dsn=2.0.0, status=sent (250 2.0.0
> <u...@domain.tld> YIesL90lwl+2hAEA0J78UA Saved)
> 
> How can I lowercase the complete email address in postfix before
> delivery? It happens like this in my case:
> 
> virtual_transport = lmtp:unix:private/dovecot-lmtp


When in doubt RTR [Read The RFC] :)

- -- 
Nikolai Lusan <niko...@lusan.id.au>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEVfd4GW6z4nsBxdLo4ZaDRV2VL6QFAl/DtKkACgkQ4ZaDRV2V
L6TVaQ/+Jv2bekHh4igxgl6BSz0huiI0FTGOXPKZlVObKflha/8kszR8hRI8DKaR
7I2noZknNbwh93wvfYQsz8Qf45FnNzB/231UAQyetBhQg1wB5vzJugsLD2Odk+PT
L7kcVOSn2KSQH96Rf6V4qQr6SOrUKhGwos8KBl/mMIvyja4aor84VaLHgES5rG3k
PdOkh1XkIm3va6blipsfVQVGriRBzFAMqrNm7s/84m/mJ2Xfr6qHe75OsZDCHGgy
sinvXtF9blOsLilFIqI+ZyhXGNMbnZrzG4DvooS9tycc2JygmgcVV3ugcSLfGndI
ziFIT6SftnWyndhKJlBqD2R7DUNxlMB7v2AL/Tw2ldURGnZF/bt4G3erUcF8VEAU
o9X4RJOOc7dTjYIGOrfDzHn99JLy5m/rbo2nkBZPYcIx4O5HuPcTVXKKYV/6s1Yu
xwZyk287esRNi9mZN2v5SPT3pOXhFTCzEaGGJMjh7aQycZNXWxxzIkv9wP1p1ZEe
3TxTdkVVwNC3YRmt2/Tq4ISuWAiVpygjabD6U2YDJghFWNhaJr1M/0pn5MpP5clG
Gew4Hj6AZks9XN8t4VPtCvAELeBoUMk7dg4SJQbbH5qlOGqKkk0Y7WWCxHZWo9xS
d17fkruJFR7wtslRlygVfjrb2EKZxM7AKCF+dmgW3o849dNvQ+c=
=XsX8
-----END PGP SIGNATURE-----

Reply via email to