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
mailman-l...@too.gy    mailman-loop
# LOOP ADDRESSES END

# STANZA START: test
# CREATED: Wed Mar 19 17:31:54 2014
t...@too.gy              test
test-ad...@too.gy        test-admin
test-boun...@too.gy      test-bounces
test-conf...@too.gy      test-confirm
test-j...@too.gy         test-join
test-le...@too.gy        test-leave
test-ow...@too.gy        test-owner
test-requ...@too.gy      test-request
test-subscr...@too.gy    test-subscribe
test-unsubscr...@too.gy  test-unsubscribe
# STANZA END: test

# STANZA START: mailman
# CREATED: Wed Mar 19 17:31:54 2014
mail...@too.gy              mailman
mailman-ad...@too.gy        mailman-admin
mailman-boun...@too.gy      mailman-bounces
mailman-conf...@too.gy      mailman-confirm
mailman-j...@too.gy         mailman-join
mailman-le...@too.gy        mailman-leave
mailman-ow...@too.gy        mailman-owner
mailman-requ...@too.gy      mailman-request
mailman-subscr...@too.gy    mailman-subscribe
mailman-unsubscr...@too.gy  mailman-unsubscribe
# STANZA END: mailman


On 03/20/2014 12:42 AM, li...@rhsoft.net 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 (t...@too.gy), 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


Reply via email to