From: Barry Fishman <barry_fishman@att.net>
Subject: Re: Who sets Sender:?
Date: Sun, 26 May 2002 09:48:47 -0400 [thread overview]
Message-ID: <m3bsb3c94w.fsf@barry_fishman.att.net> (raw)
In-Reply-To: <873cwld3aw.fsf@nwalsh.com>
Norman Walsh <ndw@nwalsh.com> writes:
> / Stainless Steel Rat <ratinox@peorth.gweep.net> was heard to say:
> | Sender contains the mailbox of the agent responsible for submitting the
> | message to the network (MTA). The idea is that while the originator
> | mailbox may be ndw@nwalsh.com, the Sender is the local user on the local
> | machine.
>
> Ok, fair enough. So this presents an interesting conundrum. In my
> case, the "local machine" has no name. I'm on a laptop behind a
> firewall attached to a cable provider that generates a "random" IP
> address via DHCP.
I suspect this situation is very common. My home network name I keep
as just ".local" since at least conveys the impression that it will
not be found from DNS, and is not expected to be unique. I was also
wondered about a message-id which was not anchored to a unique
address.
The approach I take is probably a bit convolved but begins by
giving my system a unique name which should be at least traceable
by humans:
(setq mail-host-address "barry_fishman.att.net")
Which is my ISP username grafted into its network domain.
I then convince the message package to use it, and not send any
sender field:
(setq gnus-local-domain "att.net")
;; I don't really have valid FQDN information so clean up header
(setq message-syntax-checks '((sender . disabled)))
;; Makes sure (message-make-fqdn) uses mail-host-address when we
;; are on the .local network.
(setq message-bogus-system-names "^localhost\\.\\|\\.local$")
Convincing smtp-mail the same is a bit harder:
;; Use smtpmail
(setq send-mail-function 'smtpmail-send-it) ; for 'mail'
(setq message-send-mail-function 'smtpmail-send-it) ; for 'gnus'
;; Force smtpmail to use mail-host-address
(autoload 'smtpmail-fqdn "smtpmail" nil nil)
(defadvice smtpmail-fqdn (around change-smtpmail-fqdn activate)
"Supply a domain which is meaningful but wrong"
(setq ad-return-value mail-host-address))
I could have just let my ISP generate the message ID, but then
I couldn't:
;;;; Archive all messages you send out here
(setq gnus-message-archive-group "nnmh:list.sent")
(setq gnus-gcc-mark-as-read t) ; Doesn't seem to do much
and expect to get access to the message-id of the sent message.
Then again, with all the spam about, making your messages more
tracable is not necessarily a good idea.
--
Barry
next prev parent reply other threads:[~2002-05-26 13:48 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-20 20:19 Norman Walsh
2002-05-20 21:24 ` Stainless Steel Rat
2002-05-21 13:43 ` Norman Walsh
2002-05-21 14:25 ` Stainless Steel Rat
2002-05-21 14:38 ` Paul Jarc
2002-05-24 22:55 ` Steinar Bang
2002-05-26 13:48 ` Barry Fishman [this message]
2002-05-26 14:33 ` Harry Putnam
2002-05-26 17:17 ` Barry Fishman
2002-05-20 22:12 ` Matt Armstrong
2002-05-21 1:58 ` Stainless Steel Rat
2002-05-21 14:14 ` Paul Jarc
2002-05-21 15:04 ` Stainless Steel Rat
2002-05-21 15:27 ` Paul Jarc
2002-05-21 16:27 ` Stainless Steel Rat
2002-05-21 16:56 ` Paul Jarc
2002-05-21 18:33 ` Stainless Steel Rat
2002-05-21 18:50 ` Paul Jarc
2002-05-21 19:04 ` Matt Armstrong
[not found] ` <84g00lma45.fsf@rjk.greenend.org.uk>
2002-05-21 22:07 ` Paul Jarc
2002-05-22 12:05 ` Richard Kettlewell
2002-05-21 19:46 ` Stainless Steel Rat
2002-05-21 20:13 ` Paul Jarc
2002-05-21 21:16 ` Stainless Steel Rat
2002-05-21 21:51 ` Paul Jarc
2002-05-22 0:02 ` Stainless Steel Rat
2002-05-22 15:23 ` Paul Jarc
2002-05-22 15:54 ` Stainless Steel Rat
2002-05-22 16:03 ` Paul Jarc
2002-05-22 17:04 ` Stainless Steel Rat
2002-05-22 17:25 ` Paul Jarc
2002-05-22 17:56 ` Stainless Steel Rat
2002-05-22 17:38 ` Bjørn Mork
2002-05-22 18:04 ` Stainless Steel Rat
2002-05-21 17:52 ` Matt Armstrong
2002-05-21 18:48 ` Stainless Steel Rat
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=m3bsb3c94w.fsf@barry_fishman.att.net \
--to=barry_fishman@att.net \
/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).