Tanstaafl wrote

>On 2013-03-12 12:40 PM, Ryan Stasel <rsta...@uoregon.edu> wrote:
>>
>> Is there a good way to say "posts by non-members should redirect/bounce to 
>> the ticketing system email"?
>
>Sounds like a job for your MTA, not Mailman...?


Except the MTA doesn't know whether or not the post is from a list
member.

One could set Privacy options... -> Sender filters ->
generic_nonmember_action to Discard and Privacy options... -> Sender
filters -> forward_auto_discards to Yes. This will cause all
non-member posts to be discarded from the list but forwarded as an
attachment to a message To: LISTNAME-owner@..., From:
LISTNAME-bounces@... with Subject: 'Auto-discard notification'. One
could set one of the owner/moderator addresses to an address which
pipes to a process which looks for that message and extracts the
attached message/rfc822 part and sends it to the ticketing system.

Or, one could just add the pipe to that process to the LISTNAME-owner
alias in the MTA, or pipe all LISTNAME-owner mail to a process which
either pipes the mail to 'mailman LISTNAME owner' or sends the
attached message to the ticket system.  

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