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.


- can I check if the delivery would reach the quote before trying to
  deliver? I know this may cause problems in multitasking environment,
  however I can imagine "locking" the space by e.g. creating temporary file,
  checkinf for deliverability and then optionally delivering it. 
  So I could run the mail through an xfilter only if/when the mail can be
  delivered.


-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I intend to live forever - so far so good. 

------------------------------------------------------------------------------
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