Thanks Geert

Jamm+postfix implementation, I can search through mailboxes as per
ldap details in the vdomain.cf, vaccounts.cf

r...@hydra:/etc/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
delay_warning_time = 4h
inet_interfaces = all
mailbox_size_limit = 1073741824
mydestination = hydra.domain.com, domain.com, localhost
myhostname = hydra.domain.com
mynetworks = 127.0.0.0/8, 192.168.200.0/24
myorigin = /etc/mailname
recipient_delimiter = +
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname
smtpd_helo_required = yes
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
virtual_alias_maps = ldap:/etc/postfix/valias.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/mail/vmail
virtual_mailbox_domains = ldap:/etc/postfix/vdomain.cf
virtual_mailbox_limit = 1073741824
virtual_mailbox_maps = ldap:/etc/postfix/vaccounts.cf
virtual_uid_maps = static:1001


Regards,
Hemanth

On Fri, May 8, 2009 at 7:03 PM, Geert Hendrickx <g...@telenet.be> wrote:
> 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  -=-  g...@telenet.be  -=-  PGP: 0xC4BB9E9F
> This e-mail was composed using 100% recycled spam messages!
>

Reply via email to