Re: [Mailman-Developers] Feature Request - Inbound MessageID tracking

Satya <satyap@satya.virtualave.net> writes:
comparing with a cache. I don't know how you could force each message through formail, except through some simple but non-trivial shell scripts.
Assuming you know how to set procmail up initially, it's pretty simple really, just change the alias for posting to the list to be simply the mailman user (which can't be aliased to anything else), then, in ~mailman/.procmailrc:
MMHOME=/usr/local/mailman :0c
^TOlistname@example.com { LISTNAME=listname PROCESSED=yes
:0 Wh: msgid.lock.$LISTNAME | formail -D 8192 $HOME/msgid.cache.$LISTNAME :0 | $MMHOME/mail/wrapper post $LISTNAME
}
[repeat for each list]
# when we reach this point, we should have been processed # by *something*. If we have, we can discard it, otherwise # let the admin look at it.
:0
- PROCESSED ?? yes /dev/null
:0 $DEFAULT
I haven't tested this, though, so don't blame me if you break something. :) Anyhow, it should be included in mailman, yes. :)
Darrell

On Jan 29, 2001 at 11:10, Darrell Fuhriman wrote:
Aye, there's the rub. Procmail, unless compiled with a certain config flag, hates group-writeable directories. Mailman wants its home directory writeable.
Of course, this'll work if procmail is compiled with that flag or ~mailman is not mailman's installation directory.
-- Satya. <URL:http://satya.virtualave.net/> US-bound grad students! For pre-apps, see <URL:http://quickapps.cjb.net/> Standards are wonderful! So many to pick from!

On Jan 29, 2001 at 11:10, Darrell Fuhriman wrote:
Aye, there's the rub. Procmail, unless compiled with a certain config flag, hates group-writeable directories. Mailman wants its home directory writeable.
Of course, this'll work if procmail is compiled with that flag or ~mailman is not mailman's installation directory.
-- Satya. <URL:http://satya.virtualave.net/> US-bound grad students! For pre-apps, see <URL:http://quickapps.cjb.net/> Standards are wonderful! So many to pick from!
participants (2)
-
Darrell Fuhriman
-
Satya