cvs commit: qpsmtpd/plugins/queue smtp-forward
[email protected] (Robert Spier)
| Newsgroups | perl.cvs.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
cvsuser 04/07/15 22:03:25 Modified: plugins/queue smtp-forward Log: From: John Peacock <[email protected]> To: [email protected] Subject: [PATCH] queue/smtp-forward doesn't use correct HELO string Message-ID: <[email protected]> Date: Wed, 14 Jul 2004 10:30:24 -0400 The current version of Net::SMTP doesn't make any attempt to determine the hostname of the current computer (not that I blame Graham for that), so that all e-mails are sent out as from "localhost.localdomain" unless an explicit Hello string is provided. Revision Changes Path 1.5 +1 -0 qpsmtpd/plugins/queue/smtp-forward Index: smtp-forward =================================================================== RCS file: /cvs/public/qpsmtpd/plugins/queue/smtp-forward,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- smtp-forward 11 Jun 2004 20:00:15 -0000 1.4 +++ smtp-forward 16 Jul 2004 05:03:25 -0000 1.5 @@ -51,6 +51,7 @@ $self->{_smtp_server}, Port => $self->{_smtp_port}, Timeout => 60, + Hello => $self->qp->config("me"), ) || die $!; $smtp->mail( $transaction->sender->address || "" ) or return(DECLINED, "Unable to queue message ($!)"); for ($transaction->recipients) {