postfix, cyrus-imapd and ldap limitation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm gonna remove the user name which is actually 1 character shorter
than 'username' ...

I have a client with a somewhat long domain name... myhomelenders.net

I am using LDAP and the primary mail address is in an ldap attribute
called 'mail' and that is working fine.

I also use an ldap attribute called 'mailLocalAddress' for storing
aliases and those have been working fine until now.

using raw ldapsearch, it works fine when I...

ldapsearch -x '(mailLocalAddress=username@xxxxxxxxxxxxxxxxx)'

but apparently the chop comes after 23 characters because when I send
mail to the username@xxxxxxxxxxxxxxxxxxxx

I get an email rejection for username@xxxxxxxxxxxxxxx
eporting-MTA: dns; srv1.myhomelenders.net
X-Postfix-Queue-ID: 4C7F8F8CD0
X-Postfix-Sender: rfc822; root@xxxxxxxxxxxxxxxxx
Arrival-Date: Thu, 27 Apr 2006 18:25:02 -0700 (MST)

Final-Recipient: rfc822; username@xxxxxxxxxxxxxxx
Original-Recipient: rfc822; username@xxxxxxxxxxxxxxxxx
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; [myhomelenders.n]: Name or service not known

and I get the email in 'user.et' (the balance of the name that remained
from above) which was delivered by cyrus.

So it seems as though the problem comes from postfix.

# grep filter /etc/postfix/main.cf
virtualAliases_query_filter = (|(mail=%s)(mailLocalAddress=%s))

Anybody with suggestions?

Craig



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux