I was thinking of doing somehting like

$local_dom = `cat /etc/local-domain-list`;

Then replacing the actual list in the file with $local_dom, do you think that will work? /etc/local-domain-list being a comma seperated list of local domains.

Regards, Nick

----- Original Message ----- From: "Shannon M. Werb" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 02, 2004 1:38 PM
Subject: Re: [Qmail-scanner-general]ClamAV and qmail-scanner (local-domains)



Hi All,

Could someone please clear up for me exactly what the --local-domains
setting does with respect to qmail-scanner and ClamAV. The
qmail-scanner-queue.pl file says it's to determine domains to send
notifications to but how does it do this?


You are correct, this is how qmail-scanner-queue.pl knows what domains are local and if notifications should be sent to them...

I have a lot of domains on my server and basicly want to know if I need to
reconfigure for each one I add? If so, would dumping all my domains in a
text file then setting that as a variable in the qmail-scanner-queue file
work? How do other people do this - is there a bettwer way?

We were in the same boat and our investigation and questions to the list required me to patch QS to do what I was looking for. Fortunately I have a database back end, so I patched QS's notification subroutine to grab the domain, ask the db if the domain has notification enabled, if yes, then go on and send, if no, return FALSE so notification is not sent to users domain.

Regards,
Shannon
http://www.battcave.com/



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to