On 16 Apr 2019, at 14:07, James Moe wrote:

Hello,
  Postfix 3.3.1

  The message was delivered.

Your log lines show 2 different messages: B670515E4E and A531515E50. B670515E4E delivered via relay to mail.sma.com. A531515E50 is a NDN which was not delivered.

What I am curious about is the bit at the end that says postfix tried
to open a directory. 'Tis true, </var/mail/root> is a directory. There
are 3 other directories there: cur, new, tmp.

That's a 'maildir' structure, which I'd not expect to see there. Perfectly reasonable however, given the right config.

  I suspect this is a mis-configuration.

Somewhere in your config a path for local delivery is defined. Probably mail_spool_directory, perhaps by using a default value of '/var/mail' which tells Postfix to deliver to a mbox file named for the user inside that directory. If you want delivery to a *maildir* in that location, then you need to change that to '/var/mail/' (note the trailing /)

It's also possible (but unlikely) that you've got virtual_mailbox_maps doing the same thing.


2019-04-16T07:23:02-0700 sma-station14l postfix/smtp[4580]: B670515E4E: to=<moe.ja...@sohnen-moe.com>, relay=mail.sma.com[192.168.69.246]:5025,
delay=0.92, delays=0.04/0.07/0.55/0.26, dsn=2.0.0, status=sent (250
7218623 message accepted for delivery)
2019-04-16T07:23:02-0700 sma-station14l postfix/cleanup[4577]:
A531515E50: message-id=<20190416142302.a531515...@sma-station14l.sma.com>
2019-04-16T07:23:02-0700 sma-station14l postfix/bounce[4582]:
B670515E4E: sender non-delivery notification: A531515E50
2019-04-16T07:23:02-0700 sma-station14l postfix/qmgr[10816]: A531515E50:
from=<>, size=3441, nrcpt=1 (queue active)
2019-04-16T07:23:02-0700 sma-station14l postfix/qmgr[10816]: B670515E4E:
removed

2019-04-16T07:23:02-0700 sma-station14l postfix/local[4581]: A531515E50:
to=<r...@sma-station14l.sma.com>, relay=local, delay=0.05,
delays=0.05/0/0/0, dsn=5.2.0, status=bounced (cannot update mailbox
/var/mail/root for user root. cannot open file: Is a directory)

2019-04-16T07:23:02-0700 sma-station14l postfix/qmgr[10816]: A531515E50:
removed


--
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.


--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Available For Hire: https://linkedin.com/in/billcole

Reply via email to