> 
> 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, it is read-only...
> 
> if it matters, I'd vote for not changing from hard coded 
> hostname. I mean, whats the reasoning behind the change? To 
> assist (relatively 
> few?) admins at the expense of what? creating a situation where an 
> "expensive" (as compared to hard coded) open() operation needs to be 
> made for every email received?
> I'd rather not.
> 
> my 2 cents
> 

you call open() expensive!  yet you run perl to start QS, you call
reformime to break the message into parts, you probably invoke a virus
scan client, hell maybe even a command line scanner if its not daemon
based, and you might even call spamc?

at least open() is already there for you after you've loaded the perl
interpreter unlike all the external calls you are making.

i just find this funny...
 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to