[Mailman-Users] Mailman does everything except send mail
Jörn Nettingsmeier
nettings at folkwang-hochschule.de
Tue May 21 11:31:10 CEST 2002
Adrian 'Dagurashibanipal' von Bidder wrote:
>
> On Sat, 2002-05-18 at 00:21, Barry A. Warsaw wrote:
> >
> > >>>>> "AvB" == Adrian von Bidder <avbidder at fortytwo.ch> writes:
> >
> > AvB> Question on that: can mailman be configured to run without
> > AvB> cron? I have on my home system a very low traffic list, and
> > AvB> it's a bit a cpu waste to run a cron job when I have only 2
> > AvB> or 3 messages every few days.
> >
> > Sure. cron's not doing anything special exception making sure a
> > particular program is run periodically. You can run cron/qrunner
> > manually whenever you like, although you probably have to run it like
>
> Yes, yes. In other words: mailman currently has no means to trigger the
> qrunner on message receipt which would imo be a sensible solution for
> low-traffic systems.
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
please correct me if this is bullshit...
best,
jörn
More information about the Mailman-Users
mailing list