Rocco wrote:

> Hello,

> I have a relay SMTP server system Amavisd-new+Postfix+MySQL-based.

> I have configured spamassassin to quarantine spam message.

> Now I would like to know a simple way to release a quarantined message
> after, for example, I have verified that the message is a false
> positive..

> Could someone explain how it is possible to setup amavis so I can do
> this?

> TIA,
> rocsca

Check amavisd.conf and see if you have a $unix_socketname configured.
Make a note of the current setting if it exists. If it does not, then
configure it.

There is a program called amavisd-release. It comes with the source
code. You may have to edit the $socketname in amavisd-release to
match the $unix_socketname in amavisd.conf. If you need to pick
a spot to place the socket, the amavis home directory should work.
Place amavisd-release in /usr/sbin then:

In amavisd.conf add these (adjust path as required): 

Code: 
$unix_socketname = "/var/amavis/amavisd.sock"; 

$interface_policy{'SOCK'} = 'AM.PDP-SOCK'; 
$policy_bank{'AM.PDP-SOCK'} = { 
  protocol => 'AM.PDP', 
  auth_required_release => 0, # don't require secret-id for release 
}; 

The $unix_socketname and $socketname should match. 

reload amavisd-new and:

amavisd-release spam-BF9E0-Z+FU2R.gz

Gary V



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
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