My aliases were generated using the genealiases tool given by mailman.
Plus, in my configuration, I have:
alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
(my mailman aliases are located in /var/lib/mailman/data/aliases)
Here is a cat:
# 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: /var/lib/mailman/data/owner-bounces.mbox
# STANZA START: test
# CREATED: Wed Mar 19 17:31:54 2014
test: "|/usr/lib/mailman/mail/mailman post test"
test-admin: "|/usr/lib/mailman/mail/mailman admin test"
test-bounces: "|/usr/lib/mailman/mail/mailman bounces test"
test-confirm: "|/usr/lib/mailman/mail/mailman confirm test"
test-join: "|/usr/lib/mailman/mail/mailman join test"
test-leave: "|/usr/lib/mailman/mail/mailman leave test"
test-owner: "|/usr/lib/mailman/mail/mailman owner test"
test-request: "|/usr/lib/mailman/mail/mailman request test"
test-subscribe: "|/usr/lib/mailman/mail/mailman subscribe test"
test-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe test"
# STANZA END: test
# STANZA START: mailman
# CREATED: Wed Mar 19 17:31:54 2014
mailman: "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman"
# STANZA END: mailman
And still in my postfix config:
virtual_alias_maps = proxy:mysql:/etc/postfix/virtual_alias_maps.cf,
hash:/var/lib/mailman/data/virtual-mailman
And a cat of /var/lib/mailman/data/virtual-mailman:
# This file is generated by Mailman, and is kept in sync with the binary
hash
# file virtual-mailman.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.
#
# Note that you should already have this virtual domain set up properly in
# your Postfix installation. See README.POSTFIX for details.
# LOOP ADDRESSES START
[email protected] mailman-loop
# LOOP ADDRESSES END
# STANZA START: test
# CREATED: Wed Mar 19 17:31:54 2014
[email protected] test
[email protected] test-admin
[email protected] test-bounces
[email protected] test-confirm
[email protected] test-join
[email protected] test-leave
[email protected] test-owner
[email protected] test-request
[email protected] test-subscribe
[email protected] test-unsubscribe
# STANZA END: test
# STANZA START: mailman
# CREATED: Wed Mar 19 17:31:54 2014
[email protected] mailman
[email protected] mailman-admin
[email protected] mailman-bounces
[email protected] mailman-confirm
[email protected] mailman-join
[email protected] mailman-leave
[email protected] mailman-owner
[email protected] mailman-request
[email protected] mailman-subscribe
[email protected] mailman-unsubscribe
# STANZA END: mailman
On 03/20/2014 12:42 AM, [email protected] wrote:
Am 19.03.2014 20:08, schrieb Tout Guy:
I set up postfix + dovecot and know that I want to have mailing lists I decided
to install mailman.
Everything is working except that I cannot send emails to my mailing list (and
this is quite important, don't you
think?).
When I'm sending a mail to my mailing list ([email protected]), I get a reply
'Undelivered Mail Returned to Sender'
nothing that you posted below mentioned /etc/aliases
how should postfix know about the mailing lists?
https://help.ubuntu.com/community/Mailman