[Mailman-Users] postfix-to-mailman.py => mail loops back to myself

Russell L. Carter rcarter at pinyon.org
Wed Jan 26 02:16:17 CET 2011


Hi there,

I've spent the afternoon attempting to install mailman on debian
testing with postfix, following the instructions in
/etc/mailman/postfix-to-mailman.py precisely, and I'm getting the
classic 'mail for "host" loops back to myself'.  From my getting to
know the issue sessions with google there appear to be a variety of
ways this can show up.  Anyway I've checked permissions, am able to
create lists and add users with confirmation, etc.  But sending from
the user to the list bounces with postfix complaining 'loops back to
myself'.

Q1: I was not previously using postfix virtual domains as described in
www.postfix.org/VIRTUAL_README.html, should I be?  If so I'll go off
and try to figure out how the information in there is related to the
instructions in /etc/mailman/postfix-to-mailman.py.  However, AFAICT,
the two sources appear to have zero intersection even though the
concepts are of course are quite similar.

If the answer to Q1 is "no", the only change to my existing system
was to add a CNAME 'lists.pinyon.org' pointing to 'quine.pinyon.org'.
Here is the relevant part of of my long time working main.cf, with the
mailman modifications (all checked, many times):

------------------------------------------------------------------
myhostname = quine.pinyon.org
mydomain = pinyon.org

myorigin = $mydomain

mydestination = $myhostname, localhost.$mydomain, $mydomain,
	mail.$mydomain, www.$mydomain, ftp.$mydomain troupesalamat.com

masquerade_domains = pinyon.org

relay_domains = lists.pinyon.org $mydestination esturion.net troupesalamat.com
relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1
------------------------------------------------------------------

I've tried quite a few permutations of ordering, etc., but no luck.

Q2:  Any idea what might be the problem?

Many thanks!
Russell


More information about the Mailman-Users mailing list