New submission from Daniel Roethlisberger <daniel@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 authentic=
ation
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=3Droot uid=
=3D0
envelope_from=3D<root@marvin.ustcor.roe.ch>
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=3D<daniel+2@roe.ch> q=
ueued
as 2841e090000000cf.2840f130
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=3D<daniel+1@roe.ch> q=
ueued
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, bou=
ncing
as 2841e0900000011c
Aug 25 01:03:56 marvin dma[2841e090000000cf.2840f100]: delivery failed, bou=
ncing
as 2841e0900000013d
Aug 25 01:03:56 marvin dma[2841e0900000011c]: new mail from user=3Droot uid=
=3D0
envelope_from=3D<>
Aug 25 01:03:56 marvin dma[2841e0900000013d]: new mail from user=3Droot uid=
=3D0
envelope_from=3D<>
Aug 25 01:03:56 marvin dma[2841e0900000011c]: mail to=3D<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 defer=
red:
can not seek: Illegal seek
Aug 25 01:03:56 marvin dma[2841e0900000013d]: mail to=3D<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 defer=
red:
can not open `/var/mail/roe': Resource temporarily unavailable
# cat /var/spool/dma/M2841e0900000011c.2840f190=20
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@roe.ch>
From: MAILER-DAEMON <>
Subject: Mail delivery failed
Message-Id: <2841e0900000011c@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@roe.ch>.
can not seek: Illegal seek
Message headers follow.
MON
# cat /var/spool/dma/M2841e0900000013d.2840f190=20
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@roe.ch>
From: MAILER-DAEMON <>
Subject: Mail delivery failed
Message-Id: <2841e0900000013d@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@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1462>
_____________________________________________________