[ mailman-Patches-723918 ] MTA Handler for Procmail

SourceForge.net noreply at sourceforge.net
Fri Apr 18 16:03:51 EDT 2003


Patches item #723918, was opened at 2003-04-18 15:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=723918&group_id=103

Category: list administration
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Alan K. Stebbens (akstebbens)
Assigned to: Nobody/Anonymous (nobody)
Summary: MTA Handler for Procmail

Initial Comment:
A new MTA handler for inclusion in the "Mailman/MTA" 
folder.

It is used by defining (either in "mm_cfg.py" or in 
"Defaults.py") MTA as "Procmail".  The output file name is 
defined by "MAILMAN_RC_FILE", which should also be 
placed in "Defaults.py", and possibly overriden in 
"mm_cfg.py".

The module has creation and deletion hooks for procmail 
recipe files.  This MTA handler will create procmail 
recipies and place them into the configured file. 

The procmail MTA handler allows Mailman to be run out of 
a virtual user account, or to have a single user manage 
many lists, when the mail delivery is accomplished with 
procmail as the local delivery agent.

The virtual user has a ~/.procmailrc that contains these 
lines:

  MAILDIR=$HOME/Mail
  INCLUDERC=/www/mailman/Mailman/mail/mailman.rc

The Mailman/mm_cfg.py contains these lines:

  MAILMAN_RC_FILE = "mailman.rc"

This causes the "mailman.rc" file to be created in to the 
"mail" subdirectory of the "Mailman" installation directory.

Attached is the "Procmail.py" script.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=723918&group_id=103



More information about the Mailman-coders mailing list