View Single Post
  #8 (permalink)  
Old 07-01-2009, 01:40 PM
gagga gagga is offline
Intermediate Member
 
Posts: 15
Default

Hi uxbod,
I tried a setup with transport tables but Zimbra still delivers the internal messages directly.

Here is my setup:
  • Zimbra is handling domain mydomain.com
  • All Emails (even internal ones) need to be sent via the server authmailonline.kundenserver.de
  • The server authmailonline.kundenserver.de needs SMTP authentication which has already been configured properly
  • I have created a file /opt/zimbra/postfix/conf/1und1transportfile with content
    Code:
    mydomain.com :[authmailonline.kundenserver.de]
  • I have created the hash map by doing postmap /opt/zimbra/postfix/conf/1und1transportfile
  • The transport file and the hash map are owned by rootostfix
  • zmlocalconfig |grep -i postfix_transport_maps gives me
    Code:
    postfix_transport_maps = hash:/opt/zimbra/postfix/conf/1und1transportfile,proxy:ldap:/opt/zimbra/conf/ldap-transport.cf

As I can see in /varlog/mail.log Zimbra is still deliverting directly:
Code:
Jul  1 21:20:29 webmail postfix/postfix-script[21224]: refreshing the Postfix mail system
Jul  1 21:20:29 webmail postfix/master[13873]: reload configuration /opt/zimbra/postfix-2.4.7.5z/conf
Jul  1 21:20:46 webmail postfix/smtpd[21245]: connect from webmail.mydomain.com[192.168.2.2]
Jul  1 21:20:46 webmail postfix/smtpd[21245]: DBD4D390001: client=webmail.mydomain.com[192.168.2.2]
Jul  1 21:20:46 webmail postfix/cleanup[21249]: DBD4D390001: message-id=<22629283.61246476046777.JavaMail.root@webmail.mydomain.com>
Jul  1 21:20:46 webmail postfix/qmgr[21230]: DBD4D390001: from=<user1@mydomain.com>, size=672, nrcpt=1 (queue active)
Jul  1 21:20:46 webmail postfix/smtpd[21245]: disconnect from webmail.mydomain.com[192.168.2.2]
Jul  1 21:20:51 webmail postfix/smtpd[21253]: connect from localhost[127.0.0.1]
Jul  1 21:20:51 webmail postfix/smtpd[21253]: 32400390002: client=localhost[127.0.0.1]
Jul  1 21:20:51 webmail postfix/cleanup[21249]: 32400390002: message-id=<22629283.61246476046777.JavaMail.root@webmail.mydomain.com>
Jul  1 21:20:51 webmail postfix/qmgr[21230]: 32400390002: from=<user1@mydomain.com>, size=1308, nrcpt=1 (queue active)
Jul  1 21:20:51 webmail postfix/smtpd[21253]: disconnect from localhost[127.0.0.1]
Jul  1 21:20:51 webmail postfix/smtp[21250]: DBD4D390001: to=<user2@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.4, delays=0.03/0.02/0.01/4.3, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32400390002)
Jul  1 21:20:51 webmail postfix/qmgr[21230]: DBD4D390001: removed
Jul  1 21:20:51 webmail postfix/lmtp[21254]: 32400390002: to=<user2@mydomain.com>, relay=webmail.mydomain.com[192.168.2.2]:7025, delay=0.11, delays=0.02/0.03/0/0.06, dsn=2.1.5, status=sent (250 2.1.5 OK)
Jul  1 21:20:51 webmail postfix/qmgr[21230]: 32400390002: removed
I have read the postfix documentation and also tried these as the contents of /opt/zimbra/postfix/conf/1und1transportfile:
  • mydomain.com smtp:[authmailonline.kundenserver.de]
  • mydomain.com relay:[authmailonline.kundenserver.de]
  • * :[authmailonline.kundenserver.de]

None of them works. It seems that Zimbra is not actually prepending the transport map file. Do you have any idea? Thanks!
Reply With Quote