Greetings!

I am having a problem with receiving any mail by the web server. On the 
other hand, outgoing mail is deliver okay. I suspect that it may be due 
to a misconfigured postfix.

I have tried all of the steps in the faq without any avail:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.014.htp
.

I've installed Mailman 2.1.6 from source on Mandrake 10.1 and followed 
the instructions for Mailman+ Postfix. I have also checked all the logs 
as per the faq entry and syslog: all of them seem to be fine.

Any help will be appreciated.

Roy

My files are below.

aliases:
# This file is generated by Mailman, and is kept in sync with the
# binary hash file aliases.db.  YOU SHOULD NOT MANUALLY EDIT THIS FILE
# unless you know what you're doing, and can keep the two files properly
# in sync.  If you screw it up, you're on your own.

# The ultimate loop stopper address
mailman-loop: /usr/local/mailman/data/owner-bounces.mbox

# STANZA START: mailman
# CREATED: Mon Jul 25 17:19:03 2005
mailman:             "|/usr/local/mailman/mail/mailman post mailman"
mailman-admin:       "|/usr/local/mailman/mail/mailman admin mailman"
mailman-bounces:     "|/usr/local/mailman/mail/mailman bounces mailman"
mailman-confirm:     "|/usr/local/mailman/mail/mailman confirm mailman"
mailman-join:        "|/usr/local/mailman/mail/mailman join mailman"
mailman-leave:       "|/usr/local/mailman/mail/mailman leave mailman"
mailman-owner:       "|/usr/local/mailman/mail/mailman owner mailman"
mailman-request:     "|/usr/local/mailman/mail/mailman request mailman"
mailman-subscribe:   "|/usr/local/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe mailman"
# STANZA END: mailman

# STANZA START: dan_test
# CREATED: Mon Jul 25 17:19:03 2005
dan_test:             "|/usr/local/mailman/mail/mailman post dan_test"
dan_test-admin:       "|/usr/local/mailman/mail/mailman admin dan_test"
dan_test-bounces:     "|/usr/local/mailman/mail/mailman bounces dan_test"
dan_test-confirm:     "|/usr/local/mailman/mail/mailman confirm dan_test"
dan_test-join:        "|/usr/local/mailman/mail/mailman join dan_test"
dan_test-leave:       "|/usr/local/mailman/mail/mailman leave dan_test"
dan_test-owner:       "|/usr/local/mailman/mail/mailman owner dan_test"
dan_test-request:     "|/usr/local/mailman/mail/mailman request dan_test"
dan_test-subscribe:   "|/usr/local/mailman/mail/mailman subscribe dan_test"
dan_test-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe 
dan_test"
# STANZA END: dan_test

# STANZA START: try
# CREATED: Mon Jul 25 17:19:03 2005
try:             "|/usr/local/mailman/mail/mailman post try"
try-admin:       "|/usr/local/mailman/mail/mailman admin try"
try-bounces:     "|/usr/local/mailman/mail/mailman bounces try"
try-confirm:     "|/usr/local/mailman/mail/mailman confirm try"
try-join:        "|/usr/local/mailman/mail/mailman join try"
try-leave:       "|/usr/local/mailman/mail/mailman leave try"
try-owner:       "|/usr/local/mailman/mail/mailman owner try"
try-request:     "|/usr/local/mailman/mail/mailman request try"
try-subscribe:   "|/usr/local/mailman/mail/mailman subscribe try"
try-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe try"
# STANZA END: try

virtual-mail:
mailman.nrg.wustl.edu  IGNORE
@mailman.nrg.wustl.edu @nrg.wustl.edu

virtusertable:
##
## Example virtusertable for use with a Mailman site running mm-handler.
##
## $Id: virtusertable,v 1.1 2001/10/27 02:30:51 bwarsaw Exp $
##

##
## My server's hostname is nospam, but we don't honor that as a
## Mailman mail domain. Anything @nospam.uchicago.edu should be
## forwarded to our master Mailman admin address.
##
[EMAIL PROTECTED]            [EMAIL PROTECTED]

@mailman.nrg.wustl.edu            [EMAIL PROTECTED]

##
## Redirect mail to the standard Mailman admin addresses to the
## master admin address. (Midway.uchicago.edu is our site's central
## mail-routing server, and it carries aliases for maintenance groups.
## Not a good plan to entrust Mailman maintenance mail to Mailman.)
##
[EMAIL PROTECTED]        [EMAIL PROTECTED]
[EMAIL PROTECTED]    [EMAIL PROTECTED]

##
## These addresses are required or recommended either by convention
## or by RFC 2142, "Mailbox Names for Common Services, Roles and
## Functions". Honor them.
##
[EMAIL PROTECTED]    [EMAIL PROTECTED]
[EMAIL PROTECTED]    [EMAIL PROTECTED]
[EMAIL PROTECTED]        [EMAIL PROTECTED]
[EMAIL PROTECTED]        [EMAIL PROTECTED]
[EMAIL PROTECTED]        [EMAIL PROTECTED]


main.cf:
# These are only the parameters changed from a default install
# see /etc/postfix/main.cf.dist for a commented, fuller version of this 
file.

# These are changed by postfix install script
readme_directory = /usr/share/doc/postfix-2.1.4/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.4/samples
html_directory = /usr/share/doc/postfix-2.1.4/html
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
queue_directory = /var/spool/postfix
mail_owner = postfix

# User configurable parameters

inet_interfaces = localhost
mynetworks_style = host
delay_warning_time = 4h
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
unknown_local_recipient_reject_code = 450
smtp-filter_destination_concurrency_limit = 2
lmtp-filter_destination_concurrency_limit = 2
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
owner_request_special = no
recipient_delimiter = +
#the last 2 lines were added by Roy in accord with the Mailman 
installation instructions.

#the following lines are added after examining /etc/postfix/main.cf.dist
#and /etc/postfix/virtual by Roy

virtual_alias_maps =
     hash:/etc/postfix/virtual,
     hash:/usr/local/mailman/data/virtual-mail,
     hash:/usr/local/mailman/data/virtusertable


#for debugging: taken from
# file:///usr/share/doc/postfix-2.1.4/postfix-users-faq.html#lginc
debug_peer_list = nrg.wustl.edu
debug_peer_level = 2

mm_cfg.py:
# -*- python -*-

# Copyright (C) 1998,1999,2000,2001,2002 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

"""This module contains your site-specific settings.

 From a brand new 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.  Mailman's installation procedure will never overwrite your mm_cfg.py
file.

The complete set of distributed defaults, with documentation, are in the 
file
Defaults.py.  In mm_cfg.py, 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
administrator and user interfaces on a per-list or per-user basis.

"""

###############################################
# Here's where we get the distributed defaults.

from Defaults import *

##################################################
# Put YOUR site-specific settings below this line.

OWNERS_CAN_DELETE_THEIR_OWN_LISTS = Yes

MTA = 'Postfix'
IMAGE_LOGOS = '/images/'
DEFAULT_EMAIL_HOST='artsci.wustl.edu'
DEFAULT_URL_HOST='nrg.wustl.edu'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)


#describe virtual domains, which are not mentioned in /etc/postfix/main.cf,
# or do not have a virtual domain file (currently at
# /usr/local/mailman/data/virtual-* containing the following lines:
#
#    dom1.ain  IGNORE
#    @dom1.ain @mail.dom1.ain
#this tells Postfix to deliver anything addressed to dom1.ain to the
# same mailbox at mail.dom1.com
#
#POSTFIX_STYLE_VIRTUAL_DOMAINS = ['dom3.ain', 'dom3.ain']
POSTFIX_STYLE_VIRTUAL_DOMAINS = 
['www.nrg.wustl.edu','mailman.nrg.wustl.edu']

add_virtualhost('www.nrg.wustl.edu', 'mailman.nrg.wustl.edu')
add_virtualhost('www.nrg.wustl.edu', 'nrg.wustl.edu')

#add a line giving the explicit IP address of the local host. There's a line
#SMTPHOST = localhost in Defaults.py, and this will be overridden
SMTPHOST = 'nrg.wustl.edu'


postconf -n:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
debug_peer_list = nrg.wustl.edu
delay_warning_time = 4h
html_directory = /usr/share/doc/postfix-2.1.4/html
inet_interfaces = localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mynetworks_style = host
newaliases_path = /usr/bin/newaliases.postfix
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.4/README_FILES
recipient_delimiter = +
sample_directory = /usr/share/doc/postfix-2.1.4/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual, 
hash:/usr/local/mailman/data/virtual-mail, 
hash:/usr/local/mailman/data/virtusertable



------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to