Hi,

I upgraded from OpenBSD 6.3 to OpenBSD 6.4 today.  I upgraded all packages, switched to php7, etc.

I've been running OpenBSD since 2.7 so this is a very known process.

The upgrade went quite smoothly and is working fine except for my email.  I have massaged the smtpd.conf file to comply with the OpenBSD 6.4 grammar.

I run a VERY simple smtpd configuration saving in mbox format.

I am also using procmail to direct emails into various folders, launched with a .forward.  This has been working since about 2005 :), historically with sendmail and more recently, smtpd.

Unfortunately, email is being written to both my INBOX and the procmail the folders **incorrectly** post upgrade.

They are all missing the "From " line that is supposed to indicate the start of a new email message.

It seems like the email is being passed "raw" to procmail without being processed by "mail.local" ... or that's my interpretation.

In the /var/mail/steve file, I can see the following lines prior to the upgrade: From steve+caf_=steve=williams-steve....@williamsitconsulting.com Sat Jan 26 09:52:48 2019
^^^^^^

After the upgrade, I'm not getting those "From " lines which appear to be added by mail.local(8):
    Individual mail messages in the mailbox are delimited by an empty line
    followed by a line beginning with the string "From ".  A line containing
    the string "From ", the sender's name and a timestamp is prepended to
    each delivered mail message.

If there is a .forward, does that preclude mail.local from being called?

When I remove the .forward, incoming mail is written correctly to the INBOX.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I'm hoping I'm missing something in my simple smptd.conf file... but for the life of me, I cannot figure out what it is.

Here is my smtpd.conf file:
-----------------------------------
# System aliases file
table aliases file:/etc/mail/aliases

# Listen on all interfaces as "mail.williamsitconsulting.com"
listen on all hostname "mail.williamsitconsulting.com"

action "local" mbox alias <aliases>

# Incoming mail for the two domains.
match from any for domain "williamsitconsulting.com" action "local"
match from any for domain "williams-steve.com" action "local"

.forward file
----------------
"|/usr/local/bin/procmail"


Reply via email to