* [Comm] Amavisd-new . & Drweb
@ 2005-04-08 9:22 Roman V. Tutov
0 siblings, 0 replies; only message in thread
From: Roman V. Tutov @ 2005-04-08 9:22 UTC (permalink / raw)
To: Community
Здравствуйте, .
Добрый день . Не могу прикрутить Drwebd к Amavis'у ...
Хочу именно демон ибо каждый раз подгружать drweb сканер не кошерно
....
Кусок конфига амависа внизу ...с правами на файл сокета все ок ...
__________________________________________________________________________________
# ### http://www.sald.com/, http://www.dials.ru/english/, http://www.drweb.ru/
['DrWebD', \&ask_daemon, # DrWebD 4.31 or later
[pack('N',1). # DRWEBD_SCAN_CMD
pack('N',0x00280001). # DONT_CHANGEMAIL, IS_MAIL, RETURN_VIRUSES
pack('N', # path length
length("$TEMPBASE/amavis-yyyymmddTHHMMSS-xxxxx/parts/part-xxxxx")).
'{}/*'. # path
pack('N',0). # content size
pack('N',0),
# '127.0.0.1:3000'], # or '127.0.0.1:3000'
'/var/run/drweb/drwebd.socket'], # or '127.0.0.1:3000'
qr/\A\x00(\x10|\x11)\x00\x00/s, # IS_CLEAN, EVAL_KEY
qr/\A\x00(\x00|\x01)\x00(\x20|\x40|\x80)/s, # KNOWN_V, UNKNOWN_V, V._MODIF
qr/\A.{12}(?:infected with )?([^\x00]+)\x00/s,
],
____________________________________________________________________________________
В логе амавис говорит следующее ...
Apr 8 13:19:32 gw-mv-1 amavis[3428]: (03428-01) DrWebD FAILED - unknown status: \000\020\000\001\000\000\000\000
чего ему не живется-то ? что может быть не так настроено ?
Как я понимаю амавис не понимает ответ демона drweb ?
PS что делать ?
--
Тутов Роман Викторович
Системный администратор
ASTON Agro Industrial Company Group
Россия,344002, г.Ростов-на-Дону,Промзона "Заречная"
ул.1-я Луговая,3 тел.: (863 2) 999049
JID:tutov@jabber.aston.ru
mailto:tutov@aston.ru
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-08 9:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 9:22 [Comm] Amavisd-new . & Drweb Roman V. Tutov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git