Bluehost.com Web Hosting $6.95

Re: [AMaViS-user] Avoiding spam scan on message originating from my network/s

This is a discussion on Re: [AMaViS-user] Avoiding spam scan on message originating from my network/s within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello, I have an urgency to solve the problem that I have exposed in this thread... Infact I realize that ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2005
Rocco Scappatura
 
Posts: n/a
Default Re: [AMaViS-user] Avoiding spam scan on message originating from my network/s

Hello,

I have an urgency to solve the problem that I have exposed in this thread...

Infact I realize that whith the rule:

@bypass_spam_checks_maps = ( [ "!.sttspa.it", "." ] );

I avoid that amavisd-new not scan the email not addressed to my domain
(sttspa.it) and so really it does not scan all the emails destined to all
other my domains... :(

I'ld like to know if I can use '/etc/mail/relay-domains' to obtain the list
of my domains... In practice, I create a symbolic link:

# ln -s /etc/mail/relay-domains /var/amavis/local_domains

then I put in amavisd.conf

read_hash(\%local_domains, '/var/amavis/local_domains');
@bypass_spam_checks_maps =
( {map {$_ => !$local_domains{$_}} keys %local_domains}, 1);

In this manner, SA should not scan all the emails not addressed for any of
my domains (and so all mails generated from my domains). Right?

Do you think that this work?

PS: The file /etc/mal/relay-domains contains 1710 rows, some of which are
commented out (start with '#'). Can the '#' cause any problem? Is the file
to big?

Thanks,

rocsca



----- Original Message -----
From: "Gary V" <lists@johnmecham.com>
To: <amavis-user@lists.sourceforge.net>
Sent: Thursday, September 22, 2005 11:56 PM
Subject: Re: [AMaViS-user] Avoiding spam scan on message originating from my
network/s


> Gary V wrote:
>
> > Your other concern was:

>
> >> 2) I have too many domains so it could be error-prone to manage domain
> >> name..

>
> Mark has provided another useful sample in amavisd-conf.sample that
> would allow you to use a single file for both local_domains and
> bypassing of checks addressed to domains that are not local.
>
> You would comment out @local_domains_maps, and instead use:
>
> read_hash(\%local_domains, '/var/amavis/local_domains');
>
> The /var/amavis/local_domains file would simply contain your domains:
> .example.com
> .example2.com
>
> Then, the genius part:
>
> @bypass_spam_checks_maps =
> ( {map {$_ => !$local_domains{$_}} keys %local_domains}, 1);
>
> and if desired:
> @bypass_banned_checks_maps = @bypass_header_checks_maps =

@bypass_spam_checks_maps;
>
> As I mentioned before, make sure all your domains are listed in the file,
> ones that are not will be bypassed.
>
> Just another possibility.
>
> Gary V
>
>
>
> -------------------------------------------------------
> 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
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/...fo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0