On 8/19/07, Norberto Bensa <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I'm trying to implement "quarantine to mailbox" where:
>
> $mydomain = "bensa.ar";
Don't think it makes a difference here, but use single quotes here.

> (bensa.ar is my "local" or "internal" domain and is not accessible
> from internet)
>
> $spam_quarantine_to = "[EMAIL PROTECTED]";

Try the explicit method:
$spam_quarantine_to = '[EMAIL PROTECTED]';
(with single quotes when being literal)

What happens if you simply send an email to [EMAIL PROTECTED] If that is
broken, then the problem probably lies in your Postfix setup. Also try
it with amavisd-new disabled just to make sure it's a Postfix setup
problem.

>
> I've disabled spam/virus/etc check for the [EMAIL PROTECTED] account:
>
> @bypass_spam_checks_maps   = ( [ "[EMAIL PROTECTED]" ] );
> @bypass_virus_checks_maps  = ( [ "[EMAIL PROTECTED]" ] );
> @bypass_header_checks_maps = ( [ "[EMAIL PROTECTED]" ] );
> @bypass_banned_checks_maps = ( [ "[EMAIL PROTECTED]" ] );
>

Should not need to do this. Mail destined for quarantine should not be
scanned again (at least not when using Postifx).

> Postfix queue:
>
> 093887A649F     2445 Mon Aug 20 01:43:59  [EMAIL PROTECTED]
> (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing,
> id=18603-03, quar+notif FAILED: temporarily unable to quarantine: 451
> 4.5.0 From MTA([[127.0.0.1}]:10026) during fwd-connect (errno=Invalid
> argument): id=18603-03 at /usr/sbin/amavisd line 10285, <GEN19> line
> 292. (in reply to end of DATA command))
>                                          [EMAIL PROTECTED]
>
>
> Is this the correct way to do what I want (basically all spam, viruses
> to [EMAIL PROTECTED])?

If you want viruses to go there too, you would have to set:
$virus_quarantine_to = '[EMAIL PROTECTED]';

>
> BTW, this is amavisd-new-2.5.3-r2 running on a Gentoo box.
>

AFAIK 2.5.3 has not been released

> I've attached the gzipped log in case it is needed.
>
>
> Many thanks in advance,
> Norberto
>

-- 
Gary V

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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