Glen Low wrote: > >OK, is there some trivial MTA I can run e.g. procmail, would that be >suitable? How does Mailman actually retrieve the email meant to be sent >to [EMAIL PROTECTED] anyway?
Usually, the incoming MTA at domain.com runs on the same or a tightly coupled server as Mailman and via aliases pipes the incoming mail to mailman wrappers. e.g. mail to [EMAIL PROTECTED] is piped to .../mailman/mail/mailman post list mail to [EMAIL PROTECTED] is piped to .../mailman/mail/mailman admin list and similarly for list-bounces, -confirm, -join, -leave, -owner, -request, -subscribe and -unsubscribe. If the MTA runs elsewhere and you can retrieve the incoming mail with fetchmail and run it through procmail, you can use procmail to pipe it to the wrapper appropriately. Here's a skeleton of what we actually use in .procmailrc for a list named LISTNAME # Earlier in .procmailrc EnvelopeTo = $1 # LISTNAME mailman list.... :E * EnvelopeTo ?? ^LISTNAME$ |sudo -u mailman /www/grizz/mailman/mail/mailman post LISTNAME :E * EnvelopeTo ?? ^LISTNAME-admin$ |sudo -u mailman /www/grizz/mailman/mail/mailman admin LISTNAME :E * EnvelopeTo ?? ^LISTNAME-bounces$ |sudo -u mailman /www/grizz/mailman/mail/mailman bounces LISTNAME :E * EnvelopeTo ?? ^LISTNAME-confirm$ |sudo -u mailman /www/grizz/mailman/mail/mailman confirm LISTNAME :E * EnvelopeTo ?? ^LISTNAME-join$ |sudo -u mailman /www/grizz/mailman/mail/mailman join LISTNAME :E * EnvelopeTo ?? ^LISTNAME-leave$ |sudo -u mailman /www/grizz/mailman/mail/mailman leave LISTNAME :E * EnvelopeTo ?? ^LISTNAME-owner$ |sudo -u mailman /www/grizz/mailman/mail/mailman owner LISTNAME :E * EnvelopeTo ?? ^LISTNAME-request$ |sudo -u mailman /www/grizz/mailman/mail/mailman request LISTNAME :E * EnvelopeTo ?? ^LISTNAME-subscribe$ |sudo -u mailman /www/grizz/mailman/mail/mailman subscribe LISTNAME :E * EnvelopeTo ?? ^LISTNAME-unsubscribe$ |sudo -u mailman /www/grizz/mailman/mail/mailman unsubscribe LISTNAME -- Mark Sapiro <[EMAIL PROTECTED]> 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/