Maybe I can check, if there is a newer phpmailer Version around, or check
out the stuff the others use.
Basic function that is used in phpmailer and smtp class here is
$this->smtp_conn = fsockopen($host, // the host of the server
$port, // the port to use
$errno, // error number if any
$errstr, // error message if any
$tval); // give up after ? secs
whereas the host is set, in phpmailer smtpconnect.
… $hosts = explode(’;’, $this->Host);
$index = 0;
$connection = ($this->smtp->Connected());
/* Retry while there is no connection */
while($index < count($hosts) && $connection == false) {
$hostinfo = array();
if(eregi(’^(.+):([0-9]+)$’, $hosts[$index], $hostinfo)) {
$host = $hostinfo[1];
$port = $hostinfo[2];
} else {
$host = $hosts[$index];
$port = $this->Port;
}
$hostA = explode("://", $host);
if (strtolower($hostA[0]) == ‘tls’ || strtolower($hostA[0]) == ‘ssl’) {
$this->SMTPSecure = strtolower($hostA[0]);
$host = $hostA[1];
}
…
if($this->smtp->Connect(($ssl ? ‘ssl://’:’’).$host, $port, $this->Timeout))
{
$hello = ($this->Helo != ‘’ ? $this->Hello : $this->ServerHostname());
and Server Hostname is set via
/**
- Returns the server hostname or ‘localhost.localdomain’ if unknown.
-
@access private
-
@return string
*/
private function ServerHostname() {
if (!empty($this->Hostname)) {
$result = $this->Hostname;
} elseif (isset($_SERVER[‘SERVER_NAME’])) {
$result = $_SERVER[‘SERVER_NAME’];
} else {
$result = “localhost.localdomain”;
}
return $result;
}
as we pass $this->Host but not $this->Hostname
Try setting Hostname as it might change the behavior
/**
- Sets the hostname to use in Message-Id and Received headers
- and as default HELO string. If empty, the value returned
- by SERVER_NAME is used or ‘localhost.localdomain’.
-
@var string
*/
If this helps, we can build something in, to be able to configure that
value.
Nope, felamimail does not handle anything particular regarding the
handling
of servernames
while sending (and the thereby resolving of servernames).
It is using the send class, which is using phpmailer and smtp which are
unchanged since
6 / 8 month.
The send class is unchanged since 8 month too.
Does kmail use eGroupwares send-class or something of its own?
kmail uses it’s own. This issue is definitely specific to fela or
phpmailer
because “squirrelmail” sends file (another php based mailer), kmail,
thunderbird, heck mail-x from the good old command line even sends fine.
Anything I could do to test? Fela has always been somewhat the black
sheep of
the egw family. Seems to be acting up again
–
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what’s new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Stylite GmbH
[ open style of IT ]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon 06352 . 70629-0
fax 06352 . 70629-30
www.stylite.de
Geschäftsführer: Andre Keller, Gudrun Müller, Nigel Vickers, Ralf Becker
Handelsregister Kaiserslautern HRB 30575
USt-ID: DE214280951
SteuerNr. 44/667/1114/3
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what’s new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers