> Someone in our organization mentioned it would be nice to have majordomo
> notify posters whenever their message has been posted.
>
> I know some people will say, "Well, getting their message through the list
> is notification!" True, but in situations where a digest is only sent
> through once every three days, it'd be nice to know whether your message
> is going to be included! Even in other situations, like on this list,
> is usually takes me an hour before I get my message back through the list
> -- but I'd like to know now.
>
> It should be a configurable setting on a user by user basis.
Why not use procmail in a situation like this? Just pump it through
a .procmailrc in your aliases file:
listname:"|/usr/lib/mail/majordomo/wrapper resend -p bulk -M 10000 -l listname -f listname-owner -s listname-outgoing",|"/usr/bin/procmail -m /usr/lib/mail/replies/procmailrc.listname"
And then your procmailrc.listname would look like this:
$HOME=/usr/lib/mail/replies
:0 h
* !^FROM_DAEMON
* !^X-Loop: owner-listname@domain.com
| (formail -r -A"Precedence: bulk" \
-A"X-Loop: owner-listname@domain.com" \
-A"From: owner-listname@domain.com" ;\
cat "$HOME/listname.reply") | $SENDMAIL -t -f owner-listname@domain.com
listname.reply would contain your message to send out.
Chris
References:
|
|