From: clemens fischer <ino@despammed.com>
Subject: envelope sender, qmail
Date: Tue, 17 Sep 2002 17:32:44 +0200 [thread overview]
Message-ID: <y9a0iqcj.fsf@ID-23066.news.dfncis.de> (raw)
i'm still not sure why gnus can't set the envelope sender in the
posting styles, or why setting Return-Path doesn't make qmail-inject
use its value for the sender.
my current problem is with originating a message, like starting a new
thread or subscribing to a mailinglist that looks at the envelope.
not every list-software allows setting the address one wants like
ezmlm by using special syntax in the request-address, and some lists
allow only subscribers by checking the envelope.
i have now:
;;; setting up envelope sender
(defun cf-message-sender-hook ()
(let ((from (or (cadr (mail-extract-address-components
(message-fetch-field "from")))
user-mail-address)))
(setq message-qmail-inject-args (list "-h" "-f" from))))
(add-hook 'message-send-mail-hook ; perhaps message-send-hook?
'cf-message-sender-hook)
now i wonder if this isn't the rather clumsy variant, but at least it
works.
btw, i think i never really answered kai's hint to use group-local
variables for this kind of thing: i'm collecting all messages into one
central inbox to read them, and only afterwards decide where to put
them, because usually i just make notes, so many list messages finally
get deleted. so i don't have groups for every list i'm subscibed to.
--
clemens
next reply other threads:[~2002-09-17 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-17 15:32 clemens fischer [this message]
2002-09-17 16:54 ` Paul Jarc
2002-09-17 17:57 ` Kai Großjohann
2002-09-19 21:45 ` Clemens Fischer
2002-09-20 10:04 ` Kai Großjohann
2002-09-21 0:33 ` Clemens Fischer
2002-09-20 16:14 ` Paul Jarc
2002-09-21 17:13 ` Clemens Fischer
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=y9a0iqcj.fsf@ID-23066.news.dfncis.de \
--to=ino@despammed.com \
/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).