From line creation? (2.2.4)
Marius Strom
marius@marius.org
Tue, 6 Feb 2001 11:17:14 -0600
Folks,
I've got a small issue with my 2.2.4 install of IMP. It seems to be
adding a second From: header to outgoing messages. Here is a sample
message:
> From "marius@alpha1.net"@mail.alpha1.net Tue Feb 6 10:55:07 2001
> Received: (from httpd@localhost) by mail.alpha1.net (8.10.1/8.10.1) id
> f16Gt7R45923 for marius@alpha1.net; Tue, 6 Feb 2001 10:55:07 -0600
> (CST)
> To: marius@alpha1.net
> Subject: test
> Message-ID: <981478507.3a802c6b0689e@webmail.alpha1.net>
> Date: Tue, 06 Feb 2001 10:55:07 -0600 (CST)
> From: Marius Strom <marius@alpha1.net>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 8bit
> User-Agent: IMP/PHP IMAP webmail program 2.2.4
> X-Originating-IP: 216.88.237.10
> Status: RO
> Content-Length: 226
> Lines: 9
The one that's got my curiosity is the first From
"user@domain"@imapserver <date>.
Relevant portions of defaults.php3:
$default->from_server = 'alpha1.net';
$default->to_domain = 'alpha1.net';
$default->custom_from_hook = false;
Relevant portions of imp_pref db for the account in question:
mysql> select user,fullname,replyto from imp_pref where user like
'marius%';
+------------------------+--------------+-------------------+
| user | fullname | replyto |
+------------------------+--------------+-------------------+
| marius@localhost | Marius Strom | marius@alpha1.net |
| marius@mail.alpha1.net | Marius Strom | marius@alpha1.net |
+------------------------+--------------+-------------------+
header.txt does not include anything with respect to the From line.
Other than mail.alpha1.net being in the sendmail.cw file, sendmail does
not otherwise know about that hostname. (The FQDN of the mailserver is
/not/ mail.alpha1.net, so I don't gather that sendmail is tacking on
that header.. FWIW, sendmail would add a From: with a colon..)
Thanks in advance.
--
Marius Strom <marius@marius.org>
Professional Geek/Unix System Administrator
URL: http://www.marius.org/
http://www.marius.org/marius.pgp 0x55DE53E4
"Never underestimate the bandwidth of a mini-van full of DLT
tapes traveling down the highway at 65 miles per hour..."
-Andrew Tanenbaum, "Computer Networks"