Matus UHLAR - fantomas writes:

Hello,

when delivering mail to a mailbox that could cross the quota in mailfilter

- can I  check if the mail was delivered successfully by the Cc command?
  so I would e.g. forward it to another address only if it was delivered
  successfully.

  The EXITCODE variable can be checked to see if delivery was successfull,
  but CC only sets it when running external program. That would mean I have
  to run "cc | deliverquota ..." but I'd like to skip calling external
  program for this.

You can use the exception clause to trap a delivery failure, and handle it accordingly.

Attachment: pgpqziWb7Dsyd.pgp
Description: PGP signature

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to