So I have given this a try and can’t seem to get things working.
Here is what I have done.
I edited :
[root@mail conf]#pwd
/opt/zimbra/postfix/conf
[root@mail conf]# ls -ltr transport*
-rw-r--r-- 1 root postfix 12448 Oct 27 01:58 transport
[root@mail conf]# tail transport
#
# AUTHOR(S)
# Wietse Venema
# IBM T.J. Watson Research
# P.O. Box 704
# Yorktown Heights, NY 10598, USA
#
# TRANSPORT(5)
mydomain.net :[outbounds7.obsmtp.com]
.mydomain.net :[outbounds7.obsmtp.com]
[zimbra@mail conf]$ postmap hash:/opt/zimbra/postfix/conf/transport
////now I have////
[zimbra@mail conf]$ ls -ltr transport*
-rw-r--r-- 1 root postfix 12448 Oct 27 01:58 transport
-rw-r--r-- 1 zimbra zimbra 12288 Oct 27 01:59 transport.db
////then I ran///
zmlocalconfig -e postfix_transport_maps=ldap:/opt/zimbra/conf/ldap-transport.cf,hash:/opt/zimbra/postfix/conf/transport
////then zmcontrol stop/start and take a look at the main.cf//////
[zimbra@mail conf]$ more main.cf
sender_canonical_maps = ldap:/opt/zimbra/conf/ldap-scm.cf
virtual_alias_domains = ldap:/opt/zimbra/conf/ldap-vad.cf
recipient_delimiter =
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
smtpd_tls_auth_only = no
myhostname = mail.bitstechnology.net
virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
mydestination = localhost
mailbox_size_limit = 0
smtpd_client_restrictions = reject_unauth_pipelining
virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf
transport_maps = ldap:/opt/zimbra/conf/ldap transport.cf,hash:/opt/zimbra/postfix/conf/transport <---------
As far as I can tell everything looks to be in the right place... but emails sent from mydomain are not being relayed to outbounds7.obsmtp.com. It’s as if the rule is not in play. Keep in mind that mydomain is a virtual domain on the zimbra server. I am wondering if this is the problem?
Last edited by mikec; 10-27-2008 at 08:48 AM..
Reason: change
|