OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix insists on local delivery

From: AlxFrag (alxfraggmail.com)
Date: Tue Jan 08 2008 - 01:28:18 CST


Hi,

I'm using a postfix smtp server hosting five virtual domains with no
problems. I'm not trying to set up a second server using a different
virtual domain.
The problem here is that when the mail is received by postfix, it is
handled by the local mechanism (not the virtual) and it is also stored
in a mailbox format.
 The desired is to use the virtual mechanism and deliver it to a Maildir.

If you have any ideas, please let me know.

postconf -n shows:
************************************************************
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
html_directory = no
local_recipient_maps = ldap:/etc/postfix/local_recipients.cf
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 20480000
mynetworks = 127.0.0.1, my_other_ips
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
recipient_delimiter = +
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/block_senders
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/alias_domains
virtual_gid_maps = ldap:/etc/postfix/virtual_gid.cf
virtual_mailbox_base = /
virtual_mailbox_domains = my_virtual_domain
virtual_mailbox_maps = ldap:/etc/postfix/virtual_mailbox_maps.cf
virtual_minimum_uid = 100
virtual_uid_maps = ldap:/etc/postfix/virtual_uid.cf
************************************************************
Postfix logs show:

Jan 8 09:15:43 posidon postfix/local[12481]: E2AE2108A6A:
to=<testmy_virtual_domain>, relay=local, delay=0.05, delays=0.05/0/0/0,
dsn=2.0.0, status=sent (delivered to mailbox)