[Mailman-Users] Bounced messages with Mailman 2.1 and Postfix 2.5 Virtual Mailboxes

Jennifer Redman jenred at gmail.com
Wed Jun 6 01:07:48 CEST 2007


Hello!

Trying to setup Mailman with Postfix 2.5 on FreeBSD 6.2.  The web part works
fine.

However, the integration with Postfix -- not so good, appears to be
something to do with the Virtual Mailbox setup.  Messages keep bouncing with
:

The mail system

<main at foo.org> <main at freejen.org> (expanded from <main at lists.blah.org>
<main at lists.buunabet.org>): unknown user: "main at foo.org"
<main at freejen.org>


Below please find my main.cf and mm_cfg.py, vhosts, and vmaps.  I've pretty
much tried every modification I can find in the postfix/mailman/freebsd
faq's, docs in addition to some tinkering of my own.

When a list is created the virtual-mailman gets updated and "appears to be
correct."

Anyone able to take a look as say "oh this isn't working because of x?"

Thanks,
Jen

Here is my main.cf:

queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
mynetworks = 192.168.1.0/24 127.0.0.0/8 xxx.xx.xx.xx/29
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = no
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = $mydomain
mailbox_size_limit = 0
inet_interfaces = all

#Virtual Mailboxes for blah.org, foo.org, blah.com

virtual_mailbox_domains = /usr/local/etc/postfix/vhosts.txt
virtual_mailbox_base = /var/spool/vmail
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmaps.txt
virtual_minimum_uid = 100
virtual_uid_maps = static:1002
virtual_gid_maps = static:1002
virtual_alias_maps = hash:/etc/postfix/valias.txt,
hash:/usr/local/mailman/data/virtual-mailman

# For SMTP-AUTH
smtpd_use_tls = yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/ssl/private/newname.pem
smtpd_tls_cert_file = /etc/ssl/certs/newname.pem
#smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/permit.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

#For SMTP-AUTH
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_relay_restrictions = permit_sasl_authenticated

#Mailman
recipient_delimiter = +
owner_request_special = no

Here are the relevant entries from  mm_cfg.py

DEFAULT_EMAIL_HOST = 'lists.blah.org'
DEFAULT_URL_HOST = 'lists.blah.org'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.blah.org']


Entries from vhosts.txt:
foo.org OK
blah.org OK
blah.com OK
lists.blah.org OK

Entries from vmaps:
jen at foo.org foo.org/jen/
jen at blah.org blah.org/jen/
jen at blah.com blah.com/jen/


More information about the Mailman-Users mailing list