OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Problem with Postfix and LDAP...

From: mouss (moussml.netoyen.net)
Date: Sun Aug 15 2010 - 12:51:38 CDT


  Le 15/08/2010 19:19, Christopher Kurtis Koeber a écrit :
> Thank you for your help. Here is:

you're welcome.
Please do not top post: this is not much appreciated in this list.
instead, put your answers after the text your reply to.

> [snip]
> mydestination = $virtual_mailbox_domains

do not do this. a domain must belong to a single class. you can set

mydestination =

or

mydestination = localhost

when this is fixed, you will no more see the following error in your logs:
".... warning: do not list domain students.wesleyseminary.edu in BOTH
mydestination and virtual_mailbox_domains"

> mydomain = wts-zimbra.wesleysem.edu
> myhostname = wts-zimbra.wesleysem.edu
> [snip]
> virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf
> virtual_gid_maps = static:$studentemail-gid
> virtual_mailbox_base = /home/studentemail/
> virtual_mailbox_domains = /etc/postfix/virtual_domains.cf

what's in virtual_domains.cf? does this file contain the list of virtual
mailbox domains or does it contain ldap specs/query? If the latter, you
need to tell postfix the map type by adding "ldap:".

>> - full log lines. The error you show is incomplete at best (not to say
> useless...).
>
> This is attached.

verbose logs are hard to read. only send verbose logs when explicitely
asked to do so.
anyway, I don't see the error you cited in your original post. I only see
     ... mail for wts-zimbra.wesleysem.edu loops back to myself

which means wts-zimbra.wesleysem.edu is not in your virtual_mailbox_maps.

> I also changed the smtp_banner variable as requested.

good.