* Discarded mail: Bad file descriptor
@ 2008-06-24 8:46 Thomas Jarosch
2008-06-24 14:02 ` Morten K. Poulsen
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Thomas Jarosch @ 2008-06-24 8:46 UTC (permalink / raw)
To: mlmmj
Hello together,
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:
-----------------------------------------------------------
From: "Servidor de e-mail - Tecmicro Sistemas"@Servidor,
de@intranator.m.i2n, e-mail@intranator.m.i2n, -@intranator.m.i2n,
Tecmicro@intranator.m.i2n, Sistemas@intranator.m.i2n
-----------------------------------------------------------
This will lead to the following error message:
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
Jun 24 06:13:51 intranator /usr/bin/mlmmj-process[9274]: mlmmj-process.c:691: fromemails.emaillist[0] = Servidor de e-mail - Tecmicro Sistemas@Servidor : Bad file descriptor
Jun 24 06:13:51 intranator /usr/bin/mlmmj-process[9274]: mlmmj-process.c:691: fromemails.emaillist[1] = de@intranator.m.i2n : Bad file descriptor
Jun 24 06:13:51 intranator /usr/bin/mlmmj-process[9274]: mlmmj-process.c:691: fromemails.emaillist[2] = e-mail@intranator.m.i2n : Bad file descriptor
Jun 24 06:13:51 intranator /usr/bin/mlmmj-process[9274]: mlmmj-process.c:691: fromemails.emaillist[3] = -@intranator.m.i2n : Bad file descriptor
Jun 24 06:13:51 intranator /usr/bin/mlmmj-process[9274]: mlmmj-process.c:691: fromemails.emaillist[4] = Tecmicro@intranator.m.i2n : Bad file descriptor
Jun 24 06:13:51 intranator /usr/bin/mlmmj-process[9274]: mlmmj-process.c:691: fromemails.emaillist[5] = Sistemas@intranator.m.i2n : 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?
Cheers,
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Discarded mail: Bad file descriptor
2008-06-24 8:46 Discarded mail: Bad file descriptor Thomas Jarosch
@ 2008-06-24 14:02 ` Morten K. Poulsen
2008-06-25 8:30 ` Thomas Jarosch
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Morten K. Poulsen @ 2008-06-24 14:02 UTC (permalink / raw)
To: mlmmj
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/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Discarded mail: Bad file descriptor
2008-06-24 8:46 Discarded mail: Bad file descriptor Thomas Jarosch
2008-06-24 14:02 ` Morten K. Poulsen
@ 2008-06-25 8:30 ` Thomas Jarosch
2008-06-26 1:40 ` Benny Pedersen
2008-06-26 2:53 ` Morten K. Poulsen
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Jarosch @ 2008-06-25 8:30 UTC (permalink / raw)
To: mlmmj
Hello Morten,
On Tuesday, 24. June 2008 16:02:30 Morten K. Poulsen wrote:
> > 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).
Thanks for clearing this up. In the meantime, enjoy your vacation,
I hope there's a beach nearby ;-)
Thomas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Discarded mail: Bad file descriptor
2008-06-24 8:46 Discarded mail: Bad file descriptor Thomas Jarosch
2008-06-24 14:02 ` Morten K. Poulsen
2008-06-25 8:30 ` Thomas Jarosch
@ 2008-06-26 1:40 ` Benny Pedersen
2008-06-26 2:53 ` Morten K. Poulsen
3 siblings, 0 replies; 5+ messages in thread
From: Benny Pedersen @ 2008-06-26 1:40 UTC (permalink / raw)
To: mlmmj
On Wed, June 25, 2008 10:30, Thomas Jarosch wrote:
> Thanks for clearing this up. In the meantime, enjoy your vacation,
> I hope there's a beach nearby ;-)
if just there is a Carlsberg around the corner its not bad :-)
--
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Discarded mail: Bad file descriptor
2008-06-24 8:46 Discarded mail: Bad file descriptor Thomas Jarosch
` (2 preceding siblings ...)
2008-06-26 1:40 ` Benny Pedersen
@ 2008-06-26 2:53 ` Morten K. Poulsen
3 siblings, 0 replies; 5+ messages in thread
From: Morten K. Poulsen @ 2008-06-26 2:53 UTC (permalink / raw)
To: mlmmj
Benny Pedersen wrote:
> On Wed, June 25, 2008 10:30, Thomas Jarosch wrote:
>> Thanks for clearing this up. In the meantime, enjoy your vacation,
>> I hope there's a beach nearby ;-)
We started in Florida at Miami Beach, so I've been at the beach ;-)
Right now I'm in Maryland, on my way to DC and New York City, but I pool
sided all day yesterday... No beach here...
> if just there is a Carlsberg around the corner its not bad :-)
Haven't had a Carlsberg on the trip. But I've had a few Piña Coladas,
miscellaneous Daquiraís, and quite a few G-Ts :-)
Which reminds me... We're three well-behaved geeks staying at a hotel in
NYC the first week of July. Do you know of a good party, where we could
celebrate Independence Day? We'll bring beer ;-)
http://www.afdelingp.dk/fourth-of-july/
Morten
--
Morten K. Poulsen <morten@afdelingp.dk>
http://www.afdelingp.dk/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-26 2:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24 8:46 Discarded mail: Bad file descriptor Thomas Jarosch
2008-06-24 14:02 ` Morten K. Poulsen
2008-06-25 8:30 ` Thomas Jarosch
2008-06-26 1:40 ` Benny Pedersen
2008-06-26 2:53 ` Morten K. Poulsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox