I use zimbra which uses postfix as MTA. I have configured postfix
message rate limit to 20 mails per minute. As you may know any message
more this qouta that will be rejected by default.
but I need these messages to be deferred(delayed) in postfix queue,
instead of being rejected (it makes more sense to delay messages instead
of rejecting them).
This is my main.cf contents:


        mail_owner = postfix
        bounce_notice_recipient = postmaster
        content_filter = smtp-amavis:[127.0.0.1]:10024
        relayhost = 
        smtpd_sasl_authenticated_header = no
        broken_sasl_auth_clients = yes
        minimal_backoff_time = 300s
        sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
        always_add_missing_headers = yes
        smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
        smtpd_helo_required = yes
        virtual_transport = error
        sendmail_path = /opt/zimbra/postfix/sbin/sendmail
        smtpd_recipient_restrictions = check_policy_service
        inet:127.0.0.1:10031, reject_non_fqdn_recipient,
        permit_sasl_authenticated, permit_mynetworks,
        reject_unauth_destination, reject_unlisted_recipient,
        reject_invalid_hostname, reject_non_fqdn_hostname,
        reject_non_fqdn_sender, reject_rbl_client b.barracudacentral.org
        reject_rbl_client bl.spamcop.net reject_rbl_client
        cbl.abuseat.org reject_rbl_client combined.njabl.org
        reject_rbl_client dnsbl.njabl.org reject_rbl_client
        dnsbl.sorbs.net reject_rbl_client relays.mail-abuse.org
        reject_rbl_client zen.spamhaus.org, permit
        smtpd_reject_unlisted_recipient = no
        bounce_queue_lifetime = 5d
        local_header_rewrite_clients =
        permit_mynetworks,permit_sasl_authenticated
        smtpd_data_restrictions = reject_unauth_pipelining
        smtpd_tls_security_level = may
        smtpd_milters = 
        smtpd_sender_restrictions = 
        lmtp_host_lookup = native
        delay_warning_time = 0h
        virtual_mailbox_maps = proxy:ldap:/opt/zimbra/conf/ldap-vmm.cf
        queue_run_delay = 300s
        header_checks = 
        notify_classes = resource,software
        command_directory = /opt/zimbra/postfix/sbin
        smtpd_client_restrictions = reject_unauth_pipelining
        smtpd_tls_auth_only = yes
        virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf
        mailq_path = /opt/zimbra/postfix/sbin/mailq
        mynetworks = 127.0.0.0/8
        lmtp_connection_cache_time_limit = 4s
        transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf
        virtual_alias_domains = proxy:ldap:/opt/zimbra/conf/ldap-vad.cf
        smtpd_sasl_auth_enable = yes
        smtpd_tls_loglevel = 1
        maximal_backoff_time = 4000s
        virtual_mailbox_domains =
        proxy:ldap:/opt/zimbra/conf/ldap-vmd.cf
        daemon_directory = /opt/zimbra/postfix/libexec
        non_smtpd_milters = 
        setgid_group = postdrop
        alias_maps = hash:/etc/aliases
        mydestination = localhost
        myhostname = mail0.arissystem.com
        message_size_limit = 10240000
        recipient_delimiter = 
        in_flow_delay = 1s
        queue_directory = /opt/zimbra/data/postfix/spool
        propagate_unmatched_extensions = canonical
        manpage_directory = /opt/zimbra/postfix/man
        smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
        lmtp_connection_cache_destinations = 
        newaliases_path = /opt/zimbra/postfix/sbin/newaliases
        policy_time_limit = 3600
        smtpd_client_message_rate_limit = 20
        mailbox_size_limit = 0
        disable_dns_lookups = no
        smtpd_end_of_data_restrictions = check_policy_service
        inet:127.0.0.1:10031
        


I appretiate any help on the subject.

Reply via email to