[Bug 281131] dma loses emails

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 Jan 2026 08:42:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281131

Tim Hogard <thogard@abnormal.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thogard@abnormal.com

--- Comment #7 from Tim Hogard <thogard@abnormal.com> ---
I can't repeat this bug.  I don't think it is a dma(8) problem but maybe a
mail(1) problem.

mbox format has a message terminating with two newlines with the first being
the last line of text in the message.  Messages always start with
"From[space][sender][space][date]

Can the reporter try this:
grep -B1 '^From ' /var/mail/mailbox
tail -1 /var/mail/mailbox
As a general user, $MAIL can be substitute for /var/mail/mailboxname

The line before the From should be a blank line.  There should always be an
empty line in any mailbox that has any messages.
Do the grep after using mail, after sending a new message and after deleting a
message to help indicate if it is a dma or mail problem.  pkg elm might be
useful for looking at the messages as well.  For my testing I was using "date |
mail root" to create messages.

-- 
You are receiving this mail because:
You are the assignee for the bug.