[Mailman-Users] Mailman + postfix delivery slow

Jesús Rivas jesus at evangelizacion.org.mx
Mon Mar 5 16:29:19 CET 2012


hi list, i have to change the server because the old server is in coma, 
so i put ubuntu with mailman and postifx.

everything works fine, except the delivery is slow, about 20 per 
minute,  someone help me please

attached the config file for main.cf of postfix and mm_cfg.py of mailman

Than a lot

################################################################
Mailman configuration
#######################################################
#    Here's where we get the distributed defaults.    #
from Defaults import *
##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values.            #
#-------------------------------------------------------------
# The name of the list Mailman uses to send password reminders
# and similar. Don't change if you want mailman-owner to be
# a valid local part.
MAILMAN_SITE_LIST = 'mailman'

### added from old configuration ###
from socket import *
try:
     fqdn = getfqdn()
except:
     fqdn = 'mm_cfg_has_unknown_host_domains'
###

#-------------------------------------------------------------
# If you change these, you have to configure your http server
# accordingly (Alias and ScriptAlias directives in most httpds
#DEFAULT_URL_PATTERN = 'http://%s//mailman/'
DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS         = '/images/mailman/'

#-------------------------------------------------------------
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = 'mail.evangelizacionactiva.org.mx'
#-------------------------------------------------------------
# Default host for web interface of newly created MLs
DEFAULT_URL_HOST   = 'evangelizacionactiva.org.mx'
###
DEFAULT_HOST_NAME = "mail.evangelizacionactiva.org.mx"
SMTP_MAX_RCPTS = 1
###
#-------------------------------------------------------------
# Required when setting any of its arguments.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

#-------------------------------------------------------------
# The default language for this server.
DEFAULT_SERVER_LANGUAGE = 'es'

#-------------------------------------------------------------
# Iirc this was used in pre 2.1, leave it for now
USE_ENVELOPE_SENDER    = 0              # Still used?

#-------------------------------------------------------------
# Unset send_reminders on newly created lists
DEFAULT_SEND_REMINDERS = 0

#-------------------------------------------------------------
# Uncomment this if you configured your MTA such that it
# automatically recognizes newly created lists.
# (see /usr/share/doc/mailman/README.Exim4.Debian or
# /usr/share/mailman/postfix-to-mailman.py)
# MTA=None   # Misnomer, suppresses alias output on newlist
# postfix-to-mailman.py), but be sure to see
# /usr/share/doc/mailman/README.Debian first.
MTA='Postfix'

#-------------------------------------------------------------
# Uncomment if you want to filter mail with SpamAssassin. For
# more information please visit this website:
# http://www.jamesh.id.au/articles/mailman-spamassassin/
# GLOBAL_PIPELINE.insert(1, 'SpamAssassin')

# Note - if you're looking for something that is imported from mm_cfg, 
but you
# didn't find it above, it's probably in 
/usr/lib/mailman/Mailman/Defaults.py.

#########################################
Postfix configuration main.cf
#########################################

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=no
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mail.evangelizacionactiva.org.mx
#server-respaldo
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.evangelizacionactiva.org.mx, server-respaldo, 
localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [:
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
local_destination_recipient_limit = 1
local_destination_concurrency_limit = 1


unknown_local_recipient_reject_code = 550

#Para que platiquen los server antes de aceptar un correo.
smtpd_helo_required = yes

#############################
delay_warning_time = 4h
unknown_local_recipient_reject_code = 450
minimal_backoff_time = 300s
maximal_backoff_time = 1200s
maximal_queue_lifetime = 1d
bounce_queue_lifetime = 1d
smtp_helo_timeout = 30s
smtpd_soft_error_limit = 3
smtpd_hard_error_limit = 12


-- 
Saludos!!!


Jesus Alonso Rivas
Sistemas

_____________________________________
Evangelización Activa
Comunicación Digital al Servicio del Evangelio
www.evangelizacion.org.mx



More information about the Mailman-Users mailing list