KÃczÃn PÃter writes:

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

Nope. Who told you that maildrop writes the message to standard output?

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

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

Again, maildrop does not write anything to standard output.

Furthermore, deliverquota requires at least one argument.

I need to go back and review the manual pages for maildrop, deliverquota,
and other commands.


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to