On 1/30/20 7:29 PM, stinga wrote:
G'day all,
I can't seem to get acceptable_aliases to work...
(domain names changed to protect the innocent, but all match up)
c...@lists.lf.me = List email address
i...@lf.me = Google group (google group has one email address which is
c...@lists.lf.me
i...@lf.me is a member of the mailman list and is set for nomail
User anot...@domain.com sends email to i...@lf.me
List receives email and bounces with:
List: c...@lists.lf.me
From: anot...@domain.com
Subject: Testing
Reason: Post by non-member to a members-only list
The above is correct as user anot...@domain.com is not a member of the
mailman list
And that is the entire issue. acceptable_aliases and
require_explicit_destination have nothing to do with this.
In the email header there is
To: <i...@lf.me>
I have in acceptable_aliases (tried various things)
i...@lf.me
"i...@lf.me"
.*i...@lf.me.*
and require_explicit_destination is yes
I believe that should allow email sent to i...@lf.me to be accepted by
the list, maybe I am reading this all wrong?
All that does is avoid the message's being held for "implicit
destination" it doesn't bypass other checks.
If I am doing this wrong how do I get a google email to send to mailman
and be accepted?
There are a few of choices.
You can set Privacy options... -> Sender filters ->
generic_nonmember_action to Accept in order to accept posts from any
nonmember, but you may not want that.
You can ensure that everyone sending mail to i...@lf.me is a member of
the c...@lists.lf.me list.
You can make use of the fact that mailman considers a post to be from a
member if any of the From:, Reply-To: Sender: or envelope sender
addresses is a list member. Posts from google groups generally have no
Sender: header, and the envelope sender is something like
'info+bncbcn2p7unuujrbfxhspsakgqe7gew...@googlegroups.com' where the
'bncbcn2p7unuujrbfxhspsakgqe7gew6fa' may not be constant. However,
messages from Google Groups have a
Reply-To: groupn...@googlegroups.com
header. If that address is a member of your list, it should be OK. You
say i...@lf.me is a member of your list. Is that an address you control
which forwards to the google group?. If so, you want to make
groupn...@googlegroups.com a member of your list set to nomail. If in
fact by i...@lf.me you mean the actual groupn...@googlegroups.com
address, then I don't know what the problem is.
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://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:
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org