Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delivery case sensitive?

0 views
Skip to first unread message

Reiner Griess

unread,
Jan 9, 2004, 8:06:41 AM1/9/04
to
Hi there,

I'm using postfix on Mac OS X 10.3 (Panther) and wondering why I get
these errors, when sending a Mail from User 'guest' to 'USER':

Jan 8 14:50:52 localhost postfix/pickup[3662]: 9AAB8A98B2: uid=502
from=<guest>
Jan 8 14:50:52 localhost postfix/cleanup[3663]: 9AAB8A98B2:
message-id=<200401081350...@host.domain.org>
Jan 8 14:50:52 localhost postfix/qmgr[3665]: 9AAB8A98B2:
from=<gu...@domain.org>, size=316, nrcpt=1 (queue active)
Jan 8 14:50:52 localhost postfix/local[3667]: 9AAB8A98B2:
to=<US...@host.domain.org>, relay=local, delay=0, status=bounced (unknown
user: "user")
Jan 8 14:50:52 localhost postfix/cleanup[3663]: BE54BA98B4:
message-id=<200401081350...@host.domain.org>
Jan 8 14:50:52 localhost postfix/qmgr[3665]: BE54BA98B4: from=<>,
size=1883, nrcpt=1 (queue active)
Jan 8 14:50:52 localhost postfix/smtp[3689]: BE54BA98B4:
to=<gu...@domain.org>, relay=none, delay=0, status=bounced (Name service
error for name=domain.org type=A: Host found but no data record of
requested type)

(I've changed domain and user names for better reading)

Is it possible, that postfix handles mail adresses case sensitive?

Mails from 'USER' (capitals!) to 'guest" (lower case!) are no problem.
But Mails in the other direction will not get delivered (log above).

Do you have any idea what the problem might be?

Thanks in advance
reiner

PS
$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = netinfo:/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
mydomain = domain.org
mydomain_fallback = localhost
myhostname = host.domain.org
mynetworks = 192.168.10.0/28, 127.0.0.0/8
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 450

AK

unread,
Jan 9, 2004, 9:00:39 AM1/9/04
to


One thing I see is that the email in the first acse guest to USER is
being sent to US...@host.domain.org while in the reverse the email is
being sent to gu...@domain.org. Are is host.domain.org and domain.org
seen as local domains or are they seen as virtual domains? IF they are
configured as virtual, then us...@host.domain.org and us...@domain.org are
not the same. I am unfamiliar with postfix, so not sure if including
the host.domain.org on the mydomain line definition, will resolve the issue.

AK

Reiner Griess

unread,
Jan 9, 2004, 10:11:45 AM1/9/04
to
AK <aktr...@excite.com> wrote:

> Reiner Griess wrote:
> > Hi there,
> >
> > I'm using postfix on Mac OS X 10.3 (Panther) and wondering why I get
> > these errors, when sending a Mail from User 'guest' to 'USER':
> >
> > Jan 8 14:50:52 localhost postfix/pickup[3662]: 9AAB8A98B2: uid=502
> > from=<guest>
> > Jan 8 14:50:52 localhost postfix/cleanup[3663]: 9AAB8A98B2:
> > message-id=<200401081350...@host.domain.org>
> > Jan 8 14:50:52 localhost postfix/qmgr[3665]: 9AAB8A98B2:
> > from=<gu...@domain.org>, size=316, nrcpt=1 (queue active)
> > Jan 8 14:50:52 localhost postfix/local[3667]: 9AAB8A98B2:
> > to=<US...@host.domain.org>, relay=local, delay=0, status=bounced (unknown
> > user: "user")
> > Jan 8 14:50:52 localhost postfix/cleanup[3663]: BE54BA98B4:
> > message-id=<200401081350...@host.domain.org>
> > Jan 8 14:50:52 localhost postfix/qmgr[3665]: BE54BA98B4: from=<>,
> > size=1883, nrcpt=1 (queue active)
> > Jan 8 14:50:52 localhost postfix/smtp[3689]: BE54BA98B4:
> > to=<gu...@domain.org>, relay=none, delay=0, status=bounced (Name service
> > error for name=domain.org type=A: Host found but no data record of
> > requested type)

> > [...]


>
> One thing I see is that the email in the first acse guest to USER is
> being sent to US...@host.domain.org while in the reverse the email is
> being sent to gu...@domain.org. Are is host.domain.org and domain.org
> seen as local domains or are they seen as virtual domains? IF they are
> configured as virtual, then us...@host.domain.org and us...@domain.org are
> not the same. I am unfamiliar with postfix, so not sure if including
> the host.domain.org on the mydomain line definition, will resolve the issue.

Uh, I think the above example confuses a bit, because it does not show
what commands caused these errors. I don't think, that a misconfigured
mydomain is the problem. Would you please have a look at these lines...

Command (mail from USER to USER (mail to myself)):
USER$ mail US...@host.domain.org
Subject: mail to myself
Where is the problem?
.
EOT

Corresponding Log:
Jan 9 16:04:26 localhost postfix/pickup[4629]: CFF3EA99DB: uid=501
from=<USER>
Jan 9 16:04:26 localhost postfix/cleanup[4630]: CFF3EA99DB:
message-id=<200401091504...@host.domain.org>
Jan 9 16:04:26 localhost postfix/qmgr[4448]: CFF3EA99DB:
from=<US...@host.domain.org>, size=333, nrcpt=1 (queue active)
Jan 9 16:04:26 localhost postfix/local[4631]: CFF3EA99DB:


to=<US...@host.domain.org>, relay=local, delay=0, status=bounced (unknown
user: "user")

Jan 9 16:04:26 localhost postfix/cleanup[4630]: E6A70A99DD:
message-id=<200401091504...@host.domain.org>
Jan 9 16:04:26 localhost postfix/qmgr[4448]: E6A70A99DD: from=<>,
size=1908, nrcpt=1 (queue active)
Jan 9 16:04:27 localhost postfix/local[4631]: E6A70A99DD:
to=<US...@host.domain.org>, relay=local, delay=1, status=bounced (unknown
user: "user")


Command (mail to another user - no problem):
USER$ mail gu...@host.domain.org
Subject: mail to another user
fdsf
sdffsd
.
EOT

Corresponding Log:
Jan 9 16:07:30 localhost postfix/pickup[4646]: BAEA4A99E2: uid=501
from=<USER>
Jan 9 16:07:30 localhost postfix/cleanup[4647]: BAEA4A99E2:
message-id=<200401091507...@host.domain.org>
Jan 9 16:07:30 localhost postfix/qmgr[4448]: BAEA4A99E2:
from=<US...@host.domain.org>, size=339, nrcpt=1 (queue active)
Jan 9 16:07:30 localhost postfix/local[4648]: BAEA4A99E2:
to=<gu...@host.domain.org>, relay=local, delay=0, status=sent (mailbox)


So it is possible to send mail from USER to another user but not
possible to send mail to USER.

It would be really nice to get some more help. Thank!

reiner

AK

unread,
Jan 9, 2004, 3:26:39 PM1/9/04
to

Reiner,

It looks like gu...@host.domain.org is known in the postfix
configuration. us...@host.domain.org is not known, but your example for
us...@domain.org exists.

You need to make sure that emails for users on the host.domain.org and
domain.org are treated in the same way. That may resolve your issue. I
think I saw prior emails where revaliases and aliases were discussed.

Did you setup any kind of alias maps, virtual domain handling?

AK

Reiner Griess

unread,
Jan 10, 2004, 2:44:06 PM1/10/04
to
AK <aktr...@excite.com> wrote:

> Reiner Griess wrote:
> > AK <aktr...@excite.com> wrote:
> >
> >
[...]


>
> Reiner,
>
> It looks like gu...@host.domain.org is known in the postfix
> configuration. us...@host.domain.org is not known, but your example for
> us...@domain.org exists.
>
> You need to make sure that emails for users on the host.domain.org and
> domain.org are treated in the same way. That may resolve your issue. I
> think I saw prior emails where revaliases and aliases were discussed.
>
> Did you setup any kind of alias maps, virtual domain handling?

No, I have not setup alias maps. But the problem is solved!

The problem was indeed the case-sensitivity of postfix. Matthias Andree
desribed the problem in btn7hc$cn1$2...@merlin.emma.line.org (german
posting). He mentioned, that postfix expects recipients in lower case.
He said, the users have to be lower case, or mails will not get
delivered.

I changed the USER to user in the netinfo database (mac specific
database which handles user logins and such) and it worked!

Thanks anyway!!

reiner

Alan Connor

unread,
Jan 10, 2004, 3:28:34 PM1/10/04
to

Good of you to post the solution, reiner.

AC

0 new messages