On Tue, 2002-05-21 at 11:31, Jörn Nettingsmeier wrote:

> i have played around a little with my local sendmail, and i think
> something like the following *might* work.
> the idea is to have sendmail trigger qrunner whenever a message comes
> in. you can use multiple aliases, so why not use multiple scripts as
> recipients ?
> 
> in /etc/aliases
> your-list: |/var/lib/mailman/mail/wrapper post your-list  
> |/usr/local/bin/qrun
> 
> where qrun is
> #!/bin/bash
> sleep 60 # give sendmail the chance to process the first alias
> /your/path/to/qrunner

Almost.

I have it working that, thanks again for the idea. The trick is to get 
qrunner started as user mailman (or whoever is the mailman user). Either
write a suid wrapper, or (less secure) have a .forward file for the user
list and deliver ingoing mail also to that user.

Q: what about -admin and -request? I guess they also need qrunner?

Have not tested what happens if qrunner is started as nobody.nogroup -
if that would work I could remove the above workaround.

cheers
-- vbi


-- 
secure email with gpg                 [EMAIL PROTECTED]: key id
0x92082481
                                      [EMAIL PROTECTED]:    key id
0x5E4B731F

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to