* Troy Piggins is quoted & my replies are inline below :
> I am trying to use amavisd-release to un-quarantine some emails
> that were detected false-positives.
>
> I added this line to /etc/amavisd.conf:
>
> #v+
> $auth_required_release=0;
> #v-
>
> Already there were the recommended:
>
> #v+
> $inet_socket_port = 10024;
> $unix_socketname = "$MYHOME/amavisd.sock";
> $interface_policy{'SOCK'}='AM.PDP-SOCK';
> $policy_bank{'AM.PDP-SOCK'} = { protocol=>'AM.PDP' };
> #v-
I changes these to :
In amavisd.conf use something like:
$inet_socket_port = [10024, 9998];
$interface_policy{'9998'} = 'AM.PDP';
$policy_bank{'AM.PDP'} = {protocol=>'AM.PDP'};
and in file amavisd-release change socket to:
$socketname = '127.0.0.1:9998';
It wasn't until after I made this change that I discovered that
messages were getting released correctly, but because they had
the high spam score of 8, my procmail filters were putting them
somewhere else. So I don't know if the above socket changes
fixed it, or the original setup was working also.
My apologies.
> I found I also had to amend the path in amavisd-release script:
>
> #v+
> $socketname = '/var/lib/amavis/amavisd.sock';
> #v-
>
> Now if I execute the command:
>
> $ sudo amavisd-release spam-slp35sGPVKcQ.gz
> 250 2.6.0 Ok, id=rel-slp35sGPVKcQ, from MTA([127.0.0.1]:10025):
> 250 Ok: queued as E3EDA58552
>
> it appears the mail was released correctly. Also in
> /var/log/mail.log (addresses munged):
>
[snip]
>
> Trouble is, the messages are not received at the other end (eg
> from above, [EMAIL PROTECTED] isn't getting the message.
>
> Any ideas?
As above, seems to be working now.
--
Troy Piggins ,-O (o- O All your sigs are belong to us.
http://piggo.com/~troy O ) //\ O
RLU#415538 `-O V_/_ OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
-------------------------------------------------------------------------
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/