Hello folks,
We are trying to use Amavisd::Custom for the first time here, and
we are having some problems. We need some specific emails are
sent to quarantine and not to be delivered to final recipient.
In the past these filers were made using maildrop, and we configured
amavis to have some policies, to do these actions, like the follow:
$interface_policy{'10099'} = 'ARCHIVER';
$policy_bank{'ARCHIVER'} = {
archive_quarantine_method => 'sql:@storage_sql_dsn',
forward_method => undef, # lose mail!
bypass_decode_parts => 1,
bypass_virus_checks_maps => [1],
bypass_spam_checks_maps => [1],
bypass_banned_checks_maps => [1],
bypass_header_checks_maps => [1],
};
And maildrop back message to port 10099.
Now we are replacing maildrop with Amavisd::Custom, we can
have it working using this port, in sub "checks()", this way:
$msginfo->delivery_method('smtp:[127.0.0.1]:10099');
We consider this is not the correct way, we would like to
just send the email to quarantine and cancel the deliver to
final destination without need to send the email to another
port, actually, we would like to have amavisd-new listening
just 10024, is it possible? Could someone give us a direction?
Regards
--
Renato Botelho
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/