All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Morten K. Poulsen" <morten@afdelingp.dk>
To: mlmmj@mlmmj.org
Subject: Re: Discarded mail: Bad file descriptor
Date: Tue, 24 Jun 2008 14:02:30 +0000	[thread overview]
Message-ID: <4860FE76.1040700@afdelingp.dk> (raw)
In-Reply-To: <200806241046.51759.thomas.jarosch@intra2net.com>

Thomas Jarosch wrote:
> I just checked my logs and noticed an error message from mlmmj
> that caught my attention. One spam message contained a more
> than malformed "From:" line:
> Jun 24 06:13:51 intranator /usr/bin/mlmmj-process[9274]: mlmmj-process.c:688: Discarding /var/spool/mlmmj/intra2net-tech/incoming/291e75865c83d9cf due to invalid From:: Bad file descriptor
...
> I'm surprised by the "Bad file descriptor" entry. The size is 3487 bytes,
> so the message should be processed in memory. Any idea what that could be?

It's due to a log system which always append an error description (based 
on errno), even in cases where the error is not a system error. Ignore 
the "Bad file descriptor" part of the log entry. Remind me when I get 
home, and I will remove that message (reset errno before logging).

Morten

-- 
Morten K. Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/

  reply	other threads:[~2008-06-24 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  8:46 Discarded mail: Bad file descriptor Thomas Jarosch
2008-06-24 14:02 ` Morten K. Poulsen [this message]
2008-06-25  8:30 ` Thomas Jarosch
2008-06-26  1:40 ` Benny Pedersen
2008-06-26  2:53 ` Morten K. Poulsen

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=4860FE76.1040700@afdelingp.dk \
    --to=morten@afdelingp.dk \
    --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.