Re: OpenSMTPD 7.5.0 RC1

2024-03-09 Thread Andi Vajda
Hi Omar, On Sat, 9 Mar 2024, Omar Polo wrote: Now, back to the problem, the issue is that on NetBSD seteuid() breaks setuid() and that inbetween 7.3 and 7.4 I lost the check for the setreuid() function. So, in openbsd-compat/resuid.c we end up calling seteuid() and then setuid(), which

Re: OpenSMTPD 7.5.0 RC1

2024-03-08 Thread Andi Vajda
On Fri, 8 Mar 2024, Andi Vajda wrote: With this configuration, the build succeeds on netbsd 10.0_rc5, but I get the same setuid failure as with 7.4.0p1 (but not with 7.3.0p2): Looking at obvious differences in the 7.3.0p2, 7.4.0p1 and 7.5.0rc1 smtpd executables. From ldd's standpoint

Re: OpenSMTPD 7.5.0 RC1

2024-03-08 Thread Andi Vajda
On Fri, 8 Mar 2024, Andi Vajda wrote: I verified that configure works again with this statement: Sorry for the noise, the configure statement is: $ ./configure --prefix=`pwd`/local \ --with-libssl=/home/vajda/libressl-3.8.2/local --with-libevent=/usr/pkg \ --with-path-CAfile=/usr/pkg/share

Re: OpenSMTPD 7.5.0 RC1

2024-03-08 Thread Andi Vajda
Hi Omar, On Fri, 8 Mar 2024, Omar Polo wrote: Tarballs are available on the official mirror or on GitHub: https://opensmtpd.org/archives/opensmtpd-7.5.0rc1.tar.gz https://github.com/OpenSMTPD/OpenSMTPD/releases/tag/7.5.0rc1 Verify the tarball with signify(1) and the usual public

Re: issues on netbsd

2024-03-06 Thread Andi Vajda
On Wed, 6 Mar 2024, Omar Polo wrote: On 2024/03/06 10:15:26 -0800, Andi Vajda wrote: Good catch! With the 7.4 I reworked much of the configure script, this is an un-indented fallout from it. In particular, we explicitly enable -R for NetBSD. Can you please test the attached diff? Should

Re: issues on netbsd

2024-03-06 Thread Andi Vajda
On Wed, 6 Mar 2024, Omar Polo wrote: So the issue is that at runtime ld.so fails to load libevent2 somehow... I took a closer look at config.log files produced opensmtpd-7.3.0p2 and opensmtpd-7.4.0p1. The difference is that 7.3.0p2 uses -R flags, 7.4.0p1 does not. The configure command

Re: issues on netbsd

2024-03-04 Thread Andi Vajda
On Mon, 4 Mar 2024, Omar Polo wrote: Sorry, I made a typo. It should be ./configure CFLAGS='-I/home/vajda/libressl-3.8.2/local/include/ -I/usr/pkg/include' I missed the /include at the end of both -I args. If it still doesn't work, can you please include the `config.log' file? Feel

Re: issues on netbsd

2024-03-03 Thread Andi Vajda
On Sun, 3 Mar 2024, Andi Vajda wrote: On Sun, 3 Mar 2024, Omar Polo wrote: ouch! Don't know much of how pkgsrc works, but this seems strange. Can you make sure the users were created? `grep smtp /etc/passwd' should be enough. Yes, both users exist. I created them with id 1012 and 1013

Re: issues on netbsd

2024-03-03 Thread Andi Vajda
On Sun, 3 Mar 2024, Omar Polo wrote: ouch! Don't know much of how pkgsrc works, but this seems strange. Can you make sure the users were created? `grep smtp /etc/passwd' should be enough. Yes, both users exist. I created them with id 1012 and 1013 and they work fine with 7.3.0p2 built

issues on netbsd

2024-03-02 Thread Andi Vajda
Hi all, I'm working on migrating from NetBSD 9.3 to NetBSD 10.0 (RC5), and from amd64 to aarch64. Here are a few things I found regarding opensmtpd: - opensmtpd is available again via pkgsrc with the latest version, 7.4.0p1nb1, and it builds fine - it doesn't run, however; it fails

Re: OpenSMTPD 7.3.0p0 rc1 -- please test!

2023-06-09 Thread Andi Vajda
On Fri, 9 Jun 2023, Omar Polo wrote: Sorry for the delay, I was able to build the release 7.3 branch on NetBSD 9.3 with libressl 3.7.3 and with openssl 3.1.1. Both configurations appear to work ! Thank you for the fixes ! Andi.. On 2023/06/05 15:20:38 -0700, Andi Vajda wrote

Re: OpenSMTPD 7.3.0p0 rc1 -- please test!

2023-06-06 Thread Andi Vajda
-list) the config.log? Mailed off-list. On 2023/06/05 15:20:38 -0700, Andi Vajda wrote: On Mon, 5 Jun 2023, Andi Vajda wrote: The build succeeds but running a debug session: sudo ./local/sbin/smtpd -f `pwd`/smtpd.conf -dv fails. I'm not sure how much of my debug logs is appropriate to post

Re: OpenSMTPD 7.3.0p0 rc1 -- please test!

2023-06-05 Thread Andi Vajda
On Mon, 5 Jun 2023, Andi Vajda wrote: The build succeeds but running a debug session: sudo ./local/sbin/smtpd -f `pwd`/smtpd.conf -dv fails. I'm not sure how much of my debug logs is appropriate to post here but I could try to build with openssl 3 next ? Same problem with smtpd built

Re: OpenSMTPD 7.3.0p0 rc1 -- please test!

2023-06-05 Thread Andi Vajda
Hi Omar, Thank you for doing this ! More below... On Wed, 31 May 2023, Omar Polo wrote: It's been a while since the last OpenSMTPD-portable release, but here we are. After syncing the portable repository with OpenBSD, plus various miscellaneous portable tweaks, I've talked with Gilles and

Re: Adrift with DKIM Signing on FreeBSD

2020-07-24 Thread Andi Vajda
On Thu, 23 Jul 2020, Sam Vaughan wrote: I’ve been very happy with OpenSMTPd on both OpenBSD and FreeBSD for a long time now but have recently come unstuck with DKIM signing on FreeBSD. I started out using dkimproxy successfully, then “filter dkim-sign” came along and it was even better.

Re: opensmtpd 6.6.4p1 crashes on netbsd 9.0

2020-03-09 Thread Andi Vajda
On Mon, 9 Mar 2020, Martijn van Duren wrote: On 3/9/20 8:15 AM, Andi Vajda wrote: On Mar 8, 2020, at 23:58, Martijn van Duren wrote: I guess not a lot of opensmtpd developers have a NetBSD machine at hand (I certainly don't). Could you supply us with a backtrace, which most likely

Re: opensmtpd 6.6.4p1 crashes on netbsd 9.0

2020-03-09 Thread Andi Vajda
ssl 3.0.2 (instead of openssl 1.1.1d) worked around the problem. Andi.. > > martijn@ > >> On 3/7/20 1:38 AM, Andi Vajda wrote: >> >> Hi, >> >> I've been running opensmtpd 6.6.4p1 on netbsd 7.2 just fine. >> >> I'm now upgrading to

Re: opensmtpd 6.6.4p1 crashes on netbsd 9.0

2020-03-07 Thread Andi Vajda
On Sat, 7 Mar 2020, Andi Vajda wrote: On Fri, 6 Mar 2020, Andi Vajda wrote: Hi, I've been running opensmtpd 6.6.4p1 on netbsd 7.2 just fine. I'm now upgrading to netbsd 9.0 and I'm seeing that opensmtpd 6.6.4p1 crashes when mail is submitted to it. The crash seems to happen right after

Re: opensmtpd 6.6.4p1 crashes on netbsd 9.0

2020-03-07 Thread Andi Vajda
On Fri, 6 Mar 2020, Andi Vajda wrote: Hi, I've been running opensmtpd 6.6.4p1 on netbsd 7.2 just fine. I'm now upgrading to netbsd 9.0 and I'm seeing that opensmtpd 6.6.4p1 crashes when mail is submitted to it. The crash seems to happen right after 'message begin': --- snip --- smtp

opensmtpd 6.6.4p1 crashes on netbsd 9.0

2020-03-06 Thread Andi Vajda
Hi, I've been running opensmtpd 6.6.4p1 on netbsd 7.2 just fine. I'm now upgrading to netbsd 9.0 and I'm seeing that opensmtpd 6.6.4p1 crashes when mail is submitted to it. The crash seems to happen right after 'message begin': --- snip --- smtp: 0x7ad646215000: fd 24 from queue smtp:

Re: python dnsbl filter with 6.6.1p1 on netbsd

2020-01-21 Thread Andi Vajda
/ [1] http://imperialat.at/dev/filter-dnsbl/ [2] http://imperialat.at/dev/filter-dkimsign/ On 1/21/20 1:27 AM, Andi Vajda wrote:  Hi list, I've been a happy opensmtpd user on netbsd for many years. I've now upgraded to version 6.6.1p1 and wrote a dnsbl filter in python3 using asyncio that talks

python dnsbl filter with 6.6.1p1 on netbsd

2020-01-20 Thread Andi Vajda
Hi list, I've been a happy opensmtpd user on netbsd for many years. I've now upgraded to version 6.6.1p1 and wrote a dnsbl filter in python3 using asyncio that talks to zen.spamhaus.org. I've included the source code at the bottom of this message. This is my first time using asyncio. I