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



-------------------------------------------------------
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