Re: smail, mutt and outgoing From: field
On Tue, Dec 30, 1997 at 12:07:51PM -0800, G. Crimp@freenet.victoria.bc.ca wrote: On Tue, Dec 30, 1997 at 11:34:20AM +0100, Martin Schulze wrote: Is your realname mentioned in /etc/passwd? No, and I think it was on the Debian/Linux 1.1 system. Is this significant enough to cause the From: field to be changed. Yes, normally the mua reads the realname from /etc/passwd. From where else should it know it? Regards Joey -- / Martin Schulze * [EMAIL PROTECTED] * 26129 Oldenburg / /Erfahrung ist eine nützliche Sache / / Leider macht man sie immer erst kurz nachdem man sie brauchte / pgpATsFjCX4Lu.pgp Description: PGP signature
smail, mutt and outgoing From: field
I am rebuilding my Debian/Linux box after moving from 1.1 to 1.3. Somewhere along the line between my new system and my correspondents in the outside world, my From: mail header is getting altered. I don't know what is causing it. Perhaps the smail in Deb 1.1 is different from the one that comes with 1.3. Maybe it is mutt, my MUA, that I have upgraded from 0.85 to 0.88 at the same time as I upgrade my system. Then again, I have maybe missed some detail in a configuration file somewhere. It doesn't seem likely to me that fetchmail or procmail is the culprit. Here are the parametres to my problem. I create mail on my home box which is occasionally connected to the net via a dial in ppp link to an ISP that assigns IP addresses dynamically. The hostname of my machine, therefore, has no relation to the DNS system on the net. I must circumvent the desire of my system to send mail out with my local [EMAIL PROTECTED]'sname. With my old system, I told mutt to strip off the existing From: field and add the custom header From: [EMAIL PROTECTED] My Name In the past this worked marvelously. With my new system however, [EMAIL PROTECTED] gets quoted as if it were my Real Name [EMAIL PROTECTED] and My Name gets prepended to my isp's domain and is enclosed in angle brackets as if it was a valid e-mail address My [EMAIL PROTECTED] this means that anybody who wants to reply to a mail will get a useless address brought up automatically. There are a couple more details that may or may not be useful if anyone is still reading this. I actually receive mail at two addresses. I can fetch mail from both and use either as my smart host for outgoing mail. I always use isp2.com as my smart host. I wish to use my address at isp1 as my public address. My userid's at these two ISP's are different as is my userid on my home box. What actually happens to the outgoing from field depends on whether I use isp1.com or isp2.com as the visible_name in the smail/config file. In the example above, I have used isp2.com as the visible_name. If I use isp1.com, the From: field I decare in mutt is still mangled, but differently. My address as I had written it disappears completely. The My Name part is taken and prepended to isp1's domain name. My Name@isp1.com If anyone can tell me where this modification is taking place, and I what I can do to have my custom From: field preserved, I would very much like to hear about it. tia, Gerald Crimp -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: smail, mutt and outgoing From: field
On Mon, Dec 29, 1997 at 11:29:21PM -0800, G. Crimp@freenet.victoria.bc.ca wrote: With my old system, I told mutt to strip off the existing From: field and add the custom header From: [EMAIL PROTECTED] My Name In the past this worked marvelously. With my new system however, [EMAIL PROTECTED] gets quoted as if it were my Real Name [EMAIL PROTECTED] Is your realname mentioned in /etc/passwd? Anyways you can set any From line by putting such a line in your ~/.muttrc: my_hdr From: [EMAIL PROTECTED] (Your Real Name) Regards Joey -- / Martin Schulze * [EMAIL PROTECTED] * 26129 Oldenburg / /Erfahrung ist eine nützliche Sache / / Leider macht man sie immer erst kurz nachdem man sie brauchte / -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: smail, mutt and outgoing From: field
On Tue, Dec 30, 1997 at 11:34:20AM +0100, Martin Schulze wrote: Is your realname mentioned in /etc/passwd? No, and I think it was on the Debian/Linux 1.1 system. Is this significant enough to cause the From: field to be changed. Anyways you can set any From line by putting such a line in your ~/.muttrc: my_hdr From: [EMAIL PROTECTED] (Your Real Name) that's what I have in my ~/.muttrc except I use different punctuation, which is why I asked the question in the first place, because with Debian 1.1 (kernel 2.0.0) and mutt 0.85 that worked just fine. Now with Debian 1.3 (kernel 2.0.30) and mutt 0.88 the From: line gets garbled. Here is the punctuation I use which conforms to the format of address fields as I see them reported on my system. my_hdr From: [EMAIL PROTECTED] My Real Name which is pretty much what you suggest above. I have tried this with both unmy_hdr From: and unset use_from. Thanks for the suggestion and any more. Gerald Crimp -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .