anatoly techtonik wrote:
>
>- how can I setup Mailman, so it can accept mails sent through Google
>Groups proxy automatically? -


The envelope sender of a google groups post is
<[email protected]>. If that address were a
member of the mailman list with no password reminders and no mail
delivery, the posts would be accepted as member posts. The problem is
the +some_token suffix to the local part of the address. The
Mailman.Message.get_senders() method doesn't treat +some_token as a
suffix and since it is variable, it is not possible to subscribe all
the possible<[email protected]> addresses to the
list.

Thus you are left with a couple of other options. If the Google group
is set to include a Reply-To: <[email protected]> header in
delivered posts, and if <[email protected]> is a member of
the mailman list (with no password reminders and no mail delivery),
Mailman.Message.get_senders() will return that address in the senders
list and Mailman will consider the post from a member.

Even if the Google group is not set to include a Reply-To:, it still
includes an X-BeenThere: [email protected] header. If you add

SENDER_HEADERS = ('from', None, 'reply-to', 'sender', 'x-beenthere')

to mm_cfg.py, Mailman.Message.get_senders() will consider the address
in X-BeenThere: as well as the addresses in From:, the unix from,
Reply-To: and Sender: as senders which will be checked against the
list membership.

So, if you add <[email protected]> as a member of the mailman
list (with no password reminders and no mail delivery), and either set
the google group "Replies to messages"  to "Replies are sent to the
whole group" or add the above SENDER_HEADERS line to mm_cfg.py, posts
arriving via the group will be seen as member posts.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to