All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
To: mlmmj@mlmmj.org
Subject: [mlmmj] Mail loss on failed mmap
Date: Fri, 13 May 2011 13:19:27 +0000	[thread overview]
Message-ID: <201105131519.27505.thomas.jarosch@intra2net.com> (raw)

Hello,

I recently had lost "big" emails containing attachments
while running them through mlmmj 1.2.15. Here's the relevant log output:

-------------------------
 May 2 14:33:55 /usr/bin/mlmmj-send[13098]: mlmmj-send.c:891: Not preparing 
in memory. Mail is 6428395 bytes: Success
 May 2 14:33:55 /usr/bin/mlmmj-send[13098]: getaddrsfromfd.c:27: Could not 
mmap fd: Invalid argument
-------------------------

Do I guess correctly that getaddrsfromfd() returns -1 and then
the mail is silently discarded?

mlmmj 1.2.16+ contains Robin's fix for a mmap() call of zero bytes.
I'm wondering if that might be an issue but the file size
shouldn't be zero bytes anyway.

Cheers,
Thomas


             reply	other threads:[~2011-05-13 13:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-13 13:19 Thomas Jarosch [this message]
2011-05-13 17:31 ` [mlmmj] Mail loss on failed mmap Mads Martin Jørgensen
2011-05-20  9:24 ` Thomas Jarosch

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=201105131519.27505.thomas.jarosch@intra2net.com \
    --to=thomas.jarosch@intra2net.com \
    --cc=mlmmj@mlmmj.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.