Jason,

> When I attempt to release some mail (but not all) I am seeing this
> error:
>
> mail:/var/amavis# /opt/amavisd/sbin/amavisd-release "pqDpQoPXKTKq"
>
> 450 4.5.0 Failure: Can't open sql obj for reading: No such file or
> directory at (eval 96) line 375, <GEN31> line 4.
>
> Additionally, I can find the message in 'msgs':
>  select * from msgs where mail_id = 'pqDpQoPXKTKq';
> However, it's not in the quarantine table:
>  select * from quarantine where mail_id = 'pqDpQoPXKTKq';
>  Empty set (0.00 sec)

So it is not in the SQL quarantine, and amavisd-release can't
release it for this reason.

> Well, I see why this happened now. It never saved the data.  I'm
> assuming this is an amavis failure and not a local configuration
> failure. But suggestions welcome!
>
> Sep 21 16:39:56 mail amavis[24395]: (24395-04) local delivery: <> ->
>   bad-header-quarantine, mbx=/var/amavis/virusmails/badh-pqDpQoPXKTKq

This was quarantined to a file-based quarantine:
  /var/amavis/virusmails/badh-pqDpQoPXKTKq
and not to SQL.

What is your setting for $bad_header_quarantine_method ?
It should be:
  $bad_header_quarantine_method = 'sql:';
if you want it to quarantine to SQL.


> Sep 22 10:35:09 mail amavis[15635]: (15635-01) (!!)policy_server FAILED:
>   Unsafe filename 'badh-pqDpQoPXKTKq\000\000\000\000\000\000\000\000...

This is most unusual. Seems like these null characters must have
crept into an AM.PDP release request as generated by amavisd-release.
A log level 5 from amavisd at the time of a release would be helpful.

  Mark

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to