hi,

is it ok, if I write a script in PHP (that would be ran as any bash script
with #!/usr/local/bin/php) and it would do some checks on the email and also
check if the recipient user has exceeded his quota or not and do various
things then.

I would place it in the local delivery like this: ||
/usr/lib/courier/bin/maildrop -V 1 | myscript.php

Another question, is it ok if I place deliverquota behind maildrop like
this:

|| /usr/lib/courier/bin/maildrop -V 1 | deliverquota

so that the server checks quota (I use mysql backend), but I am not sure if
this make courier deliver the mail twice or not.

please advise.

Peter Koczan




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to