Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-19 Thread Gary V
> I followed all steps and rebooted the server. I then checked running
> processes in a program called "htop" and I did not see "clamd" or
> "clamav" listed anywhere which I found strange however I do see amavis
> running. I then checked to see if clamd or clamav was running:
>

Try:
ps aux | grep clam | grep -v grep

on a system I have it shows:
clamav2498  0.0 11.3  60560 58508 ?Ss   19:57   0:00 /usr/sbin/clamd
clamav2591  0.0  0.2   2844  1220 ?Ss   19:57   0:00
/usr/bin/freshclam -d --quiet

>
> email:~# apt-cache policy clamav-daemon
> clamav-daemon:
>  Installed: 0.93.1.dfsg-1.1~bpo40+1
>  Candidate: 0.93.1.dfsg-1.1~bpo40+1
>  Version table:
>  *** 0.93.1.dfsg-1.1~bpo40+1 0
>  1 http://www.backports.org etch-backports/main Packages
>100 /var/lib/dpkg/status
> 0.90.1dfsg-3.1+etch14 0
>500 http://security.debian.org etch/updates/main Packages
> 0.90.1dfsg-3etch11 0
>500 http://ftp.us.debian.org etch/main Packages

So you are using etch backports for clamav. This is fine. You can do
this as an alternate to volatile.

>I checked that file "15-content_filler_mode" and I have some lines
>there but they're all commented out. I am also confused because I was
>told that "50-user" is the last config file to load so anything I add
>in "50-user" will over ride the other config files. Am I missing
>something here or not understanding something? I am still struggling
>to understand Debians approach to multiple config files rather than a
>simple /etc/amavis.conf file. If my amavisd-new config is all listed
>in "50-user", should I still follow your suggestion and make changes
>to "15-content_filler_mode" to get Clamav working?

What you are not understanding is that you can do what you want. It is
generally recommended to place your setting overrides in 50-user, but
it is not mandantory (and on a rare occasion, not the best option for
some settings). I think the idea behind splitting up one config file
into multiple files was to aide with upgrades. If the Debian installer
detects that you have not modified a given config file, it will assume
it can replace it with a new version. This may make it easier for the
package maintainers to perform upgrades. If you have modified a given
file, it may ask you what you want to do during the upgrade (keep the
old one, replace it, etc.). The only purpose of the
15-content_filter_mode file is to enable or disable spam and/or virus
scanning. Personally, I would simply edit that file (probably because
it's easier to do), but if you like, you could copy the required lines
into 50-user. I think the latter approach is more error prone however.

As mouss says, look at your logs. Watching the mail log when testing
is a great way to spot problems. Open an additional terminal session
and tail the mail log while starting amavisd-new.

tail -f /var/log/mail.log

-- 
Gary V

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-19 Thread mouss
Carlos Williams wrote:
> On Tue, Aug 19, 2008 at 3:35 PM, Alexander Wirt <[EMAIL PROTECTED]> wrote:
>>If you use clamav-daemon, make sure that it is configured to init
>>supplementary groups when it drops priviledges, and that you add the
>>clamav user to the amavis group: add AllowSupplementaryGroups to
>>/etc/clamav/clamd.conf if it is not there yet, and run "adduser
>>clamav amavis" as root.
> 
> I am using clamav-daemon. I don't know how to check if it is
> configured to init supplementary groups when it drops privileges.
> Actually, I don't even understand what that means.
> I did add clamav to
> the amavis group, I am 100% sure! I also checked that
> AllowSupplementaryGroups is true in clamd.conf.  I don't understand
> running "adduser clamav amavis" as root.

add the clamav user to the amavis group.
# grep clamav /etc/group
...
vscan:*:123:clamav
(here, vscan is the amavis group)

> Those two users already exist
> and were created when I installed Amavis and Clamav.

Look at the logs of amavisd-new when it starts. it should say something 
like this:
... Using primary internal av scanner code for ClamAV-clamd
... Found secondary av scanner ClamAV-clamscan at ...



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-19 Thread Alexander Wirt
Carlos Williams schrieb am Dienstag, den 19. August 2008:

> On Tue, Aug 19, 2008 at 3:35 PM, Alexander Wirt <[EMAIL PROTECTED]> wrote:
> >If you use clamav-daemon, make sure that it is configured to init
> >supplementary groups when it drops priviledges, and that you add the
> >clamav user to the amavis group: add AllowSupplementaryGroups to
> >/etc/clamav/clamd.conf if it is not there yet, and run "adduser
> >clamav amavis" as root.
> 
> I am using clamav-daemon. I don't know how to check if it is
> configured to init supplementary groups when it drops privileges.
> Actually, I don't even understand what that means. I did add clamav to
> the amavis group, I am 100% sure! I also checked that
> AllowSupplementaryGroups is true in clamd.conf. I don't understand
> running "adduser clamav amavis" as root. Those two users already exist
> and were created when I installed Amavis and Clamav.
I give up. Hire someone with basic unix/linux knowledge. 

Thanks

Alex

-- 
Alexander Wirt, [EMAIL PROTECTED] 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-19 Thread Carlos Williams
On Tue, Aug 19, 2008 at 3:35 PM, Alexander Wirt <[EMAIL PROTECTED]> wrote:
>If you use clamav-daemon, make sure that it is configured to init
>supplementary groups when it drops priviledges, and that you add the
>clamav user to the amavis group: add AllowSupplementaryGroups to
>/etc/clamav/clamd.conf if it is not there yet, and run "adduser
>clamav amavis" as root.

I am using clamav-daemon. I don't know how to check if it is
configured to init supplementary groups when it drops privileges.
Actually, I don't even understand what that means. I did add clamav to
the amavis group, I am 100% sure! I also checked that
AllowSupplementaryGroups is true in clamd.conf. I don't understand
running "adduser clamav amavis" as root. Those two users already exist
and were created when I installed Amavis and Clamav.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-19 Thread Alexander Wirt
Carlos Williams schrieb am Dienstag, den 19. August 2008:

> On Mon, Aug 18, 2008 at 3:19 PM, MrC <[EMAIL PROTECTED]> wrote:
> > GaryV's documents here are all very good and thorough:
> >
> > http://www200.pair.com/mecham/spam/
> >
> > MrC
> 
> I found this link super helpful and thought I had this in the bag
> based on how straight forward the guide was however I had one problem.
> 
> When I installed clamav using my package manager from Debian, I did
> not get clamav-daemon, just clamav-freshclam however it did auto
> install /etc/clamav/clamd.conf.
> I followed all steps and rebooted the server. I then checked running
> processes in a program called "htop" and I did not see "clamd" or
> "clamav" listed anywhere which I found strange however I do see amavis
> running. I then checked to see if clamd or clamav was running:
> 
> email:~# /etc/init.d/clamav-daemon status
> clamd is running.
> email:~# /etc/init.d/clamav-freshclam status
> freshclam is running.
> 
> It appears that the two daemons are running but I can't see them in
> "htop" for whatever reason. I then sent myself an email and checked
> the headers - I was looking for a section in the received headers
> labeled "X-Virus-Scanned: amavisd-new at example.net" and I don't see
> that anywhere in my email headers now. How do I know if Amavisd-new
> and ClamAV are working? I see the daemons running for Amavisd-New but
> not Clamav even though it shows they're running.
Call clamdscan on the eicar file. Amavis uses the clamdsocket if available. 

Also please take sure that you followed the documentation of amavisd-new: 

If you use clamav-daemon, make sure that it is configured to init
supplementary groups when it drops priviledges, and that you add the
clamav user to the amavis group: add AllowSupplementaryGroups to
/etc/clamav/clamd.conf if it is not there yet, and run "adduser
clamav amavis" as root.

(Taken from the amavisd-new README.Debian). 

Also don't look at the headers. Use amavisd-new in debug mode or raise the
loglevel and look into your logs. 

Alex
-- 
Alexander Wirt, [EMAIL PROTECTED] 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-19 Thread Carlos Williams
On Mon, Aug 18, 2008 at 3:19 PM, MrC <[EMAIL PROTECTED]> wrote:
> GaryV's documents here are all very good and thorough:
>
> http://www200.pair.com/mecham/spam/
>
> MrC

I found this link super helpful and thought I had this in the bag
based on how straight forward the guide was however I had one problem.

When I installed clamav using my package manager from Debian, I did
not get clamav-daemon, just clamav-freshclam however it did auto
install /etc/clamav/clamd.conf.
I followed all steps and rebooted the server. I then checked running
processes in a program called "htop" and I did not see "clamd" or
"clamav" listed anywhere which I found strange however I do see amavis
running. I then checked to see if clamd or clamav was running:

email:~# /etc/init.d/clamav-daemon status
clamd is running.
email:~# /etc/init.d/clamav-freshclam status
freshclam is running.

It appears that the two daemons are running but I can't see them in
"htop" for whatever reason. I then sent myself an email and checked
the headers - I was looking for a section in the received headers
labeled "X-Virus-Scanned: amavisd-new at example.net" and I don't see
that anywhere in my email headers now. How do I know if Amavisd-new
and ClamAV are working? I see the daemons running for Amavisd-New but
not Clamav even though it shows they're running.

Thanks for any help again!

Here is what is installed:

==

email:~# apt-cache policy clamav-daemon
clamav-daemon:
  Installed: 0.93.1.dfsg-1.1~bpo40+1
  Candidate: 0.93.1.dfsg-1.1~bpo40+1
  Version table:
 *** 0.93.1.dfsg-1.1~bpo40+1 0
  1 http://www.backports.org etch-backports/main Packages
100 /var/lib/dpkg/status
 0.90.1dfsg-3.1+etch14 0
500 http://security.debian.org etch/updates/main Packages
 0.90.1dfsg-3etch11 0
500 http://ftp.us.debian.org etch/main Packages

email:~# apt-cache policy clamav-freshclam
clamav-freshclam:
  Installed: 0.93.1.dfsg-1.1~bpo40+1
  Candidate: 0.93.1.dfsg-1.1~bpo40+1
  Version table:
 *** 0.93.1.dfsg-1.1~bpo40+1 0
  1 http://www.backports.org etch-backports/main Packages
100 /var/lib/dpkg/status
 0.90.1dfsg-3.1+etch14 0
500 http://security.debian.org etch/updates/main Packages
 0.90.1dfsg-3etch11 0
500 http://ftp.us.debian.org etch/main Packages

email:~# apt-cache policy amavisd-new
amavisd-new:
  Installed: 1:2.4.2-6.1
  Candidate: 1:2.4.2-6.1
  Version table:
 *** 1:2.4.2-6.1 0
500 http://ftp.us.debian.org etch/main Packages
100 /var/lib/dpkg/status

==

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-19 Thread Carlos Williams
On Mon, Aug 18, 2008 at 10:06 PM, Gary V <[EMAIL PROTECTED]> wrote:
> On 8/18/08, Carlos Williams <[EMAIL PROTECTED]> wrote:
>> But I already have Amavid-new installed and what I believe to be
>> working on my Etch machine.
>
> That's fine, I was not asking you to reinstall it.

OK - sorry. I am just very confused here and don't want to confuse any
steps which could break anything I already have working.

>> > add this to /etc/apt/sources.list:
>> >
>> > deb http://volatile.debian.org/debian-volatile etch/volatile main
>> >
>> > Then run:
>> > gpg --keyserver subkeys.pgp.net --recv-key BBE55AB3
>> > gpg --armor --export BBE55AB3 | apt-key add -
>> >
>> > run:
>> > apt-get update
>> > then:
>> > apt-get install clamav clamav-daemon clamav-freshclam

How are the packages listed from the above repo different from the
ones I have from Etch or Backports?

email:/etc/amavis/conf.d# apt-cache policy clamav
clamav:
  Installed: 0.93.1.dfsg-1.1~bpo40+1
  Candidate: 0.93.1.dfsg-1.1~bpo40+1
  Version table:
 *** 0.93.1.dfsg-1.1~bpo40+1 0
  1 http://www.backports.org etch-backports/main Packages
100 /var/lib/dpkg/status
 0.90.1dfsg-3.1+etch14 0
500 http://security.debian.org etch/updates/main Packages
 0.90.1dfsg-3etch11 0
500 http://ftp.us.debian.org etch/main Packages

>> This is interesting to me because the current Etch repos have a slight
>> revision back of Clamav and it always complains when I run "freshclam"
>>
>> ==
>
> You can expect this, it usually takes a week or two for volatile to get 
> updated.

OK - that is fine.

> You are not running etch, you are running lenny, so for now you do not
> need to use volatile at all. Once lenny is released as stable, you
> will want to add a lenny volatile source. You have no need to add an
> etch volatile source.

Sorry, I am running Etch. I posted output from the wrong server
yesterday. I am 100% running Debian Etch (Stable).

>> When I started to get my Amavisd-new config working, I only modified
>> /etc/amavis/conf.d/50-user. I never edited "15-content_filler_mode"
>> before so I don't know if you're assuming I should already have
>> something in "15-content_filler_mode".
>>
>
> You will have something there. Read the file - virus and spam scanning
> are disabled by default - typically you enable them by editing this
> file.

I checked that file "15-content_filler_mode" and I have some lines
there but they're all commented out. I am also confused because I was
told that "50-user" is the last config file to load so anything I add
in "50-user" will over ride the other config files. Am I missing
something here or not understanding something? I am still struggling
to understand Debians approach to multiple config files rather than a
simple /etc/amavis.conf file. If my amavisd-new config is all listed
in "50-user", should I still follow your suggestion and make changes
to "15-content_filler_mode" to get Clamav working?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-18 Thread Gary V
On 8/18/08, Carlos Williams <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 18, 2008 at 9:25 PM, Gary V <[EMAIL PROTECTED]> wrote:
> > Thanks MrC, but they would be a bit to go through.
> > For a plain amavisd-new install on etch:
>
> But I already have Amavid-new installed and what I believe to be
> working on my Etch machine.

That's fine, I was not asking you to reinstall it.

>
> > add this to /etc/apt/sources.list:
> >
> > deb http://volatile.debian.org/debian-volatile etch/volatile main
> >
> > Then run:
> > gpg --keyserver subkeys.pgp.net --recv-key BBE55AB3
> > gpg --armor --export BBE55AB3 | apt-key add -
> >
> > run:
> > apt-get update
> > then:
> > apt-get install clamav clamav-daemon clamav-freshclam
>
> This is interesting to me because the current Etch repos have a slight
> revision back of Clamav and it always complains when I run "freshclam"
>
> ==

You can expect this, it usually takes a week or two for volatile to get updated.

>
> mail:~# apt-cache policy clamav
> clamav:
>  Installed: 0.93.1.dfsg-1.1
>  Candidate: 0.93.1.dfsg-1.1
>  Version table:
>  *** 0.93.1.dfsg-1.1 0
>500 http://ftp.us.debian.org lenny/main Packages
>100 /var/lib/dpkg/status
> 0.93~dfsg-1+lenny1 0
>500 http://security.debian.org lenny/updates/main Packages
>

You are not running etch, you are running lenny, so for now you do not
need to use volatile at all. Once lenny is released as stable, you
will want to add a lenny volatile source. You have no need to add an
etch volatile source.

> ==
>
> > edit /etc/amavis/conf.d/15-content_filter_mode
> > and remove comments from the two appropriate lines:
> > [EMAIL PROTECTED] = (
> > #   \%bypass_virus_checks, [EMAIL PROTECTED], \$bypass_virus_checks_re);
>
> When I started to get my Amavisd-new config working, I only modified
> /etc/amavis/conf.d/50-user. I never edited "15-content_filler_mode"
> before so I don't know if you're assuming I should already have
> something in "15-content_filler_mode".
>

You will have something there. Read the file - virus and spam scanning
are disabled by default - typically you enable them by editing this
file.

> > Note that if you install spamassassin, it will get upgraded to
> > whatever version is in volatile
>
> I have no even started to play or install with Spamassassin yet. I
> first wanted to get Clamav working and then move to that next. Baby
> steps ;)
>

-- 
Gary V

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-18 Thread Carlos Williams
On Mon, Aug 18, 2008 at 9:25 PM, Gary V <[EMAIL PROTECTED]> wrote:
> Thanks MrC, but they would be a bit to go through.
> For a plain amavisd-new install on etch:

But I already have Amavid-new installed and what I believe to be
working on my Etch machine.

> add this to /etc/apt/sources.list:
>
> deb http://volatile.debian.org/debian-volatile etch/volatile main
>
> Then run:
> gpg --keyserver subkeys.pgp.net --recv-key BBE55AB3
> gpg --armor --export BBE55AB3 | apt-key add -
>
> run:
> apt-get update
> then:
> apt-get install clamav clamav-daemon clamav-freshclam

This is interesting to me because the current Etch repos have a slight
revision back of Clamav and it always complains when I run "freshclam"

==

mail:~# apt-cache policy clamav
clamav:
  Installed: 0.93.1.dfsg-1.1
  Candidate: 0.93.1.dfsg-1.1
  Version table:
 *** 0.93.1.dfsg-1.1 0
500 http://ftp.us.debian.org lenny/main Packages
100 /var/lib/dpkg/status
 0.93~dfsg-1+lenny1 0
500 http://security.debian.org lenny/updates/main Packages

==

> edit /etc/amavis/conf.d/15-content_filter_mode
> and remove comments from the two appropriate lines:
> [EMAIL PROTECTED] = (
> #   \%bypass_virus_checks, [EMAIL PROTECTED], \$bypass_virus_checks_re);

When I started to get my Amavisd-new config working, I only modified
/etc/amavis/conf.d/50-user. I never edited "15-content_filler_mode"
before so I don't know if you're assuming I should already have
something in "15-content_filler_mode".

> Note that if you install spamassassin, it will get upgraded to
> whatever version is in volatile

I have no even started to play or install with Spamassassin yet. I
first wanted to get Clamav working and then move to that next. Baby
steps ;)

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-18 Thread Gary V
Thanks MrC, but they would be a bit to go through.
For a plain amavisd-new install on etch:

add this to /etc/apt/sources.list:

deb http://volatile.debian.org/debian-volatile etch/volatile main

Then run:
gpg --keyserver subkeys.pgp.net --recv-key BBE55AB3
gpg --armor --export BBE55AB3 | apt-key add -

run:
apt-get update
then:
apt-get install clamav clamav-daemon clamav-freshclam

edit /etc/amavis/conf.d/15-content_filter_mode
and remove comments from the two appropriate lines:
[EMAIL PROTECTED] = (
#   \%bypass_virus_checks, [EMAIL PROTECTED], \$bypass_virus_checks_re);

Run (to add clamav user to amavis group):
gpasswd -a clamav amavis

Then:
/etc/init.d/amavis stop
/etc/init.d/clamav-daemon stop
/etc/init.d/clamav-daemon start
/etc/init.d/amavis start

I suggest you watch your mail log for signs of trouble. Ideally you would test.

Note that if you install spamassassin, it will get upgraded to
whatever version is in volatile

apt-cache policy spamassassin
will show what version you would get.

-- 
Gary V

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-18 Thread MrC
Carlos,

Carlos Williams wrote:
> I am assuming based on my headers from received emails that
> Amavisd-new is running however I don't have anything running that
> Amavisd-new can use like Clamav. I am really trying to get Clamav
> (clamd) to run on my Postfix email server / Debian 4.0 (Etch) and
> can't find any guides that were written in the last 5 years. They all
> appear very outdated and am looking for someone to help me get Clamav
> working on my email server.
> 
> First is to make sure Amavisd-new is installed = check
> Next is to make sure Amavisd-new is running = check
> Make sure Postfix can use Amavisd-new = check (maybe)
> 
> ===
> 
> Return-Path: [EMAIL PROTECTED]
> X-Original-To: [EMAIL PROTECTED]
> Delivered-To: [EMAIL PROTECTED]
> Received: from localhost (localhost [127.0.0.1])
> by email.example.net (Postfix) with ESMTP id D9B33211C140
> for <[EMAIL PROTECTED]>; Sun, 17 Aug 2008 16:42:45 -0400 (EDT)
> Received: from email.example.net ([127.0.0.1])
> by localhost (email.example.net [127.0.0.1]) (amavisd-new, port 10024)
> with ESMTP id Ll-O6he+Nkrg for <[EMAIL PROTECTED]>;
> Sun, 17 Aug 2008 16:42:45 -0400 (EDT)
> Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231])
> by email.example.net (Postfix) with ESMTP id A198A211C109
> for <[EMAIL PROTECTED]>; Sun, 17 Aug 2008 16:42:45 -0400 (EDT)
> 
> 
> ===
> 
> I see "amavisd-new, port 10024 in the headers so I can only then
> assume Amavisd-new is working, right? Lets hope so and now I have
> installed the latest version of Clamav on my Debian server and it is
> running but I have no idea how to make this work with Postfix /
> Amavisd-new. Does anyone have any suggestions and or assistance? I
> checked the site and did a Google search and could not find anything
> that was not extremely old and did not apply or did not apply to Exim4
> MTA rather than Postfix MTA.
> 
> Thanks for any help.
> 
> 

GaryV's documents here are all very good and thorough:

http://www200.pair.com/mecham/spam/

MrC


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


[AMaViS-user] Getting Amavisd-new To Use Clamav

2008-08-18 Thread Carlos Williams
I am assuming based on my headers from received emails that
Amavisd-new is running however I don't have anything running that
Amavisd-new can use like Clamav. I am really trying to get Clamav
(clamd) to run on my Postfix email server / Debian 4.0 (Etch) and
can't find any guides that were written in the last 5 years. They all
appear very outdated and am looking for someone to help me get Clamav
working on my email server.

First is to make sure Amavisd-new is installed = check
Next is to make sure Amavisd-new is running = check
Make sure Postfix can use Amavisd-new = check (maybe)

===

Return-Path: [EMAIL PROTECTED]
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from localhost (localhost [127.0.0.1])
by email.example.net (Postfix) with ESMTP id D9B33211C140
for <[EMAIL PROTECTED]>; Sun, 17 Aug 2008 16:42:45 -0400 (EDT)
Received: from email.example.net ([127.0.0.1])
by localhost (email.example.net [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id Ll-O6he+Nkrg for <[EMAIL PROTECTED]>;
Sun, 17 Aug 2008 16:42:45 -0400 (EDT)
Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231])
by email.example.net (Postfix) with ESMTP id A198A211C109
for <[EMAIL PROTECTED]>; Sun, 17 Aug 2008 16:42:45 -0400 (EDT)


===

I see "amavisd-new, port 10024 in the headers so I can only then
assume Amavisd-new is working, right? Lets hope so and now I have
installed the latest version of Clamav on my Debian server and it is
running but I have no idea how to make this work with Postfix /
Amavisd-new. Does anyone have any suggestions and or assistance? I
checked the site and did a Google search and could not find anything
that was not extremely old and did not apply or did not apply to Exim4
MTA rather than Postfix MTA.

Thanks for any help.


-- 
Man your battle stations...

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/