unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* warm fuzzy confirmation of mail delivery in sendmail.el
@ 2012-09-06 21:59 James Powell
  2012-09-07 23:21 ` Florian v. Savigny
  0 siblings, 1 reply; 2+ messages in thread
From: James Powell @ 2012-09-06 21:59 UTC (permalink / raw)
  To: help-gnu-emacs


Is there any way to build upon sendmail's mail-archive-file-name,
which FCCs sent messages, to append SMTP mail delivery headers such as
Received:, Authentication-Results:, Received-SPF: and the like?

For example, when I send mail through a webmail application, the "Sent Messages" folder
in the webmail application has lines like this for each sent message:

Received: from pliny.pdx.edu (sb2-238b-tek850c.printers.pdx.edu [131.252.124.54])
(authenticated bits=0)
by sluizer.oit.pdx.edu (8.13.8/8.13.1) with ESMTP id q7TLZXZg015937
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);

Those header lines are reassuring because otherwise I have to watch
very carefully to make sure I am really sending the messages and not
missing an SMTP error.

yours truly,
  James P.

-- 
James Powell
Portland State University
Public key: http://web.pdx.edu/~powellj/public_key.txt



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: warm fuzzy confirmation of mail delivery in sendmail.el
  2012-09-06 21:59 warm fuzzy confirmation of mail delivery in sendmail.el James Powell
@ 2012-09-07 23:21 ` Florian v. Savigny
  0 siblings, 0 replies; 2+ messages in thread
From: Florian v. Savigny @ 2012-09-07 23:21 UTC (permalink / raw)
  To: James Powell; +Cc: help-gnu-emacs



Hi James,

  > For example, when I send mail through a webmail application, the
  > "Sent Messages" folder in the webmail application has lines like
  > this for each sent message:

  > Received: from pliny.pdx.edu (sb2-238b-tek850c.printers.pdx.edu [131.252.124.54])
  > (authenticated bits=0)
  > by sluizer.oit.pdx.edu (8.13.8/8.13.1) with ESMTP id q7TLZXZg015937
  > (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT);
  > 
  > Those header lines are reassuring because otherwise I have to watch
  > very carefully to make sure I am really sending the messages and not
  > missing an SMTP error.

My strong impression (no conviction) is that the file copy is written
before any sending is attempted, so no headers are there at that time
which don't come from you yourself. In other words, having a file copy
is no confirmation of anything, other than that you have tried to send
it.

But at least if you use smtpmail, you can simply log the conversation
with the mail server (I think by setting smtpmail-debug-info to some
non-nil value). It will then log everything in a buffer called
something like *trace of SMTP session with ...*, and that shows you if
everything went fine. Be aware, however: The buffer is erased and
filled anew for every new mail you send, so this is only helpful for
the last one.


-- 
                                               Florian von Savigny
__________________________________________________________________





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-07 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 21:59 warm fuzzy confirmation of mail delivery in sendmail.el James Powell
2012-09-07 23:21 ` Florian v. Savigny

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).