[Mailman-Users] Probably obvious, but...
Mark Sapiro
mark at msapiro.net
Tue Mar 12 23:31:42 CET 2013
Tanstaafl wrote
>On 2013-03-12 12:40 PM, Ryan Stasel <rstasel at 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 at ..., From:
LISTNAME-bounces at ... 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 <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list