[Mailman-Users] mailman-postfix-mysql virtual bounces with unknown user: "sandbox-request"
John Griessen
john at cibolo.com
Mon Nov 9 17:29:35 CET 2009
sandbox-request is one of the mailman generated addressed for list sandbox at lists.cibolo.us
I'm using debian with
postfix 2.5.5-1.1
mailman 1:2.1.12-3
mysql-server 5.1.40-1
mysql-client-5.1 5.1.40-1
apache2-mpm-worker 2.2.14-1
apache2 2.2.14-1
I've gotten the install to work up to the point of a new list member's conf email bouncing:
-----
The mail system
<sandbox-request at mail.cibolo.us> (expanded from
<sandbox-request at lists.cibolo.us>): unknown user: "sandbox-request"
Reporting-MTA: dns; mail.cibolo.us
-----
Permission check showed no trouble.
I think it is a postfix config problem where I've added too much information.
If you can spot trouble in either of these config files, I'd appreciate it.
postfix main.cf
===========
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
#hostname of the server without any subdomain parts.
mydomain = cibolo.us
#Try out this process_limit to reduce memory used on server
default_process_limit = 40
minimal_backoff_time = 2500
#number of SMTP sends to the same place at once
#SMTP process limit server wide is set at 9 in master.cf
default_destination_concurrency_limit = 4
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# DOS limiting by error behavior
smtpd_error_sleep_time = 2
smtpd_soft_error_limit = 3
smtpd_hard_error_limit = 8
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 20m
# jg's restrictions
smtpd_helo_required = yes
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_invalid_hostname,
reject_unauth_pipelining,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
check_client_access cdb:/etc/postfix/access_client_ipaddr_checks,
check_helo_access cdb:/etc/postfix/access_helo_checks,
check_sender_access cdb:/etc/postfix/access_sender_checks,
# check_recipient_access hash:/etc/postfix/access_recipient_checks,
reject_rbl_client bl.spamcop.net,
reject_rbl_client zen.spamhaus.org
permit
myhostname = mail.cibolo.us
alias_maps = cdb:/etc/aliases
alias_database = cdb:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost mail.cibolo.us localhost.cibolo.us
mynetworks = 76.191.252.85 127.0.0.0/8
relayhost =
mailbox_size_limit = 80000000
recipient_delimiter = +
notify_classes = resource, software
#virtual mailbox method
virtual_mailbox_base = /var/mail/vhosts
virtual_minimum_uid = 1999
virtual_uid_maps = cdb:/etc/postfix/virtual_uid
virtual_gid_maps = cdb:/etc/postfix/virtual_gid
virtual_mailbox_limit = 51200000
#virtual alias method
#virtual_mailbox_domains = polymerlogic.com industromatic.com
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
#virtual_alias_maps = cdb:/etc/postfix/virtual
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf,
hash:/var/lib/mailman/data/virtual-mailman
#virtual_mailbox_maps = cdb:/etc/postfix/vmailbox
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = virtual
# Additional for quota support
#virtual_create_maildirsize = yes
#virtual_mailbox_extended = yes
#virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
#virtual_mailbox_limit_override = yes
#virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
#virtual_overquota_bounce = yes
#If you want to use MySQL also to store your Backup MX domains add this
#relay_domains = mysql:/etc/postfix/mysql_relay_domains_maps.cf
#mailman setup related:
relay_domains = lists.metalartists.org lists.cibolo.us
#relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1
=========
mm_cfg.py
=========
# -*- python -*-
# Copyright (C) 1998,1999,2000 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
"""This is the module which takes your site-specific settings.
From a raw distribution it should be copied to mm_cfg.py. If you
already have an mm_cfg.py, be careful to add in only the new settings
you want. The complete set of distributed defaults, with annotation,
are in ./Defaults. In mm_cfg, override only those you want to
change, after the
from Defaults import *
line (see below).
Note that these are just default settings - many can be overridden via the
admin and user interfaces on a per-list or per-user basis.
Note also that some of the settings are resolved against the active list
setting by using the value as a format string against the
list-instance-object's dictionary - see the distributed value of
DEFAULT_MSG_FOOTER for an example."""
#######################################################
# 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'
#-------------------------------------------------------------
# If you change these, you have to configure your http server
# accordingly (Alias and ScriptAlias directives in most httpds)
#DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
IMAGE_LOGOS = '/images/mailman/'
#-------------------------------------------------------------
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = 'cibolo.us'
#-------------------------------------------------------------
# Default host for web interface of newly created MLs
DEFAULT_URL_HOST = 'lists.cibolo.us'
# Clear the Defaults.py VIRTUAL_HOSTS entry
VIRTUAL_HOSTS.clear()
# Add the defaults
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
# and the other(s)
add_virtualhost('lists.metalartists.org','metalartists.org')
# Update virtual-mailman for lists in all domains
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.cibolo.us','lists.metalartists.org']
#-------------------------------------------------------------
# The default language for this server.
DEFAULT_SERVER_LANGUAGE = 'en'
#-------------------------------------------------------------
# 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
#-------------------------------------------------------------
# Uncomment if you use Postfix virtual domains (but not
# postfix-to-mailman.py), but be sure to see
# /usr/share/doc/mailman/README.Debian first.
# MTA='Postfix'
#mailman related:
# So that mailman generates the recipients table
MTA = 'Postfix'
# alias for postmaster, abuse and mailer-daemon
DEB_LISTMASTER = 'postmaster at cibolo.com'
POSTFIX_MAP_CMD = '/usr/sbin/postmap'
#-------------------------------------------------------------
# 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.
More information about the Mailman-Users
mailing list