From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Default for the envelope From in smtpmail.el
Date: Tue, 05 Jul 2011 17:16:22 +0200 [thread overview]
Message-ID: <m3y60c4v21.fsf@quimbies.gnus.org> (raw)
Currently, the default envelope from address (aka. SMTP "MAIL FROM") in
smtpmail is `user-mail-address'. The user can change this by changing
some rather confusing variables called `mail-specify-envelope-from' and
`mail-envelope-from'.
I wonder whether a more sensible default here would be to use the From:
address in the buffer being sent. Some MTAs filter on the MAIL FROM,
and only allow access based on a filter, and people adjust their From:
headers to reflect that.
For instance, when they are at work with their laptops, they use "From:
foo@workplace.com", and at home "From: foo@gmail.com".
I have no idea whether changing this default will break more stuff than
it would help, though. Thoughts?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next reply other threads:[~2011-07-05 15:16 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 15:16 Lars Magne Ingebrigtsen [this message]
2011-07-05 17:16 ` Default for the envelope From in smtpmail.el Eli Zaretskii
2011-07-05 19:40 ` Juanma Barranquero
2011-07-05 20:33 ` Eli Zaretskii
2011-07-06 1:30 ` Tim Cross
2012-08-11 1:15 ` Glenn Morris
2012-08-11 6:29 ` Eli Zaretskii
2012-08-11 17:52 ` Glenn Morris
2012-08-11 18:06 ` Glenn Morris
2012-08-12 0:21 ` Rasmus
2012-08-12 0:19 ` Stephen J. Turnbull
2012-08-12 0:42 ` chad
2012-08-12 2:08 ` Glenn Morris
2012-08-12 2:15 ` Glenn Morris
2012-08-12 3:06 ` chad
2012-08-12 15:02 ` Stephen J. Turnbull
2012-08-12 17:38 ` chad
2012-08-13 3:43 ` Stephen J. Turnbull
2012-09-04 13:13 ` Nix
2012-09-05 1:30 ` Stephen J. Turnbull
2012-09-05 9:14 ` Nix
2012-09-04 15:49 ` Lars Ingebrigtsen
2012-09-04 16:01 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3y60c4v21.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).