Results 1 to 1 of 1

Thread: Can anyone supply a main.cf example from 5.0.13 GA?

  1. #1
    mek1 is offline Loyal Member
    Join Date
    Jul 2008
    Posts
    78
    Rep Power
    6

    Exclamation Can anyone supply a main.cf example from 5.0.13 GA?

    Hi,

    I was trying implement the ability to block users from sending mail to a distribution list RestrictPostfixRecipients - Zimbra :: Wiki. Somewhere along the way it impacted the /opt/zimbra/postfix/conf/main.cf file.

    Can anyone supply the working contents of their main.cf file as an example?

    Here's the error when running postfix reload:
    [zimbra@mx0 conf]$ postfix reload
    postmap: fatal: /opt/zimbra/postfix-2.4.7.5z/conf/main.cf, line 30: missing '=' after attribute name: "check_client_access hash:/opt/zimbra/conf/postfix_rbl_override, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client psbl.surriel.com, reject_rbl_client l1.apews.org, reject_rbl_client b.barracudacentral.org, reject_rbl_client dnsbl.dronebl.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spameatingmonkey.net, permit check_client_access hash:/opt/zimbra/conf/postfix_rbl_override, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client psbl.surriel.com, reject_rbl_client l1.apews.org, reject_rbl_client b.barracudacentral.org, reject_rbl_client dnsbl.dronebl.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spameatingmonkey.net, pt"

    At this stage I am trying to back out of this but the postfix reload is the part I am stuck in.

    sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
    virtual_alias_domains = proxy:ldap:/opt/zimbra/conf/ldap-vad.cf
    lmtp_connection_cache_time_limit = 4s
    recipient_delimiter =
    smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
    smtpd_tls_auth_only = yes
    myhostname = mx0.kencook.com
    virtual_mailbox_domains = proxy:ldap:/opt/zimbra/conf/ldap-vmd.cf
    mydestination = localhost
    mailbox_size_limit = 0
    setgid_group = postdrop
    smtpd_client_restrictions = reject_unauth_pipelining
    queue_run_delay = 300s
    minimal_backoff_time = 300s
    virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf
    transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf
    message_size_limit = 20971520
    sendmail_path = /opt/zimbra/postfix/sbin/sendmail
    broken_sasl_auth_clients = yes
    lmtp_connection_cache_destinations =
    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
    maximal_backoff_time = 4000s
    virtual_transport = error
    mynetworks = 127.0.0.0/8 192.168.1.0/24 192.168.2.0/24 192.168.4.0/24 192.168.5.0/24 192.168.254.0/24 192.168.60.0/24
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, check_client_access hash:/opt/zimbra/conf/postfix_rbl_override, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client psbl.surriel.com, reject_rbl_client l1.apews.org, reject_rbl_client b.barracudacentral.org, reject_rbl_client dnsbl.dronebl.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spameatingmonkey.net, permit
    check_client_access hash:/opt/zimbra/conf/postfix_rbl_override, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client psbl.surriel.com, reject_rbl_client l1.apews.org, reject_rbl_client b.barracudacentral.org, reject_rbl_client dnsbl.dronebl.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spameatingmonkey.net, permit check_client_access hash:/opt/zimbra/conf/postfix_rbl_override, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client psbl.surriel.com, reject_rbl_client l1.apews.org, reject_rbl_client b.barracudacentral.org, reject_rbl_client dnsbl.dronebl.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client bl.spameatingmonkey.net, pt
    lmtp_host_lookup = dns
    smtpd_tls_loglevel = 1
    relayhost =
    disable_dns_lookups = no
    mail_owner = postfix
    virtual_mailbox_maps = proxy:ldap:/opt/zimbra/conf/ldap-vmm.cf
    content_filter = smtp-amavis:[127.0.0.1]:10024
    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 = yes
    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
    policy_time_limit = 3600
    smtpd_soft_error_limit = 2
    smtpd_hard_error_limit = 3
    Last edited by mek1; 09-06-2011 at 09:06 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zimbra 5.0.13 on centos 6
    By buedsma in forum Installation
    Replies: 2
    Last Post: 08-04-2011, 09:16 AM
  2. Stripping headers and the main.cf
    By jwh99 in forum Administrators
    Replies: 0
    Last Post: 06-14-2011, 06:52 AM
  3. Replies: 4
    Last Post: 10-19-2006, 08:58 PM
  4. greylisting / trying to edit main.cf
    By vitrum in forum Administrators
    Replies: 2
    Last Post: 01-15-2006, 10:00 PM

Posting Permissions

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