I'm having trouble getting Qmail-Scanner to send alerts to either the
admin or the sender.  When I first ran contrib/test_installation.sh, I
received no alerts.

I noticed that $RECIP in the was script was set to something strange
(mydomain.xyz rather than [EMAIL PROTECTED]).  When I
deleted /var/qmail/control/defaultdomain, test_installation.sh told me
"Cannot find any reference to the Q-S administrator Email address" and
quit.  (This is a bug in the test script: defaultdomain is not a
required file for qmail.)  So I changed the script to hard-code values
for both $RECIP and $QS_SENDER.  I also added a fifth test to make sure
I had a message blocked by policy rather than as a virus:  cut and
pasted the eicar.com message (with an attachment of all zeros) and
renamed the attachement to file.gif.exe.  I also changed the
installation option --notify from the default "psender,nmlvadm" to
"recips,sender,admin".  If I understand the QS documentation correctly,
that should have been sufficient to get three alerts per blocked
message.  But I only received recipient alerts, not sender or admin
alerts.

The SYSDEF file (with private info x'ed out and newlines added) is:

./configure 
--spooldir /var/spool/qmailscan 
--qmaildir /var/qmail 
--bindir /var/qmail/bin 
--qmail-queue-binary /var/qmail/bin/qmail-queue
--admin xxx 
--domain xxx.xxx.xxx 
--notify recips,sender,admin 
--local-domains
  abc.def.ghi.jkl,def.ghi.jkl,127.0.0.1,192.168.1.5,123.456.789.123 
--silent-viruses auto 
--lang en_GB 
--debug 1 
--unzip 0 
--block-password-protected 1 
--add-dscr-hdrs 0 
--archive 0 
--redundant yes 
--log-details syslog 
--log-crypto 0 
--fix-mime 2  
--ignore-eol-check 0 
--scanners "auto" 
--install 1

Thank you in advance for any advice.

-- 
jemandy at earthlink dot net




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to