Mark Martinec schrieb: > Uwe, > >> how to release a message from sql quarantine? I disabled release >> authorization, but it will not work. >> >> I'm a bit confused to se syntax: >> >> Usage: $ amavisd-release mail_file [secret_id [alt_recip1 alt_recip2 ...]] >> >> What is mail_file? MAIL_ID or AM_ID or QUAR_LOC? > > Depends on the quarantine type. It is exactly what is logged > in the "quarantine: ..." field as below:
In my msgrcpt table I have: 554 5.7.0 Reject, id=30142-04 - SPAM The corresponding MAIL_ID is 5OHlp-xdoiwO Now I tried: ./amavisd-release 5OHlp-xdoiwO ...and nothing happened. I got no prompt back Next: ./amavisd-release 5OHlp-xdoiwO "" <other_email_address> .. same. No prompt back. from the log during the try: Net::Server: 2009/06/28-17:19:22 CONNECT UNIX Socket: "/opt/amavis/var/amavisd.sock" loaded base policy bank process_request: fileno sock=13, STDIN=0, STDOUT=1 switch_to_my_time 300 s, new request process_request: suggested_protocol="" on UNIX process_policy_request: 1, amavisd (ch1-P-idle), fileno=13 switch_to_client_time 120 s, start receiving AM.CL data switch_to_my_time 300 s, received AM.CL record, state: 0 switch_to_client_time 120 s, receiving AM.CL data switch_to_my_time 300 s, received AM.CL record, state: 1 (!!)TROUBLE in process_request: send failed in state 2: Broken pipe, fileno=13 at (eval 87) line 93. (!)Requesting process rundown after fatal error exiting process_request post_process_request_hook: timer was not running idle_proc, bye: was busy, 1723.1 ms, total idle 0.000 s, busy 1.723 s load: 100 %, total idle 0.000 s, busy 1.723 s SpamControl: rundown_child on SpamAssassin done child_finish_hook: invoking DESTROY methods Amavis::Out::SQL::Log DESTROY called Amavis::Lookup::SQL DESTROY called Amavis::Out::SQL::Connection DESTROY called Amavis::Cache DESTROY called Amavis::DB::SNMP DESTROY called Net::Server: Child leaving (20) Amavis::Out::SQL::Connection DESTROY called Amavis::Lookup::SQL DESTROY called Net::Server: Starting "1" children Net::Server: Child Preforked (31627) entered child_init_hook TIMING [total 12 ms] - bdb-open: 12 (100%)100, rundown: 0 (0%)100 storage and lookups will use separate connections to SQL SpamControl: init_child on SpamAssassin done Uwe ------------------------------------------------------------------------------ _______________________________________________ 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/