From: <wi...@se...> - 2004-09-06 09:27:44
|
squirrelmail 1.4.3 installed (debian sarge) and works like a champ. except... when composing locally-bound email, when we just want to email someone else on the same system, we could type out the full address like this To: bu...@gu... but we should be able to be lazy/efficient and just do To: bubba and let the system take care of the local domain. mutt doesn't have a problem with this, but squirrelmail does: Transaction failed Server replied: 554 SMTP synchronization error /var/log/exim4/mainlog shows 2004-09-06 02:47:04 SMTP protocol violation: synchronization error (next input sent too soon): rejected "RCPT TO:<bu...@gu..." H=localhost (192.168.0.9) [127.0.0.1] next input=">\r\n" which indicates that the domain supplied by default includes a trailing end-of-line. the $domain variable is set in /etc/squirrelmail/config.php on line 28 like so: $domain = implode('', file('/etc/hostname')); and sure enough, 1) /etc/hostname contains a string with a trailing newline, and 2) the file() function of php keeps newlines intact, according to the php documentation. perhaps our /etc/hostname file should NOT have a trailing newline? (other systems we manage all have a trailing newline there, and to no apparent ill effect.) if true, we can fix the file. if not, then this may be an easily-fixable bug in squirrelmail (with judicious application of trim()). are we the only ones having this trouble? should we go away? === btw: whither bug_report? we tried activating the bug_report plugin (via the squirrelmail-configure perl script), but couldn't get it to show up. according to the soupNazi() function (delightful name, not that there's anything wrong with that) our browsers shouldn't be filtered out, but we couldn't find any bug_report features anywhere using firefox 0.9.1, galeon 1.3.15, iexplore 6.0.2900.2180.yada.yada, links 0.99, etc. what can we do to become master of our own bug_report domain? |