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

Daniel Roethlisberger (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Mon Aug 24 16:37:08 PDT 2009


New submission from Daniel Roethlisberger <daniel at roe.ch>:

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=<root at marvin.ustcor.roe.ch>
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=<daniel+2 at roe.ch> queued
as 2841e090000000cf.2840f130
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=<daniel+1 at roe.ch> 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: <daniel+2 at roe.ch>
From: MAILER-DAEMON <>
Subject: Mail delivery failed
Message-Id: <2841e0900000011c at marvin.ustcor.roe.ch>
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 <daniel+2 at roe.ch>.

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: <daniel+1 at roe.ch>
From: MAILER-DAEMON <>
Subject: Mail delivery failed
Message-Id: <2841e0900000013d at marvin.ustcor.roe.ch>
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 <daniel+1 at roe.ch>.

can not seek: Illegal seek

Message headers follow.

MON

----------
assignedto: corecode
messages: 7168
nosy: corecode, roe
priority: bug
status: unread
title: dma(8): Illegal seek when delivering message with multiple recipients

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1462>
_____________________________________________________





More information about the Bugs mailing list