sendmail und Benutzer mit Grossbuchstaben

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
bigbutt
Posts: 18
Joined: 2003-01-02 15:15

sendmail und Benutzer mit Grossbuchstaben

Post by bigbutt » 2003-01-27 08:00

Hi,

warum hat sendmail Probleme mit Usern mit Grussbuchstaben im Namen? System: SuSE 7.2

bigbuTT

sartre
Posts: 327
Joined: 2002-05-12 18:02
Location: Duisburg

Re: sendmail und Benutzer mit Grossbuchstaben

Post by sartre » 2003-01-27 13:03

Nun die Sendmail FAQ schreibt folgendes:

Subject: Q4.17 -- How do I handle user names with upper-case characters?
Date: November 18, 1999
Updated: August 8, 2001
You really shouldn't, because upper case characters in user names are contrary to the Unix tradition. If you do, then e-mail addresses will be case sensitive, so that mail to <USER@your.host> will bounce instead of being delivered to <user@your.host>. As this is contrary to the expectations of many, it is not recommended.

But if you insist on doing so anyway, and you have version 8.10, put the following in your .mc file:

MODIFY_MAILER_FLAGS(`LOCAL', `+u')dnl

If you don't have 8.10, you will need to redefine the LOCAL_MAILER_FLAGS m4 variable, but the initial value varies from OS to OS, so this is yet another reason not to mess with this flag.
Another hack is the creation of aliases for Uppercase local users in the form:

# lowercase version to real one
uppercase: Uppercase

It will make sendmail deliver messages to uppercase local recipients in a case insensitive manner.
Gruß