On 11/20/2014 11:47 PM, Olivier Nicole wrote:
> Hi,
> 
> I have a problem with a regular expression in accept_these_nonmembers
> filter:
> 
> I have the regexp:
> 
> ^root\@.*bknix\.co\.th$
> 
> That should read: accept any message sent by r...@anything.bknix.co.th
> But a message sent by r...@web.bknix.co.th is not being accepted
> automatically.


Your regexp should work although it will actually also accept things
like 'r...@xbknix.co.th'. Also, '@' is not special and doesn't need to
be escaped. I would use '^root@(.*\.)?bknix\.co\.th$'.

However, none of this explains your issue.

What is the reason why posts from r...@web.bknix.co.th are held? Is it
'post by non-member to members only list' or some other reason? If some
other, what is the reason.

If it is non-member post, the address matched against
accept_these_nonmembers is one of two addresses. By default, it is the
address in the From: header, but if USE_ENVELOPE_SENDER is set to Yes in
mm_cfg.py, the address in the Sender: header is used if there is one.

-- 
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

Reply via email to