On Fri, May 08, 2009 at 06:55:03PM +0530, Hemanth Gopal wrote:
> Hello friends
>
> I am facing issue with postfix -ldap implementation that even if i can
> search through ldap search given in the ldap login credentials
> provided in vaccounts.cf valias.cf vdomain.cf. Postfix still
> rejecting mails saying
>
>
> May 8 15:22:22 hydra postfix/smtpd[26744]: NOQUEUE: reject: RCPT from
> adsl147-187.lsf.forthnet.gr[79.103.78.187]: 550 5.1.1
> <ven...@***.com>: Recipient address rejected: User unknown in local
> recipient table;
>
> I am pasting my main.cf contents for your reference
>
>
> smtpd_helo_required = yes
> strict_rfc821_envelopes = yes
> smtpd_recipient_restrictions =
> permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
> smtpd_sasl_auth_enable = yes
> virtual_mailbox_base = /var/mail/vmail
> virtual_mailbox_limit = 1073741824
> virtual_mailbox_domains = ldap:/etc/postfix/vdomain.cf
> virtual_mailbox_maps = ldap:/etc/postfix/vaccounts.cf
> virtual_alias_maps = ldap:/etc/postfix/valias.cf
> virtual_uid_maps = static:1001
> virtual_gid_maps = static:1001
> #relayhost = 0.0.0.0
You have LDAP configured for virtual domains. The above user unknown error
message is for a local domain.
Local domains are listed in "mydestination", virtual domains in
"virtual_mailbox_domains", check whether those lists are correct.
This is documented in ADDRESS_CLASS_README.
PS: you should post complete `postconf -n` output rather than just snippets
from your main.cf file.
Geert
--
Geert Hendrickx -=- [email protected] -=- PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!