Very weird because mail.local which is used for mbox delivery adds the line unconditionally.

How did you update ?

Le 8 août 2019 00:30, Michael Warmuth-Uhl <michael.warmuth-...@suljee.de> a écrit :

Hello,

since my yesterday's update to OpenBSD 6.5 (from 6.3 via 6.4),
smtpd does create invalid mbox entries for one of my mailboxes:

   ... (previous mail)
   +zip-3.0p1           create/update ZIP files compatible with PKZip(tm)

   Return-Path: <a...@suljee.de>
   Delivered-To: a...@suljee.de
   Received: from georgi.suljee.de (x5f72144c.dyn.telefonica.de [...])
           by nar.suljee.de (OpenSMTPD) with ESMTPSA id 04986583
(TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO)
           for <a...@suljee.de>;
           Wed, 7 Aug 2019 07:42:34 +0200 (CEST)
   To: Michael Warmuth-Uhl <a...@suljee.de>
   From: Michael Warmuth-Uhl <a...@suljee.de>

The initial "From" header is missing.

This happens for all new mails to that mbox. For others it's working
fine.

The mbox is rather big (500MB).

I saw no relevant log entries.

Programs parsing (dovecot) the mbox are not happy.

What could be the reason? How can I fix this?

Thank you,

Michael



Details:

smtpd.conf
==========
pki mail.suljee.de cert "/etc/ssl/mail.suljee.de.crt"
pki mail.suljee.de key "/etc/ssl/private/mail.suljee.de.key"

table aliases db:/etc/mail/aliases.db
table relayauth file:/etc/mail/relayauth
table virtusers file:/etc/mail/virtusertable
table domains file:/etc/mail/hosteddomains

listen on lo0
#listen on egress tls    pki mail.suljee.de
listen on egress
listen on egress smtps  pki mail.suljee.de auth <relayauth> tag
t_authenticated

#accept from any for domain suljee.de alias <aliases> deliver to mbox
#accept from any for domain "*.suljee.de" alias <aliases> deliver to mbox
#accept from any for domain <domains> virtual <virtusers> deliver to mbox
#accept for local alias <aliases> deliver to mbox
#accept tagged t_authenticated for any relay
#accept from local for any relay

action "local_mail" mbox alias <aliases>
action "virt_user" mbox virtual <virtusers>
action "relay" relay

match auth from any for domain suljee.de action "local_mail"
match      from any for domain suljee.de action "local_mail"
match auth from any for domain "*.suljee.de" action "local_mail"
match      from any for domain "*.suljee.de" action "local_mail"
match auth from any for domain <domains> action "virt_user"
match      from any for domain <domains> action "virt_user"
match auth from any for local action "local_mail"
match      from any for local action "local_mail"
#match tag t_authenticated action "relay"
match from local for any action "relay"
match auth from any for any action "relay"


dmesg
=====

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2019 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.5 (GENERIC) #158: Sun Apr 14 04:07:14 MDT 2019
    dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1037697024 (989MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Fire V120 (UltraSPARC-IIe 548MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 3.3) @ 548 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 512K
external (64 b/l)
psycho0 at mainbus0: SUNW,sabre, impl 0, version 0, ign 7c0
psycho0: bus range 0-2, PCI bus 0
psycho0: dvma map c0000000-dfffffff
pci0 at psycho0
ppb0 at pci0 dev 1 function 1 "Sun Simba" rev 0x13
pci1 at ppb0 bus 1
ebus0 at pci1 dev 12 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-fffff not configured
clock1 at ebus0 addr 0-1fff: mk48t59
lom0 at ebus0 addr 200000-200003 ivec 0x2a: LOMlite2 rev 3.12
alipm0 at pci1 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 74KHz
clock
iic0 at alipm0
"max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
spdmem0 at iic0 addr 0x54: 256MB SDRAM registered ECC PC133CL2
spdmem1 at iic0 addr 0x55: 256MB SDRAM registered ECC PC133CL2
spdmem2 at iic0 addr 0x56: 256MB SDRAM registered ECC PC133CL2
spdmem3 at iic0 addr 0x57: 256MB SDRAM registered ECC PC133CL2
ebus1 at pci1 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
power0 at ebus1 addr 2000-2007 ivec 0x25
com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
com0: console
com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
gem0 at pci1 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6,
address 00:03:ba:27:38:63
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x0010dd, model 0x0002
ohci0 at pci1 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4, version
1.0, legacy support
pciide0 at pci1 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3:
DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
gem1 at pci1 dev 5 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7dc,
address 00:03:ba:27:38:64
ukphy1 at gem1 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI
0x0010dd, model 0x0002
ohci1 at pci1 dev 5 function 3 "Sun USB" rev 0x01: ivec 0x7e6, version
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Sun OHCI root hub" rev
1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Sun OHCI root hub" rev
1.00/1.00 addr 1
ppb1 at pci0 dev 1 function 0 "Sun Simba" rev 0x13
pci2 at ppb1 bus 2
siop0 at pci2 dev 8 function 0 "Symbios Logic 53c896" rev 0x07: ivec
0x7e0, using 8K of on-board RAM
scsibus1 at siop0: 16 targets, initiator 7
sym0 at scsibus1 targ 0 lun 0: <SEAGATE, ST3146855LC, 0003> SCSI3
0/direct fixed naa.5000000000000000
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST3146855LC, 0003> SCSI3
0/direct fixed naa.5000000000000000
sd0: 140014MB, 512 bytes/sector, 286749488 sectors
sym1 at scsibus1 targ 1 lun 0: <SEAGATE, ST336605LSUN36G, 0638> SCSI3
0/direct fixed serial.SEAGATE_ST336605LSUN36G_3FP25QKM000073212THF
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST336605LSUN36G, 0638> SCSI3
0/direct fixed serial.SEAGATE_ST336605LSUN36G_3FP25QKM000073212THF
sd1: 34732MB, 512 bytes/sector, 71132959 sectors
siop1 at pci2 dev 8 function 1 "Symbios Logic 53c896" rev 0x07: ivec
0x7e0, using 8K of on-board RAM
scsibus2 at siop1: 16 targets, initiator 7
siop0: target 0 now using tagged 16 bit 40.0 MHz 31 REQ/ACK offset xfers
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
siop0: target 1 now using tagged 16 bit 40.0 MHz 31 REQ/ACK offset xfers
bootpath: /pci@1f,0/pci@1,0/scsi@8,0/disk@0,0
root on sd0a swap on sd0b dump on sd0b




Reply via email to