Source ClamAV with Scalix

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

limpg

Source ClamAV with Scalix

Postby limpg » Wed Oct 18, 2006 1:42 am

Hi! I have install Scalix 10 into my Linux Server. I am having a problem when need scalix run ClamAV. After I have configure Scalix with ClamAV i can't send any email out for Internal users and external. Below how I install my ClamAV with Source.

Step1
groupadd clamav
useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav

Step2

cd /usr/src/
tar xzvf clamav-0.88.4.tar.gz

Step3
./configure --sysconfdir=/etc --disable-zlib-vcheck

Step4
make
su -c "make install"

Step5
touch /var/log/freshclam.log
chmod 600 /var/log/freshclam.log
chown clamav /var/log/freshclam.log

touch /var/log/clamav.log
chmod 600 /var/log/clamav.log
chown clamav /var/log/clamav.log

Step6
vi /etc/clamd.conf
"Example" - should already be commented out. However, if it is not, make sure that it is commented out (#)
"LogFile" - should be set to /var/log/clamav.log
"LogTime" - should be uncommmented.
"LogSyslog" - should be uncommented.
"User" - should be set to clamav
"ScanMail" - should be uncommented.

vi /etc/freshclam.conf

"Example" - should already be commented out. However, if it is not, make sure that it is commented out (#)
"UpdateLogFile" - should be set to /var/log/freshclam.log
LogSyslog" - should be uncommented

When done the ClamAV, I follow the Scalix Users Guide step. Need HELP


Need to install Scalix with ClamAV

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Thu Oct 19, 2006 8:00 am

Hi Limpg,

what howto did you follow exactly?

I, personally, would recommend integrating clamAV using amavisd, which has some advantages.

Check out this howto: http://www.scalix.com/wiki/index.php?ti ... os/Amavisd for more.

Chris

limpg

Postby limpg » Sat Oct 21, 2006 1:56 am

Thank Chris

I will try to configure it. Thank for your Information and HELP.



Best Regards,
LimPG

chris
Scalix Star
Scalix Star
Posts: 321
Joined: Mon May 09, 2005 2:56 pm
Location: Freiburg, Germany

Postby chris » Sat Oct 21, 2006 4:39 am

Just a quick note - you should be able to use the clamAV you installed from source with amavisd. So you don't need to uninstall, just install the other parts.

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Tue Dec 05, 2006 2:05 am

I following the website to install amavisd-milter, step 8 instruction Configuring

amavisd-new, I installed the amavisd-new to /usr/local/amavisd-new, but I cannot

find the config file for modify, how can I modify the config file or make by myself ?



Thanks

rcabana
Posts: 23
Joined: Mon Nov 20, 2006 6:44 pm

Postby rcabana » Tue Dec 05, 2006 7:40 pm

My amavisd.conf is in /etc for RHEL4

/etc/amavisd.conf

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Thu Dec 07, 2006 12:48 am

Hi,

I has problem on step 11, after restart the sendmail, have following problem:

[root@tunnel ~]# service sendmail restart
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
Starting sendmail: WARNING: Xmilter-amavis: local socket name /var/amavis/amavisd-milter.sock missing
[ OK ]
Starting sm-client: [ OK ]




Thanks !!

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Thu Dec 07, 2006 2:30 am

I triend to convert the sendmail.mc and sendmail.cf to default but the problem still

can't solve.

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Thu Dec 07, 2006 4:26 am

The following is /var/log/maillog:

Dec 7 16:21:45 tunnel sendmail[8170]: kB78LjAV008170: Milter (milter-amavis): to error state
Dec 7 16:21:45 tunnel sendmail[8170]: kB78LjAV008170: Milter: initialization failed, temp failing commands
Dec 7 16:22:39 tunnel sendmail[8176]: kB78MdCm008176: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Dec 7 16:22:39 tunnel sendmail[8176]: kB78MdCm008176: Milter (milter-amavis): to error state
Dec 7 16:22:39 tunnel sendmail[8176]: kB78MdCm008176: Milter: initialization failed, temp failing commands
Dec 7 16:23:20 tunnel sendmail[8188]: kB78NKIv008188: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Dec 7 16:23:20 tunnel sendmail[8188]: kB78NKIv008188: Milter (milter-amavis): to error state
Dec 7 16:23:20 tunnel sendmail[8188]: kB78NKIv008188: Milter: initialization failed, temp failing commands
Dec 7 16:23:43 tunnel sendmail[8195]: kB78NhnA008195: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Dec 7 16:23:43 tunnel sendmail[8195]: kB78NhnA008195: Milter (milter-amavis): to error state
Dec 7 16:23:43 tunnel sendmail[8195]: kB78NhnA008195: Milter: initialization failed, temp failing commands
Dec 7 16:24:14 tunnel sendmail[8199]: kB78OEVD008199: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Dec 7 16:24:14 tunnel sendmail[8199]: kB78OEVD008199: Milter (milter-amavis): to error state
Dec 7 16:24:14 tunnel sendmail[8199]: kB78OEVD008199: Milter: initialization failed, temp failing commands
Dec 7 16:24:58 tunnel sendmail[8205]: kB78OwSo008205: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Dec 7 16:24:58 tunnel sendmail[8205]: kB78OwSo008205: Milter (milter-amavis): to error state
Dec 7 16:24:58 tunnel sendmail[8205]: kB78OwSo008205: Milter: initialization failed, temp failing commands

leiw
Posts: 69
Joined: Wed Nov 29, 2006 11:24 am

Postby leiw » Thu Dec 07, 2006 9:19 pm

Anyone can help ?


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest