On Tue, 21 Jul 2009, Benedict White wrote:

> Looking through what documentation there is on Amavisd-release it requires
> two arguments to release a mail, mail_file and secret_id.

mail_id, actually.

http://www.ijs.si/software/amavisd/amavisd-new-docs.html#quar-release:

To release a mail message an exact quarantine location from a log file should
be specified as an argument to amavisd-release, e.g.:

 amavis[29297]: (29297-01-6) Blocked SPAM,
   ... <xxx> -> <yyy>,
   quarantine: spam/U/UM3XM3XDbN52.gz,
   Message-ID:<...>, mail_id: UM3XM3XDbN52, Hits: 13.365,

 $ amavisd-release spam/U/UM3XM3XDbN52.gz
 250 2.6.0 Ok, id=rel-UM3XM3XDbN52,
   from MTA([193.2.4.66]:10025): 250 2.0.0 Ok: queued as F137717B88B

 The amavisd-release utility also accepts mail_id from STDIN if releasing more
 than one message in one go is more convenient:

 $ amavisd-release -
 spam/U/UM3XM3XDbN52.gz
 spam/g/gnwKVFKiuey3.gz
 spam/X/Xpkj9mLLBHTR.gz


> Secret_id is not a problem if the quaranteen is in a SQL database but where
> does mail file come from?

The *mail_id* comes from the logs as explained above.  RTFM for more.

-- 
Sahil Tandon <sa...@tandon.net>

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