Bug #1462
closeddma(8): Illegal seek when delivering message with multiple recipients
0%
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=<root@marvin.ustcor.roe.ch>
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=<daniel+2@roe.ch> queued
as 2841e090000000cf.2840f130
Aug 25 01:03:56 marvin dma[2841e090000000cf]: mail to=<daniel+1@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@roe.ch>
From: MAILER-DAEMON <>
To: root@marvin.ustcor.roe.ch
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
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 <>
To: root@marvin.ustcor.roe.ch
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