Jump to content
guedz

KAV MAIL SERVER AND POSTFIX

Recommended Posts

I have test KAV for postfix, I works during 2 hours and after not works

 

If i launch smtpscanner in shell, It's works perfectly

the daemon aveserver works (view with ps -aux | grep av)

 

If i test with telnet :

 

telnet localhost 10030

Trying 127.0.0.1...

Connected to localhost (127.0.0.1).

Escape character is '^]'.

Connection closed by foreign host.

 

 

smtpscanner don't work

 

If i look the logs of my server :

 

postfix/spawn[3736]: warning: command /opt/kav/5.5/kav4mailservers/bin/smtpscanner exit status 73

 

Have you an idea about the status 73 or an idea for a solution

 

Sorry for my english, i am french

 

[uPDATE]

 

I have test the debug mode for having more log but I have the same error message

 

I use :

 

Kaspersky Anti-Virus SMTP Scanner 5.5.2/RELEASE build #109, compiled May 23 2005, 19:15:33

Kaspersky Anti-Virus server 5.5.2/RELEASE build #138, compiled May 23 2005, 19:18:01

 

under Linux Mandrake 10.1 and postfix :

 

Composant postfix Classe System/Servers

Version 2.1.4-2mdk Fournisseur Mandrakesoft

Architecture i586 Installé le 13/Mars/2005 18:45

Share this post


Link to post
I have test KAV for postfix, I works during 2 hours and after not works

If i launch smtpscanner in shell, It's works perfectly

the daemon aveserver works (view with ps -aux | grep av)

If i test with telnet :

smtpscanner don't work

If i look the logs of my server :

Have you an idea about the status 73 or an idea for a solution

Sorry for my english, i am french

 

Can you paste output from

 

/var/log/kav/smtpscanner and aveserver

 

also from /var/log/messages

and /var/log/mail

 

I think that you have problem with avserver daemon,but i am not sure..

just paste log's here and i will help you :)

Share this post


Link to post
Can you paste output from

 

/var/log/kav/smtpscanner and aveserver

 

also from /var/log/messages

and /var/log/mail

 

I think that you have problem with avserver daemon,but i am not sure..

just paste log's here and i will help you :)

 

hi,

 

please find information what you want :

 

/var/log/messages (join at this post 2 files about messages)

 

and for /var/log/mail : view the file mail.zip

 

I add also my configuration file for kav mailserver et the log's file

 

Thanks for your help

messages.1.gz

messages.gz

mail.zip

kav4mailservers.conf.zip

kav4mailservers.zip

Share this post


Link to post
hi,

 

please find information what you want :

 

/var/log/messages (join at this post 2 files about messages)

 

and for /var/log/mail : view the file mail.zip

 

I add also my configuration file for kav mailserver et the log's file

 

Thanks for your help

 

 

Ok,

i have saw the files,

can you send me just /var/log/kav/smtpscaner.log file to check it out ?

 

Thanks

Share this post


Link to post
Ok,

i have saw the files,

can you send me just /var/log/kav/smtpscaner.log file to check it out ?

 

Thanks

 

In the file named kav4mailservers.zip you can find the smtpscanner.log (you have in this files all files /var/log/kav/ for kav mail server)

Share this post


Link to post
In the file named kav4mailservers.zip you can find the smtpscanner.log (you have in this files all files /var/log/kav/ for kav mail server)

 

oh,sorry i did't saw it :(

 

i will start looking right now :(

 

sorry once more

Share this post


Link to post
No problem :) thanks for your help

 

Hi,

can you try to update kav ?

 

and show me the output ?

 

so just go to /opt/kav/5.5/kav4mailservers/bin/keepup2date

 

and paste out here or to my e-mail adress srle@singi.co.yu

 

thanks

Share this post


Link to post
Hi,

can you try to update kav ?

 

and show me the output ?

 

so just go to /opt/kav/5.5/kav4mailservers/bin/keepup2date

 

and paste out here or to my e-mail adress srle@singi.co.yu

 

thanks

 

Hi,

 

for information i have a cron who launch /opt/kav/5.5/kav4mailservers/bin/keepup2date every 15 mns

 

If i launch manually keepup2date :

 

> /opt/kav/5.5/kav4mailservers/bin/keepup2date

Kaspersky KeepUp2Date 5.5.2/RELEASE build #98

Copyright © Kaspersky Lab, 1997-2005.

Portions Copyright © Lan Crypto

Configuration file: /etc/kav/5.5/kav4unix/kav4unix.conf

Getting product configuration

Getting updater configuration

Checking product license keys

Initializing

Trying to update from 'http://ru1h.kaspersky-labs.com'

Parsing update description file

Checking black list integrity

Checking license keys

Copying update description file

Downloading remote file master.xml

Checking update description file integrity

Parsing update description file

Checking license keys

Nothing to update

Standard AV bases are OK, latest update: 06-07-2005, total records: 129433.

Extended AV bases are OK, latest update: 06-07-2005, total records: 137072.

Redundant AV bases are OK, latest update: 06-07-2005, total records: 138238.

Checking new bases

Clearing reserve dir

Replacing files

Configuration file: /etc/kav/5.5/kav4mailservers/kav4mailservers.conf

Getting product configuration

Getting updater configuration

Checking product license keys

Initializing

Trying to update from 'http://ru1h.kaspersky-labs.com'

Parsing update description file

Checking black list integrity

Checking license keys

Copying update description file

Downloading remote file master.xml

Checking update description file integrity

Parsing update description file

Checking license keys

Nothing to update

Standard AV bases are OK, latest update: 06-07-2005, total records: 129433.

Extended AV bases are OK, latest update: 06-07-2005, total records: 137072.

Redundant AV bases are OK, latest update: 06-07-2005, total records: 138238.

Checking new bases

Clearing reserve dir

Replacing files

Share this post


Link to post
Hi,

 

for information i have a cron who launch /opt/kav/5.5/kav4mailservers/bin/keepup2date every 15 mns

 

If i launch manually keepup2date :

 

> /opt/kav/5.5/kav4mailservers/bin/keepup2date

Kaspersky KeepUp2Date 5.5.2/RELEASE build #98

 

 

ok,

see this:

First of all, make sure that you done our recommendation from

release_notes:

http://downloads1.kaspersky-labs.com/produ...lish/businessop

timal/email_gateways/kavsendmailqmailpostfixexim/kavlinux/release_notes_

ms.htm

 

Especially this:

 

- To use Kaspersky Anti-Virus on Mandrake 10.1 with Postfix mail server,

you need to turn off Postfix chroot,

by executing /usr/sbin/postfix-chroot.sh disable.

- On Mandrake, permissions on log directory are set up incorrectly, and

need to be fixed by executing chmod -R 0777 /var/log/kav/

 

Signal 2 - interruption from keyboard, do you start smtpscanner

manually?

 

Code 73 means, that smtpscanner can't write in log.

 

Please change in config file:

[smtpscan.report]

ReportLevel=10

 

Then start from root:

strace -s 2048 -o /tmp/smtpscanner.trace -f -p `cat

/var/spool/postfix/pid/master.pid`

 

And #ls -lR /var/log/kav /var/db/kav >/tmp/kav-dirs-ls

 

Then please send me:

/tmp/smtpscanner.trace

/tmp/kav-dirs-ls

/etc/kav/5.5/kav4mailservers/kav4mailservers.conf

/var/log/kav/5.5/kav4mailservers/smtpscanner.log

Share this post


Link to post
Code 73 means, that smtpscanner can't write in log.

 

Hi and thanks for your help

 

I have make a some test, the error code 73 means smtpscanner can't write in log

 

Remove the chroot my server then means to lower the safety of my server and thus this is not a good solution. As the concern is the file I have then simply by the configuration of kav move the file log so that it is in the chroot of my server postfix

 

[smtpscan.report]

ReportFilePermission=0666

ShowOk=yes

ReportFileName=/var/spool/postfix/smtpscanner.log

ReportLevel=4

AVStatistics=

 

for the moment the smtpscanner.log filled correctly and my server postfix works correctly

 

I think is the better solution for my problem because chmod 777 for a directorie for a server web is, for me, a good solution et delete the chroot of my server mail is still a bad solution. My server is'nt in a DMZ and my firewall is the iptables of my server (i don't use a router).

 

I would hold you with the current if the solution is stable

 

thank you still for your assistance which enabled me to find the origin of my concern

Share this post


Link to post
Hi and thanks for your help

 

I have make a some test, the error code 73 means smtpscanner can't write in log

 

Remove the chroot my server then means to lower the safety of my server and thus this is not a good solution. As the concern is the file I have then simply by the configuration of kav move the file log so that it is in the chroot of my server postfix

for the moment the smtpscanner.log filled correctly and my server postfix works correctly

 

I think is the better solution for my problem because chmod 777 for a directorie for a server web is, for me, a good solution et delete the chroot of my server mail is still a bad solution. My server is'nt in a DMZ and my firewall is the iptables of my server (i don't use a router).

 

I would hold you with the current if the solution is stable

 

thank you still for your assistance which enabled me to find the origin of my concern

 

Hi,

 

For the moment, my postfix server works correctly, i think that this solution is good, my server have treaty more 500 mails without problem with kav mail server for unix

Share this post


Link to post
Hi,

 

For the moment, my postfix server works correctly, i think that this solution is good, my server have treaty more 500 mails without problem with kav mail server for unix

 

Hello,

just take a look at log's do you see smtpscanner component ?

 

take a look at header see this ?

 

X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 08072005 #129782, status: infected

Share this post


Link to post
Hello,

just take a look at log's do you see smtpscanner component ?

 

take a look at header see this ?

 

X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 08072005 #129782, status: infected

 

Hi,

 

I don't see smtpscanner in all file of log (but in the smtpscanner.log :) i can see information about this component :))

 

and for the header, this is example from a mail :

 

X-Priority: 3

X-Mailer: PHPMailer [version 1.72]

MIME-Version: 1.0

Content-Type: multipart/mixed;

boundary="b1_5853d5e317a58c07de511348eeb45267"

X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.2/RELEASE, bases: 08072005 #137495, status: clean

 

KAV mail server works perfectly with my chroot in linux mandrake 10.1 :)

Share this post


Link to post
KAV mail server works perfectly with my chroot in linux mandrake 10.1 :)

 

Cool this means that evrything is ok :)

 

so have you tryed to use Kaspersky Anti Spam ? If you have

time try it i think anti spam is very good :)

 

 

br

Share this post


Link to post

Hi,

 

I have now notice this :

 

Jul 19 20:15:28 guedz postfix/spawn[25161]: warning: command /opt/kav/5.5/kav4mailservers/bin/smtpscanner exit status 75

Jul 20 00:04:22 guedz postfix/smtp[12568]: warning: numeric domain name in resource data of MX record for game-killer.com: 127.0.1.51

Jul 20 00:04:22 guedz postfix/smtp[12568]: warning: host 127.0.1.51[127.0.1.51] greeted me with my own hostname guedz.dyndns.org

Jul 20 00:04:22 guedz postfix/smtp[12568]: warning: host 127.0.1.51[127.0.1.51] replied to HELO/EHLO with my own hostname guedz.dyndns.org

 

Have you an idea about the error status 75 ?

 

Thanks for advance for your help

Share this post


Link to post
Hi,

 

I have now notice this :

Have you an idea about the error status 75 ?

 

Thanks for advance for your help

What's in log above this line (the line with exit status 75)?

Share this post


Link to post

Hi,

 

I have no log before this error (I have delete my log file after correction of the error code 73)

 

It's my first line in my log

Share this post


Link to post

×
×
  • Create New...

Important Information

We use cookies to make your experience of our websites better. By using and further navigating this website you accept this. Detailed information about the use of cookies on this website is available by clicking on more information.