Dear all,
I am running Postfix and Mailman on my server with MySQL as backend. It
works like a charm (including mailman) but for one domain (customerA.com)
the following error message is generating when the admin user maintains a
list and an email is being generated (e.g. when adding/removing a member):
Mar 6 18:12:46 localhost postfix/smtpd[23391]: NOQUEUE: reject: RCPT from
localhost[127.0.0.1]: 550 5.1.0 <mailman-boun...@customera.com>: Sender
address rejected: User unknown in virtual mailbox table;
from=<mailman-boun...@customera.com> to=<ad...@somedomain.com> proto=ESMTP
helo=<[127.0.0.1]>
It appears that for some reason the aliases for this domain were not
created correctly. I have tried running "genaliases" again but that did not
change anything. Here is my current Postfix configuration, Mailman config
follows below:
alias_maps =
hash:/var/lib/mailman/data/aliases,mysql:/etc/postfix/mysql_virtual_alias_maps.cf
append_dot_mydomain = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavisfeed:[127.0.0.1]:10024
daemon_directory = /usr/lib64/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_privs = mailman
disable_vrfy_command = yes
home_mailbox = .maildir/
html_directory = /usr/share/doc/postfix-2.2.5/html
in_flow_delay = 1s
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mailbox_size_limit = 250480000000000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 1504800000
mydestination = $myhostname,localhost
mydomain = mydomain.com
myhostname = myserver.mydomain.com
mynetworks = 1.2.3.4/32, 127.0.0.0/8
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.5/readme
recipient_delimiter = +
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_mynetworks, reject_non_fqdn_sender,
reject_non_fqdn_recipient, permit_sasl_authenticated,
reject_unauth_destination, reject_unauth_pipelining,
reject_invalid_hostname, reject_unknown_sender_domain,
check_sender_access hash:/etc/postfix/sender_access, reject_rbl_client
zen.spamhaus.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client
ix.dnsbl.manitu.net, reject_rbl_client
hostkarma.junkemailfilter.com=127.0.0.2, reject_rbl_client
sbl-xbl.spamhaus.org, reject_rbl_client list.dsbl.org, reject_rbl_client
dul.dnsbl.sorbs.net, reject_rbl_client bl.spamcop.net,
check_policy_service inet:127.0.0.1:10030
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = mail.mydomain.com
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_non_fqdn_sender
smtpd_tls_CAfile = /etc/postfix/GeoTrust_Global_CA.cer
smtpd_tls_ask_ccert = no
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/postfix.crt
smtpd_tls_key_file = /etc/postfix/postfix.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps =
hash:/var/lib/mailman/data/virtual-mailman,mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domain_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
My Mailman config file is as follows:
from Defaults import *
MTA = 'Postfix'
DEFAULT_SERVER_LANGUAGE = 'de'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
DEFAULT_EMAIL_HOST = 'webgui.mydomain.com'
DEFAULT_URL_HOST = 'webgui.mydomain.com'
POSTFIX_STYLE_VIRTUAL_DOMAINS =
['myserver.mydomain.com','customerA.com','customerB.com','mydomain.com']
SMTP_MAX_RCPTS = 50
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('webgui.mydomain.com','mydomain.com')
add_virtualhost('webgui.mydomain.com','customerA.com')
In addition, running "postmap -q list
hash:/var/lib/mailman/data/virtual-mailman" does not return anything
although the file is not empty and contains the same entries for all of my
mailing lists (and with the exception of this one for customerA.com is
working fine). Any ideas what might be causing this problem?
Thanks a lot!
Kind regards,
Werner.