Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP vitual lists

Status
Not open for further replies.

woodenboat

Programmer
Joined
Feb 15, 2006
Messages
1
Location
GB
I have postfix working well with ldap. The only problem I have is that it can't deliver mail using virtual to multiple maildrops. I am sure this is a configuration problem on my part. For example if I use a group email address such as support@example.com that maps to say 2 maildrops of maildrop=uname1/ and maildrop=uname2/. I can check the result using <postmap -q support.exemple.com ldap:/etc/postfix/ldap_aliases> The result would be something like the following: uname1/,uname2/

That looks right two seperate maildrops sperated by a comma. Except there are no white spaces after the comma and postfix when run places mail in the <new> subdirectory of uname1 and then creates a new subdirectory in uname1 called... you guessed it uname2. So the second mail ends up in uname1/uname2/new/<message-id> which is not the desired result.

I think it would work if I can get it to append a white space chacater after the comma. Oh by the way if I trick it to have a space after the '/ ' which says it is a maildir/ mailbox it still creates it as a subdirectory of the first mail illegally.

Any ideas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top