Is it possible to inject into email date and message-id when email hasn't
got one?

Use case: my scaner sents email but qutie dummy which has format like:

  From: some@email
  To: my@email
  Subject: Scanned documents
  MIME-Version: 1.0
  Content-Type: multipart/mixed; boundary="__MIME_Section_Boundary__"

  This is a multi-part messsage in MIME format.

  Content-Type: application/pdf; name="=?utf-8?Q?scan.pdf?="
  Content-Description: =?utf-8?Q?scan.pdf?=
  Content-Disposition: attachment; filename="=?utf-8?Q?scan.pdf?="
  Content-Transfer-Encoding: base64



as you may guess it's impossible to add current date to subject.

Some email cleint (at least Wunderlust which I use) creates a fake msgid
from some fields like From, To, Subject, Date, etc. when it missed to use it
as cache key.

So, literrally all emails from my scanner is cached as single email.

As simpler solution I see the behaviour for OpenSMTPd to inject MessageId
(when it missed) or date.

Or it's bad idea?

wbr, Kirill

Reply via email to