RE: [Qmail-scanner-general]hostname call

2004-02-03 Thread Dallas L. Engelken
-Original Message- From: Jason Haar [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 5:36 PM To: [EMAIL PROTECTED] Subject: Re: [Qmail-scanner-general]hostname call On Tue, Jan 27, 2004 at 10:49:49AM +, Mark Powell wrote: Hi, Is there any reason

RE: [Qmail-scanner-general]hostname call

2004-02-03 Thread Dallas L. Engelken
-Original Message- From: Jason Haar [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 2:53 PM To: [EMAIL PROTECTED] Subject: Re: [Qmail-scanner-general]hostname call On Tue, Feb 03, 2004 at 08:44:08AM -0600, Dallas L. Engelken wrote: # HOSTNAME GRABBED DYNAMICALLY

Re: [Qmail-scanner-general]hostname call

2004-02-03 Thread Doug Monroe
Jason Haar wrote: On Tue, Feb 03, 2004 at 08:44:08AM -0600, Dallas L. Engelken wrote: # HOSTNAME GRABBED DYNAMICALLY open(ME,/var/qmail/control/me); flock(ME,2); my $temphost=ME; close(ME); Care to explain the need of a flock? Seems to me you could be making things worse with that. After all,

RE: [Qmail-scanner-general]hostname call

2004-02-03 Thread Dallas L. Engelken
Jason Haar wrote: On Tue, Feb 03, 2004 at 08:44:08AM -0600, Dallas L. Engelken wrote: # HOSTNAME GRABBED DYNAMICALLY open(ME,/var/qmail/control/me); flock(ME,2); my $temphost=ME; close(ME); Care to explain the need of a flock? Seems to me you could be making things worse

Re: [Qmail-scanner-general]hostname call

2004-02-03 Thread Doug Monroe
Dallas L. Engelken wrote: you call open() expensive! I said -relatively- expensive, relative to hard coded. Just my 2 cents of input anyway, no need to get testy. --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on

RE: [Qmail-scanner-general]hostname call

2004-02-03 Thread Dallas L. Engelken
-Original Message- From: Doug Monroe [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 5:13 PM To: [EMAIL PROTECTED] Subject: Re: [Qmail-scanner-general]hostname call Dallas L. Engelken wrote: you call open() expensive! I said -relatively- expensive, relative

Re: [Qmail-scanner-general]hostname call

2004-02-02 Thread Jason Haar
On Tue, Jan 27, 2004 at 10:49:49AM +, Mark Powell wrote: Hi, Is there any reason that the hostname cannot be discovered with: use Sys::Hostname; my $hostname = hostname; rather than being hardcoded. When a new virus comes along (like ClamAV's Unfortunately, use Sys::Hostname