On 8/15/07, asguard bad <asguard009 yahoo.fr> wrote:
> Hi,
>
>
> >My first suspicion is amavisd-new is not using the
configuration file
> >that you are modifying. Make a deliberate mistake
in this file - add a
> >bare word so amavisd-new croaks. Then reload
amavisd-new and ensure it
> >does croak as expected. Second guess would be your
new version is
> >configured to use SQL and SQL is overriding the
spam_lover setting. If
> >that is the case, we just discussed that
situation:
>
> >http://marc.info/
?t=118680084300002
>
> >--
> >Gary V
>
> I remove file and copy amavisd.conf and modify few
informations (domain,
> mails spams etc....)
>
> If I make a deliberate mistake, per example :
>
> bypass_spam_check_maps = ( [qw(toto domain1.com)] );
>
> I see this error :
>
> Error in config file
"/usr/local/etc/amavisd.conf": Global symbol
> " bypass_spam_check_maps" requires explicit
package name
> at /usr/local/etc/amavisd.conf line 185.
>
>
> I'm not using SQL.
>
> Thanks in advance,
> Vincent...
>From amavisd.conf-sample (exactly the same concept for
spam/banned/badh):
# bypass_virus_checks_maps does NOT GUARANTEE the
message will NOT be checked
# for viruses - this may still happen when there is more
than one recipient
# for a message and not all of them match these lookup
tables, or when
# check result was cached (i.e. the same contents was
recently sent to other
# recipients). To guarantee virus delivery, a recipient must
also match
# virus_lovers_maps lookups (but see milter limitations
above),
I would suggest debugging. Use of debug_sender_maps works
well. For example:
debug_sender_maps = ( ["test-sender $mydomain"] );
Send a message from the test sender to toto domain1.com. It will log
(once) at level 5. Then grep the log for 'bypass'. Reload
amavisd-new
to test again. Remove debug_sender_maps when finished.
--
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
AMaViS-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
|