Gnus development mailing list
 help / color / mirror / Atom feed
From: Micha Wiedenmann <mw-u1@gmx.de>
Subject: Re: smtpmail: MAIL FROM and `gnus-posting-styles'
Date: 19 Sep 2002 16:25:36 +0200	[thread overview]
Message-ID: <87r8fq18bs.fsf@ID-56226.news.dfncis.de> (raw)
In-Reply-To: <hvelbscpii.fsf@rasputin.ws.nextra.no>

Bjørn Mork writes:
>Simon Josefsson <jas@extundo.com> writes:
>> Micha Wiedenmann <mw-u1@gmx.de> writes:
>>
>>> when sendig a mail composed with `gnus-posting-styles' smtpmail uses
>>> `user-mail-address' to determine "MAIL FROM:". Since
>>> `gnus-posting-styles' already inserted "From: foo" this is confusing and
>>> might be wrong. Is there a way to fix that behavior?
>>
>> Does it work to set user-mail-address in the posting style too?

AFAICS it is not possible to set buffer-local variables from
`gnus-posting-styles' but I would need buffer-local
`user-mail-addresses' since I use several addresses.

Even if this would be possible I don't think this would help since I use
`message-send-mail-function' value: `gnus-agent-send-mail'. If I am
unplugged mail is stored in nndraft:queue and buffer-local settings
would also lost, wouldn't they?

I've two ideas:

· Why does smtpmail use mail-envelope-from but don't try to determine
  mail-from from :-) the mail?

· Is there a way to make buffer-local variables when the queue is send?

>Using
>
>  (address "bmork@dod.no")
>
>in `gnus-posting-styles' works for me. This seems to change
>`user-mail-address' locally. Just setting or editing "From:" does 
>of course not. 

Why of course not?

I use:

((".*"
  (name "Micha Wiedenmann")
  (address "foo@foo.de"))
 ((my-message-news-reply-p)
  (address "bar@bar.de")))

TIA, Micha
-- 
Sig lost. Core dumped.



  reply	other threads:[~2002-09-19 14:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-17 14:37 Micha Wiedenmann
2002-09-17 17:00 ` Simon Josefsson
2002-09-17 20:47   ` Bjørn Mork
2002-09-19 14:25     ` Micha Wiedenmann [this message]
2002-09-19 17:30       ` Kai Großjohann
2002-09-21  0:42         ` Micha Wiedenmann
     [not found]       ` <mit.lcs.mail.ding/87r8fq18bs.fsf@ID-56226.news.dfncis.de>
2002-09-23 19:20         ` Patrick J. LoPresti
2002-09-24 11:44       ` Simon Josefsson
2002-09-24 16:59         ` Micha Wiedenmann
2002-09-24 20:42           ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r8fq18bs.fsf@ID-56226.news.dfncis.de \
    --to=mw-u1@gmx.de \
    --cc=mw-r1@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).