[Mailman-Users] Mailman needs 20 seconds to complete per email

Karsten Becker karsten.becker at ecologic.eu
Mon Dec 3 10:27:53 CET 2012


On 12/03/2012 07:16 AM, Stefan Foerster wrote:
> 1. postconf -n output, as well as master.cf excerpts of the smtpd
>    services you access
> 2. postfix logs from a posting that get's delayed, if possible,
>    delivery "from outside" to mailman and from mailman back to
>    postfix
> 3. the corresponding mailman log

Here we go, find the files attached.

Just inform me if something is missing...

If Ralf is wondering that he thinks he knows that kind of setup - the
whole mailing stuff got set up using his book...  :-)

Regards
Karsten
-------------- next part --------------
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
  -o smtpd_tls_auth_only=yes
  -o cleanup_service_name=pre-cleanup
submission inet n       -       -       -       -       smtpd
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING
  -o cleanup_service_name=pre-cleanup
  -o content_filter=smtp-amavis:[127.0.0.1]:10027
smtps     inet  n       -       -       -       -       smtpd
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING
  -o cleanup_service_name=pre-cleanup
  -o content_filter=smtp-amavis:[127.0.0.1]:10027
#628       inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
  -o content_filter=
  -o receive_override_options=no_header_body_checks
  -o cleanup_service_name=pre-cleanup
pre-cleanup unix    n       -       n       -       0       cleanup
  -o virtual_alias_maps=
cleanup   unix  n       -       -       -       0       cleanup
  -o mime_header_checks=
  -o nested_header_checks=
  -o body_checks=
  -o header_checks=
#  -o always_bcc=archive at foo.de
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
	-o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
#local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
#  mailbox_transport = lmtp:inet:localhost
#  virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix	-	n	n	-	2	pipe
  flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
  flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/local/dovecot/libexec/dovecot/dovecot-lda -d ${recipient}
vacation  unix  -       n       n       -       -       pipe
  flags=Rq user=vacation argv=/srv/vacation/vacation.pl -f ${sender} ${recipient}
policy-spf unix -       n       n       -       -       spawn
     user=nobody argv=/usr/sbin/postfix-policyd-spf-perl
# Everything to smtp-amavis goes to Amavis
smtp-amavis     unix    -       -       -       -       15       smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes
        -o disable_dns_lookups=yes
        -o max_use=15
# This is the re-injection port Amavis -> Postfix
127.0.0.1:10025 inet    n       -       -       -       -       smtpd
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_delay_reject=no
        -o smtpd_client_restrictions=permit_mynetworks,reject
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o smtpd_data_restrictions=reject_unauth_pipelining
        -o smtpd_end_of_data_restrictions=
        -o mynetworks=127.0.0.0/8
        -o smtpd_error_sleep_time=0
        -o smtpd_soft_error_limit=1001
        -o smtpd_hard_error_limit=1000
        -o smtpd_client_connection_count_limit=0
        -o smtpd_client_connection_rate_limit=0
        -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
# This is the injection port Mailman -> Postfix
127.0.0.1:10030 inet    n       -       -       -       -       smtpd
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
	-o disable_dns_lookups=yes
        -o smtpd_restriction_classes=
        -o smtpd_delay_reject=no
        -o smtpd_client_restrictions=permit_mynetworks,reject
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o smtpd_data_restrictions=reject_unauth_pipelining
        -o smtpd_end_of_data_restrictions=
        -o mynetworks=127.0.0.0/8
        -o smtpd_error_sleep_time=0
        -o smtpd_soft_error_limit=1001
        -o smtpd_hard_error_limit=1000
        -o smtpd_client_connection_count_limit=0
        -o smtpd_client_connection_rate_limit=0
        -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
-------------- next part --------------
Dec 03 09:53:02 2012 (1831) post to karsten-test from karsten.becker at foo.de, size=2344, message-id=<50BC6857.6000204 at foo.de>, success
-------------- next part --------------
address_verify_map = btree:/srv/postfix/lib/verified_senders
address_verify_sender = postmaster at foo.de
anvil_rate_time_unit = 1h
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
data_directory = /srv/postfix/lib
default_destination_concurrency_limit = 50
default_destination_recipient_limit = 50
default_process_limit = 200
delay_warning_time = 2h
disable_vrfy_command = yes
header_checks = pcre:/etc/postfix/header_checks
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps = 
local_transport = error:Local mail delivery is disabled!
mail_spool_directory = /srv/postfix/spool
mailbox_size_limit = 0
maximal_queue_lifetime = 7d
message_size_limit = 20971520
mydestination = 
myhostname = mail01.foodmz.local
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 80.149.XXX.YYY/28 85.214.XXX.YYY/32 89.238.XXX.YYY/32
myorigin = $myhostname
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
qmgr_message_active_limit = 40000
qmgr_message_recipient_limit = 40000
readme_directory = no
recipient_canonical_maps = pcre:/etc/postfix/recipient_canonical
recipient_delimiter = +
relayhost = [mx01.foo.de]
sender_canonical_maps = pcre:/etc/postfix/sender_canonical
show_user_unknown_table_name = no
smtp_destination_concurrency_limit = 100
smtp_fallback_relay = [mx02.foo.de]
smtp_helo_timeout = 60s
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP Ecologic Institute ready
smtpd_client_connection_count_limit = 100
smtpd_client_connection_rate_limit = 3600
smtpd_client_message_rate_limit = 3600
smtpd_client_restrictions = check_client_access hash:/etc/postfix/amavis_bypass_mx        check_client_access cidr:/etc/postfix/amavis_bypass_lan
smtpd_data_restrictions = permit_mynetworks	reject_multi_recipient_bounce        reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_non_fqdn_recipient	reject_non_fqdn_sender        check_sender_access hash:/etc/postfix/internal_domains        check_sender_access hash:/etc/postfix/tine20_calendar        check_recipient_access hash:/etc/postfix/roleaccount_exceptions        reject_unknown_recipient_domain        reject_unknown_sender_domain        reject_authenticated_sender_login_mismatch        permit_sasl_authenticated        permit_mynetworks        reject_unauth_destination        check_sender_access hash:/etc/postfix/mailerdaemon_exception        check_sender_access hash:/etc/postfix/sender_whitelist	check_client_access cidr:/etc/postfix/client_whitelist        check_sender_mx_access cidr:/etc/postfix/bogus_mx        check_helo_access pcre:/etc/postfix/helo_checks        reject_unauth_pipelining        reject_non_fqdn_helo_hostname        reject_invalid_helo_hostname        reject_unknown_client_hostname        check_policy_service inet:127.0.0.1:12525        check_policy_service unix:private/policy-spf        check_policy_service inet:127.0.0.1:10023        reject_unverified_sender        permit
smtpd_restriction_classes = has_internal_ip_as_sender	tine20_calendar_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth_dovecot
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql_sender_login_maps.cf
smtpd_tls_cert_file = /etc/postfix/ssl/mail01.foodmz.local.crt
smtpd_tls_key_file = /etc/postfix/ssl/mail01.foodmz.local.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport
unknown_address_reject_code = 554
unknown_client_reject_code = 554
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql_virtual_alias_alias_maps.cf, hash:/etc/postfix/mailman_aliases
virtual_gid_maps = static:1002
virtual_mailbox_base = /srv/vmail/user-mailboxes
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_domains_maps.cf
virtual_mailbox_limit = 10737418240
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf, proxy:mysql:/etc/postfix/mysql_virtual_mailbox_alias_maps.cf
virtual_minimum_uid = 104
virtual_transport = dovecot
virtual_uid_maps = static:1008
-------------- next part --------------
Dec 03 09:53:02 2012 (1831) <50BC6857.6000204 at foo.de> smtp to karsten-test for 9 recips, completed in 21.038 seconds


More information about the Mailman-Users mailing list