Replying to my own post.
I still do not have the inet method working. It still gives the errors below.
I got amavisd-release to work by switching to the unixsocket method.

Still interested in the inet method.
john

john wrote:
I'm running amavisd-new 2.3.3 on FreeBSD 5.4

I'm trying to release a quarantined file.
I'm trying to use amavisd-release.
I added this entry to not require a auth_id.
$auth_required_release = 0;

I'm using INET as the connection method.
I'm entering the file name exactly as in the log message.
Dec 13 11:25:23 mg-p1 amavis[45356]: (45356-07) Blocked SPAM, [24.248.74.254] [24.248.74.254] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, quarantine: spam-1pID0wOJvRSl.gz, Message-ID: <[EMAIL PROTECTED]>, mail_id: 1pID0wOJvRSl, Hits: 20.596, 11736 ms

Commands I've used:
amavisd-release spam-1pID0wOJvRSl.gz
amavisd-release /var/virusmails/spam-1pID0wOJvRSl.gz
amavisd-release -
spam-1pID0wOJvRSl.gz

I get the following in my log file.
Dec 13 20:32:10 mg-p1 amavis[48786]: (48786-01) SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: request=release\r\n Dec 13 20:32:15 mg-p1 amavis[48786]: (48786-01) SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: quar_type=Z\r\n Dec 13 20:32:20 mg-p1 amavis[48786]: (48786-01) SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: mail_id=1pID0wOJvRSl\r\n Dec 13 20:32:25 mg-p1 amavis[48786]: (48786-01) SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: mail_file=spam-1pID0wOJvRSl.gz\r\n Dec 13 20:32:30 mg-p1 amavis[48786]: (48786-01) SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: \r\n


Any help with this?
The release script is v1.1

John


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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