|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Damien Hull (dhull
digitaloverload.net)
Date: Thu Dec 06 2007 - 18:03:31 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-------- Original Message --------
Subject: Re: Amavis, ClamAV & SpamAssassin
Date: Thu, 06 Dec 2007 14:54:58 -0900
From: Damien Hull <dhull
digitaloverload.net>
To: Lydiard <lydiard
spamcop.net>
References: <47585E60.8050502
digitaloverload.net>
<47586B4F.9000707
megan.vbhcs.org>
<47587267.8030708
digitaloverload.net>
<20071206235246.ydkwr6fc3okw0sww
webmail.spamcop.net>
Lydiard wrote:
> Don't top post..
>
> ----- Message from dhull
digitaloverload.net ---------
>> I'm using amavisd-new on Ubuntu Gutsy gibbon. I would use the
>> documentation on the amavisd-new website but it doesn't match what I
>> see in /etc/amaivs.
>>
>> * I don't have an amavisd.conf file
>> * I have a directory with lots of config files in it
>> o /etc/amaivs/conf.d
>>
>> I don't know why Ubuntu Gutsy has a different setup.
>
> Because it's Ubuntu and therefore based on Debian which feels the need
> to have files in special places (I learnt this the hardway).
>
> Did you install from src/tarball? Or using a packacge manager?
>
> It sounds like you installed with a package manager if you have "lots
> of files" in the /etc/amavis/conf.d
>
> One of those - probably 20-* will have a line like
>
> $inet_socket_port = 10024; # default listenting socket
>
> That needs to be uncommented and match the port number in your postfix
> main.cf (and master.cf)
>
> Once that's done all the other steps are documented. I.e
>
> postconf -e 'content_filter = smtp-amavis:[127.0.0.1]:10024'
>
> and in master.cf
>
> #The amavis reciever
> 127.0.0.1:10025 inet n - - - - smtpd
> -o content_filter=
> -o local_recipient_maps=
> -o relay_recipient_maps=
> -o smtpd_restriction_classes=
> -o smtpd_client_restrictions=
> -o smtpd_helo_restrictions=
> -o smtpd_sender_restrictions=
> -o smtpd_recipient_restrictions=permit_mynetworks,reject
> -o mynetworks=127.0.0.0/8
> -o strict_rfc821_envelopes=yes
> -o
> receive_override_options=no_unknown_recipient_checks,no_header_body_checks
>
> -o smtpd_bind_address=127.0.0.1
>
>
> #the amavis connector, to send to amavis
> smtp-amavis unix - - - - 2 smtp
> -o smtp_data_done_timeout=1200
> -o disable_dns_lookups=yes
>
>
> Lydiard
>
I think I have figured it out.
* The above settings are correct
* You will see a virus scan in the email header
* You will not see a spam scan in the email header
* Mail is actually scanned by SpamAssassin
I had to do some reading of the config files in /etc/amavis/conf.d.
There are spam settings in 20-debian-defaults. By default Amavisd-new
doesn't add any spam header info on anything below a score of 2.0. I
changed the default to 0.0 and I get spam header info for every email. Nice!
These settings bring up a few questions.
* SpamAssassin can have user defined settings. How does this work if
Amavisd-New has its own settings?
* How do I set a global default SpamAssassin setting?
o I'm guessing there isn't one if Amavisd-New is controlling
these settings.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]