On 12/15/2011 11:14 AM, Michael Weissenbacher wrote:

> Yeah, unlikely but possible. In fact the mail passes through 2 filters
> before being returned to postfix:
> postfix:25 -> amavis:10024 -> apache-james:10025 -> postfix:10026 ->
> smarthost
> 
> All i can tell is that some mails (like 1 out of 20000) get corrupted in
> the process and end up being unusable. 


This sounds like one of the very rare cases where the obscure
http://www.postfix.org/postconf.5.html#dont_remove
option might be helpful.

something like
# main.cf
dont_remove = 1
hash_queue_names = deferred, defer, saved

If you expect to have more than a few hundred thousand files, maybe
also:
hash_queue_depth = 2

Caution:  this will fill up your hard drive.
Caution:  this is a debugging tool with limited warranty.

The advantage is that if you can identify a corrupted mail, you'll
be able to directly compare the before-filter and after-filter queue
files, and all envelope information is saved for (fairly) easy
resubmission.


  -- Noel Jones

Reply via email to