Re: Invalid mbox entries

2019-08-07 Thread Gilles Chehade
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  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: 
   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 ;
   Wed, 7 Aug 2019 07:42:34 +0200 (CEST)
   To: Michael Warmuth-Uhl 
   From: Michael Warmuth-Uhl 

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  tag
t_authenticated

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

action "local_mail" mbox alias 
action "virt_user" mbox virtual 
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  action "virt_user"
match  from any for domain  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 c000-dfff
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-f not configured
clock1 at ebus0 addr 0-1fff: mk48t59
lom0 at ebus0 addr 20-23 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 

Invalid mbox entries

2019-08-07 Thread Michael Warmuth-Uhl
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: 
   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 ;
   Wed, 7 Aug 2019 07:42:34 +0200 (CEST)
   To: Michael Warmuth-Uhl 
   From: Michael Warmuth-Uhl 

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 tlspki mail.suljee.de
listen on egress
listen on egress smtps  pki mail.suljee.de auth  tag
t_authenticated

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

action "local_mail" mbox alias 
action "virt_user" mbox virtual 
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  action "virt_user"
match  from any for domain  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 c000-dfff
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-f not configured
clock1 at ebus0 addr 0-1fff: mk48t59
lom0 at ebus0 addr 20-23 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: 

Re: Limit max recipients per mail setting gone?

2019-08-07 Thread mabi
‐‐‐ Original Message ‐‐‐
On Tuesday, August 6, 2019 1:40 PM, Gilles Chehade  wrote:

> Indeed, this somehow didn't get documented, please open an issue on our
> tracker so I take care of this when I get home in a few days.
>
> meanwhile, smtp limits are as follow:
>
> smtp limit max-mails  = max number of mails per session
> smtp limit max-rcpt  = max number of recipient per transaction

Thank you very much for your answer. That's exactly what I was look for. I have 
opened the following issue:

https://github.com/OpenSMTPD/OpenSMTPD/issues/927

and hope that's fine.