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. #
…
[View More]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
[View Less]
Hello,
is there a nice way of adding a link to the list's archive to msg_footer?
Like it is done with the link to the list info page
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Regards,
Sascha.
Hi,
I've set up a system with Postfix, Dovecot and Mailman under Fedora. I'm
using MySQL and Postfixadmin to administrate the virtual mailboxes. I'm
unable to get emails delivered to the mailing lists created with Mailman
though. I've added the required strings to alias_maps and virtual_alias_maps
in main.cf of Postfix:
alias_maps = hash:/etc/mailman/aliases, mysq:/etc/postfix/alias_sql.cf
virtual_alias_maps = hash:/etc/mailman/virtual-mailman,
mysql:/etc/postfix/virtual_mailbox.sql.cf
I've …
[View More]created a mailing list called test for my virtual domain mydomain.se
and everything seems to be correct in /etc/mailman/virtual-mailman and
/etc/mailman/aliases.
Example from /etc/mailman/virtual-mailman:
test(a)mydomain.se test
Example from /etc/mailman/aliases:
test: "|/usr/lib/mailman/mail/mailman post test"
I've also added the following string to /etc/mailman/mm_cfg.py:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.se']
add_virtualhost('www.mydomain.se', 'mydomain.se')
MTA = 'Postfix'
Why do I get the "Unknown user" reply from Postfix when sending an email to
test(a)mydomain.se? What could I have missed? I've tried to Google this
problem but have come up with nothing really useful. Could you please point
me in the right direction?
This is some output from the /var/log/maillog file:
Mar 4 14:24:58 rus01 postfix/smtpd[7481]: connect from
unknown[209.85.215.50]
Mar 4 14:24:58 rus01 postfix/smtpd[7481]: A0C1DC200A9:
client=unknown[209.85.215.50]
Mar 4 14:24:58 rus01 postfix/cleanup[7490]: A0C1DC200A9:
message-id=<89683CF8C82A4F509FA3F905D1C696BA@daviddator>
Mar 4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9:
from=<david.renstrom(a)gmail.com>, size=2449, nrcpt=1 (queue active)
Mar 4 14:24:58 rus01 postfix/pipe[7491]: A0C1DC200A9: to=<test(a)usnorr.se>,
relay=dovecot, delay=0.14, delays=0.1/0.01/0/0.04, dsn=5.1.1, status=bounced
(user unknown)
Mar 4 14:24:58 rus01 postfix/cleanup[7490]: B873CC205D1:
message-id=<20120304132458.B873CC205D1(a)rus01.usnorr.se>
Mar 4 14:24:58 rus01 postfix/bounce[7496]: A0C1DC200A9: sender non-delivery
notification: B873CC205D1
Mar 4 14:24:58 rus01 postfix/qmgr[6219]: B873CC205D1: from=<>, size=4205,
nrcpt=1 (queue active)
Mar 4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9: removed
Mar 4 14:25:00 rus01 postfix/smtp[7499]: B873CC205D1:
to=<david.renstrom(a)gmail.com>,
relay=gmail-smtp-in.l.google.com[209.85.173.26]:25, delay=1.5,
delays=0.01/0.01/0.51/1, dsn=2.0.0, status=sent (250 2.0.0 OK 1330867500
r7si5594416lbe.63)
Mar 4 14:25:00 rus01 postfix/qmgr[6219]: B873CC205D1: removed
Cheers,
/David R.
[View Less]