* [Q] different tests for the From: header
@ 1999-03-18 18:53 Didier Verna
1999-03-28 15:23 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Didier Verna @ 1999-03-18 18:53 UTC (permalink / raw)
I've tried different situations for the From: header, and some of them
look suspicious to me:
1/ From is in message-required-mail-headers.
When I edit a message, I see a line with "Sender: verna@metheny.enst.fr"
This is not my email address, but the machine on which I'm working.
a/ I send the message as-is.
There, I get a proper From: line and a Sender: identical to From:
b/ I manually add a From: line (say foo@bar.baz).
There, I get _two_ From: lines. The one I set, and the normal one.
There's also a Sender line like in the preceding case.
c/ I manually add a From: line, but I also remove the Sender: line.
There, the situation is as in b/.
2/ From is _not_ present in message-required-mail-headers.
When I edit a message, neither From: nor Sender: is there at startup.
a/ I send the message as-is.
There, I get a good From: line, and no Sender:.
b/ I insert manually a From: line (say, foo@bar.baz)
There, I receive the From: line, and a Sender: with my usual
address this time.
2-a and 2-b looks ok to me.
1-a looks redundant,
1-b and 1-c look bogus.
Comments ? Am I wrong ? In particular, I'd like to know, if I just
want another From: address temporarily for just one message, I should in the
1-a case right ?
I'd also like to try this on a newsgroup, but I don't want to spam.
--
/ / _ _ Didier Verna http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:verna@inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 73 46
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] different tests for the From: header
1999-03-18 18:53 [Q] different tests for the From: header Didier Verna
@ 1999-03-28 15:23 ` Lars Magne Ingebrigtsen
1999-03-30 17:38 ` Didier Verna
0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-03-28 15:23 UTC (permalink / raw)
Didier Verna <verna@inf.enst.fr> writes:
> 1/ From is in message-required-mail-headers.
> When I edit a message, I see a line with "Sender: verna@metheny.enst.fr"
> This is not my email address, but the machine on which I'm working.
>
> a/ I send the message as-is.
> There, I get a proper From: line and a Sender: identical to From:
>
> b/ I manually add a From: line (say foo@bar.baz).
> There, I get _two_ From: lines. The one I set, and the normal one.
> There's also a Sender line like in the preceding case.
>
> c/ I manually add a From: line, but I also remove the Sender: line.
> There, the situation is as in b/.
I'm unable to reproduce this.
What happens for me is that
1) if the address in the From header is different from
`system-name', then Message adds a Sender header,
2) if not, not.
Do you have any hooks or something that inserts extra headers? Or
gnus-posting-styles or something?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] different tests for the From: header
1999-03-28 15:23 ` Lars Magne Ingebrigtsen
@ 1999-03-30 17:38 ` Didier Verna
1999-04-17 5:29 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Didier Verna @ 1999-03-30 17:38 UTC (permalink / raw)
Lars Magne Ingebrigtsen writes:
Lars> What happens for me is that
Lars> 1) if the address in the From header is different from `system-name',
Lars> then Message adds a Sender header,
Lars> 2) if not, not.
Lars> Do you have any hooks or something that inserts extra headers? Or
Lars> gnus-posting-styles or something?
That's it. When I have a posting-style group parameter which specifies
a From: line, I get not only the normal line but the one specified by the
posting style.
--
/ / _ _ Didier Verna http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:verna@inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 73 46
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] different tests for the From: header
1999-03-30 17:38 ` Didier Verna
@ 1999-04-17 5:29 ` Lars Magne Ingebrigtsen
1999-04-18 15:24 ` Didier Verna
0 siblings, 1 reply; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-04-17 5:29 UTC (permalink / raw)
Didier Verna <verna@inf.enst.fr> writes:
> That's it. When I have a posting-style group parameter which
> specifies a From: line, I get not only the normal line but the one
> specified by the posting style.
Could you post the posting style you're using?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] different tests for the From: header
1999-04-17 5:29 ` Lars Magne Ingebrigtsen
@ 1999-04-18 15:24 ` Didier Verna
1999-04-18 18:18 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 6+ messages in thread
From: Didier Verna @ 1999-04-18 15:24 UTC (permalink / raw)
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Didier Verna <verna@inf.enst.fr> writes:
>
> > That's it. When I have a posting-style group parameter which
> > specifies a From: line, I get not only the normal line but the one
> > specified by the posting style.
>
> Could you post the posting style you're using?
(posting-style ("From" "Foo Bar <foo@bar.baz>"))
Then, C-u a on the group. YOu'll get two From: lines.
--
/ / _ _ Didier Verna http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:verna@inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 73 46
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Q] different tests for the From: header
1999-04-18 15:24 ` Didier Verna
@ 1999-04-18 18:18 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 6+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-04-18 18:18 UTC (permalink / raw)
Didier Verna <verna@inf.enst.fr> writes:
> (posting-style ("From" "Foo Bar <foo@bar.baz>"))
>
> Then, C-u a on the group. YOu'll get two From: lines.
Yup. Fix in Pterodactyl Gnus v0.84.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-04-18 18:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-18 18:53 [Q] different tests for the From: header Didier Verna
1999-03-28 15:23 ` Lars Magne Ingebrigtsen
1999-03-30 17:38 ` Didier Verna
1999-04-17 5:29 ` Lars Magne Ingebrigtsen
1999-04-18 15:24 ` Didier Verna
1999-04-18 18:18 ` Lars Magne Ingebrigtsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).