Re: bouncehandler-unsubscribe shell-hook

Michael Yount <[email protected]> Fri, 03 Nov 2006 22:00:05 -0800
Newsgroups gmane.mail.majordomo.majordomo2.devel
Message-ID <[email protected]>
Alex Teslik wrote:
> Hi Michael,
>
>    Thanks for the reply. I think you may have misunderstood what I meant. 
No, that's not true.
> The
> scenario I am trying to create is:
>
> 1) user subscribes to receive messages
> 2) messages to subscribed user bounce
> 3) bounces hit a limit and shell-hook sets the user to "no messages" and
> issues a warning to user to fix the bounce problem with their account
>   
What happens if the warning message bounces?
> 4) bounces pass a limit, and user is auto-unsubscribed
>   
If delivery is disabled, clearly there won't be bounces.  If a 
subscriber takes the trouble to re-enable delivery, why would you want 
to count the preceding bounces against that user in the bounce rules?

> I'm confused about the shell hooks being included. The help says that
> majordomo uses them, but if they aren't included I guess mj does not use them?
A shell hook runs a program or script that you write that is specific to 
your needs.
There aren't any restrictions on what programming language the program 
uses, nor upon what it does, so there's no way I could provide an 
example for you to follow.

Michael