Results 1 to 3 of 3

Thread: main.cf files b0rked after upgrades

  1. #1
    Mark Daniel's Avatar
    Mark Daniel is offline Senior Member
    Join Date
    May 2007
    Location
    Ferndale, MI
    Posts
    54
    Rep Power
    7

    Default main.cf files b0rked after upgrades

    For some reason, after 2 of our last few upgrades (staring with a back-pedal from 5.0.2 NE to 5.0.2 OSE), our postfix's main.cf file has become corrupt, resulting in users not being able to send mail. Every other feature in Zimbra operates normally, but *sending* alone is broken. This happened originally, as stated before, while backdating from 5.0.2 NE to 5.0.2 OSE. Upgrading to 5.0.3 OSE went smoothly, but then upgrading from that to 5.0.4 OSE, a similar thing happened. Here are the files:

    Before 5.0.2 NE -> 5.0.2 OSE
    Code:
    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 = courier.mydomain.office
    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
    sendmail_path = /opt/zimbra/postfix-2.4.3.3z/sbin/sendmail
    message_size_limit = 102400000
    broken_sasl_auth_clients = yes
    alias_maps = hash:/etc/aliases
    manpage_directory = /opt/zimbra/postfix-2.4.3.3z/man
    smtpd_helo_required = yes
    daemon_directory = /opt/zimbra/postfix-2.4.3.3z/libexec
    virtual_transport = error
    mynetworks = 127.0.0.0/8 xxx.xxx.1.0/24 xxx.xxx.130.0/24 xxx.xxx.203.0/24
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit
    smtpd_tls_loglevel = 1
    relayhost =
    disable_dns_lookups = no
    content_filter = smtp-amavis:[127.0.0.1]:10024
    virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    version = 2.4.3.3z
    mailq_path = /opt/zimbra/postfix-2.4.3.3z/sbin/mailq
    header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    smtpd_use_tls = yes
    queue_directory = /opt/zimbra/postfix-2.4.3.3z/spool
    newaliases_path = /opt/zimbra/postfix-2.4.3.3z/sbin/newaliases
    smtpd_reject_unlisted_recipient = no
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    command_directory = /opt/zimbra/postfix-2.4.3.3z/sbin
    smtpd_sasl_auth_enable = yes
    After 5.0.2 NE -> 5.0.2 OSE
    Code:
    /zimbra/public/launchNewWindow.jsp?skin=bones&full=1" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
    xxx.xxx.xxx.xxx -  -  [08/Jan/2008:00:04:59 -0500] "GET /service/home/~/?auth=co&id=22002&part=2.3 HTTP/1.1" 200 780424 "http://mail.mydomain.com/zimbra/public/launchNewWindow.jsp?skin=bones&full=1" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
    yyy.yyy.0.239 -  -  [08/Jan/2008:00:05:01 -0500] "GET /service/home/~/?auth=co&id=22002&part=2.4 HTTP/1.1" 200 941273 "http://mail.mydomain.com/zimbra/public/launchNewWindow.jsp?skin=bones&full=1" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
    yyy.yyy.0.239 -  -  [08/Jan/2008:00:05:03 -0500] "GET /service/home/~/?auth=co&id=22002&part=2.5 HTTP/1.1" 200 851534 "http://mail.mydomain.com/zimbra/public/launchNewWindow.jsp?skin=bones&full=1" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
    xxx.xxx.1.123 -  -  [08/Jan/2008:00:05:35 -0500] "POST /service/soap HTTP/1.1" 200 272 "-" "-"
    yyy.yyy.233.240 -  -  [08/Jan/2008:00:05:42 -0500] "POST /service/soap HTTP/1.1" 200 272 "-" "-"
    yyy.yyy.233.240 -  -  [08/Jan/2008:00:06:42 -0500] "POST /service/soap HTTP/1.1" 200 272 "-" "-"
    xxx.xxx.1.123 -  -  [08/Jan/2008:00:06:59 -0500] "POST /service/soap/NoOpRequest HTTP/1.1" 200 194 "http://mail.mydomain.com/zimbra/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
    yyy.yyy.0.239 -  -  [08/Jan/2008:00:07:04 -0500] "POST /service/soap/NoOpRequest HTTP/1.1" 200 338 "http://mail.mydomain.com/zimbra/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11"
    68.myhostname = courier.mydomain.office
    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
    sendmail_path = /opt/zimbra/postfix-2.4.3.3z/sbin/sendmail
    message_size_limit = 102400000
    broken_sasl_auth_clients = yes
    alias_maps = hash:/etc/aliases
    manpage_directory = /opt/zimbra/postfix-2.4.3.3z/man
    smtpd_helo_required = yes
    daemon_directory = /opt/zimbra/postfix-2.4.3.3z/libexec
    virtual_transport = error
    mynetworks = 127.0.0.0/8 xxx.xxx.1.0/24 xxx.xxx.130.0/24 xxx.xxx.203.0/24
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit
    smtpd_tls_loglevel = 1
    relayhost =
    disable_dns_lookups = no
    virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    version = 2.4.3.3z
    mailq_path = /opt/zimbra/postfix-2.4.3.3z/sbin/mailq
    header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    smtpd_use_tls = yes
    queue_directory = /opt/zimbra/postfix-2.4.3.3z/spool
    newaliases_path = /opt/zimbra/postfix-2.4.3.3z/sbin/newaliases
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_reject_unlisted_recipient = no
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    command_directory = /opt/zimbra/postfix-2.4.3.3z/sbin
    smtpd_sasl_auth_enable = yes
    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 = courier.mydomain.office
    content_filter = smtp-amavis:[127.0.0.1]:10024
    Truly odd! In this case, it appears that the upgrade process actually injected the contents of a log file into the main.cf file.

    Before 5.0.3 OSE -> 5.0.4 OSE

    Code:
    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 = courier.mydomain.office
    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
    sendmail_path = /opt/zimbra/postfix-2.4.3.4z/sbin/sendmail
    message_size_limit = 524288000
    broken_sasl_auth_clients = yes
    alias_maps = hash:/etc/aliases
    manpage_directory = /opt/zimbra/postfix-2.4.3.4z/man
    smtpd_helo_required = yes
    daemon_directory = /opt/zimbra/postfix-2.4.3.4z/libexec
    virtual_transport = error
    mynetworks = 127.0.0.0/8 xxx.xxx.1.0/24 xxx.xxx.130.0/24 xxx.xxx.203.0/24
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit
    smtpd_tls_loglevel = 1
    relayhost =
    disable_dns_lookups = no
    content_filter = smtp-amavis:[127.0.0.1]:10024
    virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    version = 2.4.3.4z
    mailq_path = /opt/zimbra/postfix-2.4.3.4z/sbin/mailq
    header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    smtpd_use_tls = yes
    queue_directory = /opt/zimbra/data/postfix/spool
    newaliases_path = /opt/zimbra/postfix-2.4.3.4z/sbin/newaliases
    smtpd_reject_unlisted_recipient = no
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    command_directory = /opt/zimbra/postfix-2.4.3.4z/sbin
    smtpd_sasl_auth_enable = yes
    setgid_group = postdrop
    in_flow_delay = 1s
    mail_owner = postfix
    After 5.0.3 OSE -> 5.0.4 OSE
    Code:
    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 = courier.mydomain.office
    virtual_mailbox_domains = ldap:/opt/zimbra/conf/ldap-vmd.cf
    mydestination = localhost
    mailbox_size_limit = 0
    setgid_group = postdrop
    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
    sendmail_path = /opt/zimbra/postfix/sbin/sendmail
    message_size_limit = 524288000
    broken_sasl_auth_clients = yes
    alias_maps = hash:/etc/aliases
    manpage_directory = /opt/zimbra/postfix/man
    smtpd_helo_required = yes
    in_flow_delay = 1s
    daemon_directory = /opt/zimbra/postfix/libexec
    virtual_transport = error
    mynetworks = 127.0.0.0/8 xxx.xxx.1.0/24 xxx.xxx.130.0/24 xxx.xxx.203.0/24
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, permit
    smtpd_tls_loglevel = 1
    relayhost =
    disable_dns_lookups = no
    content_filter = smtp-amavis:[127.0.0.1]:10024
    virtual_mailbox_maps = ldap:/opt/zimbra/conf/ldap-vmm.cf
    mail_owner = postfix
    version = 2.4.7.5z
    mailq_path = /opt/zimbra/postfix/sbin/mailq
    header_checks = pcre:/opt/zimbra/conf/postfix_header_checks
    smtpd_use_tls = yes
    queue_directory = /opt/zimbra/data/postfix/spool
    newaliases_path = /opt/zimbra/postfix/sbin/newaliases
    smtpd_reject_unlisted_recipient = no
    smtpd_data_restrictions = reject_unauth_pipelining
    local_header_rewrite_clients = permit_mynetworks,permit_sasl_authenticated
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    command_directory = /opt/zimbra/postfix/sbin
    smtpd_sasl_auth_enable = yes
    Replacing the "upgraded" main.cf from 5.0.4 with the pre-upgraded version from 5.0.3 fixed the problem, but I'm still scratching my head trying to figure out why this is happening.

    Ideas?
    mark daniel | actc
    zcs 6 ose | mac pro | mac os x server 10.4.11

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    What error messages does your Log Files - Zimbra :: Wiki report ?

  3. #3
    Mark Daniel's Avatar
    Mark Daniel is offline Senior Member
    Join Date
    May 2007
    Location
    Ferndale, MI
    Posts
    54
    Rep Power
    7

    Default

    Quote Originally Posted by uxbod View Post
    What error messages does your Log Files - Zimbra :: Wiki report ?
    The only file I can imagine having any data on this is the zmsetup.log, so here she is:
    Attached Files Attached Files
    mark daniel | actc
    zcs 6 ose | mac pro | mac os x server 10.4.11

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  2. [SOLVED] Error Installing Zimbra on RHEL 5
    By harris7139 in forum Installation
    Replies: 10
    Last Post: 09-25-2007, 11:39 AM
  3. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  4. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  5. Replies: 16
    Last Post: 09-07-2006, 06:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •