[Mailman-Users] mailman-postfix-mysql virtual bounces with unknownuser: "sandbox-request"

Mark Sapiro mark at msapiro.net
Tue Nov 10 21:04:55 CET 2009

John Griessen wrote:
>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

>postfix main.cf

The output of postconf -n is much easier to deal with.

>myhostname = mail.cibolo.us
>alias_maps = cdb:/etc/aliases

How about hash:/var/lib/mailman/data/aliases in alias_maps?

>alias_database = cdb:/etc/aliases
>myorigin = /etc/mailname
>mydestination = localhost mail.cibolo.us localhost.cibolo.us
>mynetworks =
>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

If this postfix is on the Mailman machine, these are not relay domains.
The addresses in these domains will be mapped to local addresses by
Mailman's virtual-mailman in virtual_alias_maps, but then you need
aliases to map those local addresses into pipes to the mailman
wrapper. This is the hash:/var/lib/mailman/data/aliases that's missing
from alias_maps

>#relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
>transport_maps = hash:/etc/postfix/transport
>mailman_destination_recipient_limit = 1

This all looks like postfix_to_mailman.py stuff. "You must pick one or
the other, though neither of them are to be what they claim" B. Dylan

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list