Skip Menu |

This queue is for tickets about the Ezmlm CPAN distribution.

Report information
The Basics
Id: 1515
Status: resolved
Priority: 0/
Queue: Ezmlm

People
Owner: Nobody in particular
Requestors: albertm [...] gpo.stanford.edu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03.1
Fixed in: 0.05



Subject: Wrong sequence in determining @host for new lists
When determining the suggested domain for a new list, Mail::Ezmlm reads "me" first, and then "defaulthost". The correct way would be the exact opposite. Also, in a valid qmail installation, "me" is always present; therefore, defaulthost could only have been read in a broken qmail. It would also be nice to read the "rewrite" file when mess822 is used (which renders defaulthost unnecessary) but even this solution is better.
--- Mail/Ezmlm_pm Sat Aug 24 07:14:20 2002 +++ Mail/Ezmlm.pm Wed May 29 09:38:14 2002 @@ -553,8 +553,8 @@ my($self) = @_; my($hostname); - open (GETHOST, "<$QMAIL_BASE/control/me") - || open (GETHOST, "<$QMAIL_BASE/control/defaultdomain") + open (GETHOST, "<$QMAIL_BASE/control/defaulthost") + || open (GETHOST, "<$QMAIL_BASE/control/me") || (_seterror($?) && return undef); chomp($hostname = <GETHOST>); close GETHOST;