Bug #1462

dma(8): Illegal seek when delivering message with multiple recipients

Added by roe about 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:corecode% Done:

0%

Category:-
Target version:-

Description

The new queue file code in dma(8) doesn't quite work with
multiple recipients yet. Messages for multiple recipients
fail delivery for all recipients. All the bounces fail too.

This is using dma(8) from today's git, on FreeBSD 7.2.
Let me know if you need additional information.

Message with a single recipient:

Aug 25 01:03:36 marvin dma[2841e0900000005f.2840f100]: trying delivery
Aug 25 01:03:36 marvin dma[2841e0900000005f.2840f100]: using smarthost
(calvin.ustdmz.roe.ch:587)
Aug 25 01:03:36 marvin dma[2841e0900000005f.2840f100]: using SMTP authentication
Aug 25 01:03:36 marvin dma[2841e0900000005f.2840f100]: delivery successful

Message with two recipients:

Aug 25 01:03:56 marvin dma[2841e090000000cf]: new mail from user=root uid=0
envelope_from=<>
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=<> queued
as 2841e090000000cf.2840f130
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=<> queued
as 2841e090000000cf.2840f100
Aug 25 01:03:56 marvin dma[2841e090000000cf.2840f100]: trying delivery
Aug 25 01:03:56 marvin dma[2841e090000000cf.2840f130]: trying delivery
Aug 25 01:03:56 marvin dma[2841e090000000cf.2840f130]: delivery failed, bouncing
as 2841e0900000011c
Aug 25 01:03:56 marvin dma[2841e090000000cf.2840f100]: delivery failed, bouncing
as 2841e0900000013d
Aug 25 01:03:56 marvin dma[2841e0900000011c]: new mail from user=root uid=0
envelope_from=<>
Aug 25 01:03:56 marvin dma[2841e0900000013d]: new mail from user=root uid=0
envelope_from=<>
Aug 25 01:03:56 marvin dma[2841e0900000011c]: mail to=<roe> queued as
2841e0900000011c.2840f190
Aug 25 01:03:56 marvin dma[2841e0900000011c.2840f190]: trying delivery
Aug 25 01:03:56 marvin dma[2841e0900000011c.2840f190]: local delivery deferred:
can not seek: Illegal seek
Aug 25 01:03:56 marvin dma[2841e0900000013d]: mail to=<roe> queued as
2841e0900000013d.2840f190
Aug 25 01:03:56 marvin dma[2841e0900000013d.2840f190]: trying delivery
Aug 25 01:03:56 marvin dma[2841e0900000013d.2840f190]: local delivery deferred:
can not open `/var/mail/roe': Resource temporarily unavailable

# cat /var/spool/dma/M2841e0900000011c.2840f190

Received: from MAILER-DAEMON
id 2841e0900000011c
by marvin.ustcor.roe.ch (DragonFly Mail Agent)
Tue, 25 Aug 2009 01:03:56 +0200
X-Original-To: <>
From: MAILER-DAEMON <>
To:
Subject: Mail delivery failed
Message-Id: <>
Date: Tue, 25 Aug 2009 01:03:56 +0200

This is the DragonFly Mail Agent at marvin.ustcor.roe.ch.

There was an error delivering your mail to <>.

can not seek: Illegal seek

Message headers follow.

MON

# cat /var/spool/dma/M2841e0900000013d.2840f190

Received: from MAILER-DAEMON
id 2841e0900000013d
by marvin.ustcor.roe.ch (DragonFly Mail Agent)
Tue, 25 Aug 2009 01:03:56 +0200
X-Original-To: <>
From: MAILER-DAEMON <>
To:
Subject: Mail delivery failed
Message-Id: <>
Date: Tue, 25 Aug 2009 01:03:56 +0200

This is the DragonFly Mail Agent at marvin.ustcor.roe.ch.

There was an error delivering your mail to <>.

can not seek: Illegal seek

Message headers follow.

MON

History

#1 Updated by corecode about 5 years ago

Thanks, fixed in 122842a9604b367cf0449900f26c6c452fe6d4d6

Also available in: Atom PDF