Dear List,

I am trying to configure postfix so that it works with virtual users and
serves for two domains. The users are having separate name spaces and the
details are kept in LDAP. The domains are rpg.in [defined in mydestination]
and cpl.in [defined in virtual_mailbox_domains]. The mail delivery for
rpg.in is having no problem. If I send a mail to cpl.in user then the
maillog file reports that the mail has been delivered to maildir but the
specific folder is not having the mail. The mail queue is also empty.

The command  postmap -q bo...@cpl.in ldap:/etc/postfix/maps.ldap   reports

/home/vmail/cpl.in/bonhi/Maildir/

The log file with verbosity for virtual increased is enclosed as it is a bit
long.

The postconf -n reports

alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_recipient_limit = 200
default_privs = vmail
default_process_limit = 105
disable_vrfy_command = yes
fallback_transport = virtual
home_mailbox = Maildir/
inet_interfaces = all
ipc_timeout = 5000s
local_transport = maildrop
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 25728640
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
rpgnet.com
mydomain = rpg.in
myhostname = mail.rpg.in
mynetworks = 127.0.0.0/8, 10.50.0.0/16
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
rbl_reply_maps = hash:/etc/postfix/imss_rbl_reply
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = check_sender_access
hash:/etc/postfix/rbl_sender_exception,reject_rbl_client
ASNQWAVAPX7S683TZDZFBFUVXP56QLC.r.mail-abuse.com,reject_rbl_client
ASNQWAVAPX7S683TZDZFBFUVXP56QLC.q.mail-abuse.com
smtpd_helo_required = yes
smtpd_recipient_limit = 250
smtpd_recipient_restrictions = permit_mynetworks,
permit_auth_destination,         permit_sasl_authenticated,         reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks,
reject_unknown_sender_domain,        permit_sasl_authenticated
smtpd_tls_auth_only = no
soft_bounce = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = ldap:forward
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = cpl.in
virtual_mailbox_maps = ldap:/etc/postfix/maps.ldap
virtual_minimum_uid = 5000
virtual_uid_maps = static:5000


 Can anybody help please? I am unable to find any clue to it.

With regards,

Goutam

Attachment: maillog
Description: Binary data

Reply via email to