Bluehost.com Web Hosting $6.95

Re: [AMaViS-user] Fwd: amavis-new question

This is a discussion on Re: [AMaViS-user] Fwd: amavis-new question within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Mario wrote: >>>> Hi all, >>>> I have installed postfix 2.1.5 with ...


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 07-10-2006
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] Fwd: amavis-new question

Mario wrote:

>>>> Hi all,
>>>> I have installed postfix 2.1.5 with amavis-new+clamav+spamassassin
>>>>
>>>> and I house a lot of domains. Now, my question. Amavis seems to work
>>>> perfectly with all inbound messages but only messages for one
>>>> domain
>>>> are tagged like spam. The Hits assigned from amavis is high for every
>>>>
>>>> domains but the header message and subject are changed only for one
>>>> domain. What could be the problem? What I have forgotten in the
>>>> amavis
>>>> configuration file?
>>>>

>>
>> This is the most frequently asked question on the list. A domain must
>> be considered 'local' in order to have X-Spam headers inserted among
>> other things.
>>
>> If you have a lot of domains, you can list them in a file and use
>> read_hash to load them into @local_domains_maps:
>>
>> # @local_domains_maps = ( read_hash("$MYHOME/local_domains") ); # using hash
>> # perhaps combined with Postfix: mydestination = /var/amavis/local_domains
>>
>> @local_domains_maps = ( read_hash("/etc/postfix/relay_domains") );
>> for another example.
>>
>> If you create your own file, you can use a period as subdomain wildcard:
>>
>> example.com
>> .example.org
>> .example.net
>>
>> If the RightHandSide of the hash is missing, 1 is assumed.
>>
>> See the section "No spam-related headers inserted?"
>> http://www.ijs.si/software/amavisd/#faq-spam
>>
>> Gary V


> I use postfix with mysql and in main.cf I have:
> relay_domains = mysql:/etc/postfix/mysql_relay_domains_maps.cf


> Is this possible to connect with amavis?


No, I don't think so.

> at the moment I use:
> @local_domains_acl = ( ".$mydomain", "my.other.domain" .............);


You can continue to use this, but all domains you relay for
must be listed here. If you have many, then it may be more convenient
to create a file and use the read_hash example.

It looks like you may be using an old version of amavisd-new, if so
then amavisd.conf says:

# @local_domains_acl = ( ".$mydomain", '.example.com', 'sub.example.net' );

# or alternatively(A), using a Perl hash lookup table, which may be assigned
# directly, or read from a file, one domain per line; comments and empty lines
# are ignored, a dot before a domain name implies its subdomains:
#
#read_hash(\%local_domains, '/var/amavis/local_domains');

Notice how single and double quotes are used in the example.

> Thank you very much for the help.


> Mario


Gary V



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
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 09:00 AM.


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