I have working instalation of amavisd-new-2.3.3 with spamassassin and
postfix.
Can i restore blocked email from my $QUARANTINEDIR.
I tried with metamail with no succes.
--=20
greetz
Daniel
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
AMaViS-user mailing list
AMaVi...@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/
> I have working instalation of amavisd-new-2.3.3 with
> spamassassin and postfix.
> Can i restore blocked email from my $QUARANTINEDIR.
You can use the amavisd-release utility that comes with 2.3.3.
It is a utility that tells amavisd daemon to fetch
a mail from a local quarantine, and send it to MTA
through its regular channels, bypassing re-checking.
By default it connects to socket /var/amavis/amavisd.sock,
on which amavisd should be listening for AM.PDP protocol,
but you can use inet socket instead of Unix socket if you
need to run amavisd-release from a remote host.
In the amavisd.conf file you need to add (or uncomment) the:
$unix_socketname = "$MYHOME/amavisd.sock";
$interface_policy{'SOCK'} = 'AM.PDP';
$policy_bank{'AM.PDP'} = {
protocol => 'AM.PDP', # Amavis policy delegation protocol
inet_acl => [qw( 127.0.0.1 [::1] )], # applies in case of inet socket
};
$auth_required_release = 0; # to allow release without giving secret_id
(note that turning off this check is safe as long as the access to the
socket is restricted, like with file protections on a Unix socket,
or with inet_acl to specific IP addresses with inet socket)
Then, use the exact quarantine location from a log file to release
the message, e.g.:
amavis[29297]: (29297-01-6) Blocked SPAM, ... <...> -> <...>,
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
Mark