Hi Having got the snapshot to compile on OpenBSD5.5-stable I tried it out. I get datalen errors when I try to send mail to it. Any clues? Everything works OK on 5.4.2. (run output below)
As a probably separate question, what permissions should there be on /var/spool/smtpd/*? I had to create user _smtpq to run the snapshot and it seemed to want ownership of most of that directory. Current setup - is this correct?: # ls -la /var/spool/smtpd/ total 36 drwx--x--x 8 root wheel 512 May 13 09:55 . drwxr-xr-x 11 root wheel 512 Mar 5 16:21 .. drwx------ 27 _smtpq wheel 1024 Feb 23 11:44 corrupt drwx------ 2 _smtpq wheel 512 May 13 09:59 incoming drwxrwxrwt 2 root wheel 512 Dec 9 20:27 offline drwx------ 16 _smtpq wheel 512 May 13 09:55 purge drwx------ 258 _smtpq wheel 3584 Feb 11 11:00 queue drwx------ 2 _smtpq wheel 512 May 13 09:59 temporary # Many thanks JC # smtpd -d -v debug: init ssl-tree info: loading pki information for yidhra.outer.uphall.net info: OpenSMTPD 201405121706 starting debug: bounce warning after 4h debug: using "fs" queue backend debug: using "ramqueue" scheduler backend debug: using "ram" stat backend info: startup [debug mode] debug: parent_send_config_ruleset: reloading filter: building simple chains... debug: init ssl-tree debug: parent_send_config: configuring pony process filter: building complex chains... info: loading pki keys for yidhra.outer.uphall.net debug: parent_send_config: configuring ca process filter: done building complex chains filter: done building default chain debug: init private ssl-tree debug: ca_engine_init: using RSAX engine support debug: smtp: listen on 127.0.0.1 port 25 flags 0x1 pki "yidhra.outer.uphall.net" debug: smtp: listen on IPv6:fe80::1%lo0 port 25 flags 0x1 pki "yidhra.outer.uphall.net" debug: smtp: listen on IPv6:::1 port 25 flags 0x1 pki "yidhra.outer.uphall.net" debug: smtp: listen on IPv6:fe80::6a05:caff:fe08:e7b1%em2 port 25 flags 0x1 pki "yidhra.outer.uphall.net" debug: smtp: listen on 10.44.0.3 port 25 flags 0x1 pki "yidhra.outer.uphall.net" debug: pony: rsae_init debug: pony: rsae_init debug: smtp: will accept at most 3503 clients debug: queue: done loading queue into scheduler debug: smtpd: scanning offline queue... debug: smtpd: offline scanning done debug: smtp: new client on listener: 0x56a7dae3000 smtp-in: New session fe1876ed47d20e57 from host 10.44.1.11 [10.44.1.11] debug: lka: looking up pki "yidhra.outer.uphall.net" debug: session_start_ssl: switching to SSL smtp-in: No PKI entry for requested SNI "smtp.outer.uphall.net"on session fe1876ed47d20e57 debug: pony: rsae_priv_dec smtp-in: Started TLS on session fe1876ed47d20e57: version=TLSv1/SSLv3, cipher=AES128-SHA, bits=128 smtp: 0x56a84510000: fd 5 from queue smtp: 0x56a84510000: fd 7 from filter debug: filter: tx data (255) for req fe1876ed47d20e57 debug: filter: tx data (314) for req fe1876ed47d20e57 debug: smtp: 0x56a84510000: data io done (255 bytes) smtp: 0x56a84510000: eom. datalen=255 filter: datalen mismatch on session fe1876ed47d20e57: 569/255: Undefined error: 0 smtp-in: Failed command on session fe1876ed47d20e57: "DATA" => 530 Message rejected debug: filter: tx done for req fe1876ed47d20e57 smtp-in: Received disconnect from session fe1876ed47d20e57 debug: smtp: 0x56a84510000: deleting session: disconnected debug: smtp: new client on listener: 0x56a7dae3000 smtp-in: New session fe1876f6e4a24c68 from host azathoth.uphall.net [46.235.226.138] debug: lka: looking up pki "yidhra.outer.uphall.net" debug: session_start_ssl: switching to SSL debug: pony: rsae_priv_enc debug: pony: rsae_init debug: pony: rsae_init debug: pony: rsae_pub_dec debug: pony: rsae_bn_mod_exp debug: pony: rsae_init debug: pony: rsae_pub_dec debug: pony: rsae_bn_mod_exp debug: pony: rsae_pub_dec debug: pony: rsae_bn_mod_exp smtp-in: Started TLS on session fe1876f6e4a24c68: version=TLSv1/SSLv3, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256 smtp-in: Client certificate verification succeeded on session fe1876f6e4a24c68 debug: smtp: SIZE in MAIL FROM command debug: aliases_virtual_get: 'r...@yidhra.outer.uphall.net' resolved to 1 nodes debug: aliases_get: returned 1 aliases smtp: 0x56a84510000: fd 5 from queue smtp: 0x56a84510000: fd 7 from filter debug: filter: tx data (297) for req fe1876f6e4a24c68 debug: filter: tx data (2461) for req fe1876f6e4a24c68 debug: smtp: 0x56a84510000: data io done (297 bytes) smtp: 0x56a84510000: eom. datalen=297 filter: datalen mismatch on session fe1876f6e4a24c68: 2758/297: Undefined error: 0 smtp-in: Failed command on session fe1876f6e4a24c68: "DATA" => 530 Message rejected debug: filter: tx done for req fe1876f6e4a24c68 -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org