I've gone through the guide for mailman with some difficulty, but seem to be nearly there. I'm able to navigate to the mailman web GUI, create lists and subscribe. I just subscribe my local FQDN, so
[email protected] for testing purposes. This FQDN only works on localhost.
However, e-mails to the list address, in this case
[email protected], are rejected:
root@dur:~#
root@dur:~# tail /var/log/mail.log
Aug 28 08:28:43 dur postfix/master[12208]: terminating on signal 15
Aug 28 08:28:44 dur postfix/postfix-script[12322]: starting the Postfix mail system
Aug 28 08:28:44 dur postfix/master[12323]: daemon started -- version 2.9.1, configuration /etc/postfix
Aug 28 08:28:46 dur postfix/postfix-script[12332]: stopping the Postfix mail system
Aug 28 08:28:46 dur postfix/master[12323]: terminating on signal 15
Aug 28 08:28:47 dur postfix/postfix-script[12437]: starting the Postfix mail system
Aug 28 08:28:47 dur postfix/master[12438]: daemon started -- version 2.9.1, configuration /etc/postfix
Aug 28 08:29:29 dur postfix/smtpd[12460]: connect from localhost[127.0.0.1]
Aug 28 08:29:30 dur postfix/smtpd[12460]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <
[email protected]>: Recipient address rejected: User unknown in local recipient table; from=<
[email protected]> to=<
[email protected]> proto=ESMTP helo=<dur.bounceme.net>
Aug 28 08:29:33 dur postfix/smtpd[12460]: disconnect from localhost[127.0.0.1]
root@dur:~#
root@dur:~# ll /var/lib/mailman/data/
total 56
drwxrwsr-x 2 root list 4096 Aug 28 08:28 ./
drwxrwsr-x 8 root list 4096 Aug 27 19:58 ../
-rw-r--r-- 1 root list 0 Aug 28 04:36 aliases
-rw-r--r-- 1 root list 12288 Aug 28 04:36 aliases.db
-rw-r--r-- 1 root list 12288 Aug 28 08:28 aliases.db.db
-rw-r----- 1 root list 41 Aug 27 21:04 creator.pw
-rw-rw-r-- 1 root list 10 Aug 27 19:58 last_mailman_version
-rw-r--r-- 1 root list 14100
Oct 19 2011 sitelist.cfg
root@dur:~#
root@dur:~# grep alias /etc/postfix/main.cf
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/var/lib/mailman/data/aliases.db
#alias_database = hash:/etc/aliases
root@dur:~#
root@dur:~# postconf -n
alias_database = hash:/var/lib/mailman/data/aliases.db
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
default_transport = smtp
home_mailbox = Maildir/
inet_interfaces = loopback-only
mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-mail-stack-delivery.conf -m "${EXTENSION}"
mailbox_size_limit = 0
mailman_destination_recipient_limit = 1
mydestination = $myhostname localhost.$mydomain localhost $mydomain
myhostname = dur.bounceme.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
readme_directory = no
recipient_delimiter = +
relay_domains = lists.example.com
relay_transport = relay
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
root@dur:~#
Why is this e-mail rejected? It seems to, maybe be related to the alias_maps and alias_database settings in postfix.