Re: filter-dnsbl and Abusix

2024-02-10 Thread Kirill A . Korinsky
Greeting, On Sat, 10 Feb 2024 20:10:36 +0100, J Doe wrote: > > ...however, if I try either the combined DNSBL from Abusix or the black > DNSBL from Abusix, it will reject mail from Hotmail as well as e-mail > that is hosted via 1&1's e-mail service. > > The man page for filter-dnsbl mentions

filter-dnsbl: feature request and bug report

2023-12-28 Thread Kirill A. Korinsky
Greetings, This list seems as the right place to discuss about http://imperialat.at/dev/filter-dnsbl 1. I'd like to report a small bug: OpenSMTPD injects header X-Spam: Yes when filter decided that it is junk, and this filter injects yes (in the lower

filter-dkimverify status

2023-12-28 Thread Kirill A. Korinsky
Greetings, This list seems to be the right place to ask about status of this filter http://imperialat.at/dev/filter-dkimverify/ As I see via snv log the last commit was about a year ago. Is it working? Or? -- wbr, Kirill signature.asc

Re: filter-dnsbl: feature request and bug report

2023-12-28 Thread Kirill A. Korinsky
> On 28. Dec 2023, at 19:22, Martijn van Duren > wrote: > > On Thu, 2023-12-28 at 18:52 +0100, Kirill A. Korinsky wrote: >> >> >> 1. I'd like to report a small bug: OpenSMTPD injects header X-Spam: Yes when >> filter decided that it is junk, and t

Re: filter-dnsbl: feature request and bug report

2023-12-28 Thread Kirill A. Korinsky
> On 28. Dec 2023, at 22:17, Martijn van Duren > wrote: > > On Thu, 2023-12-28 at 20:05 +0100, Kirill A. Korinsky wrote: >> >> >> Example of software is sieve: as far as I know it doesn't support matching >> case insensitive strings. > > Doe

Re: filter-dnsbl: feature request and bug report

2023-12-28 Thread Kirill A. Korinsky
> On 28. Dec 2023, at 23:34, Martijn van Duren > wrote: > > I've never used sieve, but this already is a custom rule and not a > X-Spam specific header check from sieve itself. However, a quick > online search shows me the i;ascii-casemap comparator. Maybe you > can give that a try. > > Also,

Re: filter-dnsbl: feature request and bug report

2023-12-28 Thread Kirill A. Korinsky
> On 28. Dec 2023, at 23:46, Kirill A. Korinsky wrote: > >> On 28. Dec 2023, at 23:34, Martijn van Duren >> wrote: >> This would make filter-dnsbl grow way beyond of what it was ever >> intended for into something where I'm afraid is not properly >> mainta

Run VM with 16G or more?

2023-12-31 Thread Kirill A. Korinsky
Greetings, How can I run a VM with more than 16G of memory? A naive approach fails with error: > vmctl: start vm command failed: Cannot allocate memory Yes, the host machine has that memory and much more. -- wbr, Kirill signature.asc Description: Message signed with OpenPGP

Request review: updated filter-dnsbl

2024-01-10 Thread Kirill A. Korinsky
Folks, I'd like to share with you an updated version of filter-dnsbl which is available at https://github.com/catap/filter-dnsbl The first changes it doesn't drop connection in case of DNS error when -m is spcefied, instead it adds header X-Spam: unknown. The second one is whitelists. It,

Alisases, LMTP vs the Queue

2024-01-27 Thread Kirill A . Korinsky
Greetings, Let assume that we have setup which defines a list of aliases: u...@domain.com: u...@domain.com and it delivering as: action deliver_lmtp lmtp "/var/dovecot/lmtp" rcpt-to virtual match from any for any action deliver_lmtp Unfortunately, this requires to add somewhere

Re: Alisases, LMTP vs the Queue

2024-01-27 Thread Kirill A . Korinsky
On Sat, 27 Jan 2024 11:26:11 +0100, Kirill A. Korinsky wrote: > > So, here the question: does it possible make this setup clean, without > duplicating information? > For example a solution which looks clean from my point of view. Let assume that the setup is: action deliver_lmt

Re: Status of filter-spf

2024-01-29 Thread Kirill A . Korinsky
On Mon, 29 Jan 2024 13:55:07 +0100, Martijn van Duren wrote: > > I've started filter-spf, but never gotten to finish it. No clue when > or if I want to continue with it. At the moment my priorities are > somewhere else. > Got it. Meanwhile I've discovered spfwalk.c which should speed up my

Capture core for OpenSMTPD filter

2024-01-31 Thread Kirill A . Korinsky
Greetings, I've finished the first version of opensmtpd-filter-auth and I've tried to use it on real world traffic. As expected it crashed instantly but without any core. I've tried sysctl kern.nosuidcoredump with value 2 and 3, tried to create /var/crash/filter-auth and /var/crash/smtpd, but

Re: need test from MacOS not Sonoma

2024-03-10 Thread Kirill A. Korinsky
Hey, I do have a collection of macOS 10.5…13 -- wbr, Kirill > On 9. Mar 2024, at 12:22, gil...@poolp.org wrote: > > Hello, > > Anyone on the list has a MacOS that's not Sonoma and can help track a bug ? > > Gilles >

Disabling incoming SMTP connections: Client limit reached

2024-04-11 Thread Kirill A . Korinsky
Greetings, I've noticed that my personal mail stop to working. After some digging in the log I discovered the magic line: Apr 10 23:37:43 mx1 smtpd[84358]: warn: Disabling incoming SMTP connections: Client limit reached which leads to this issue

Re: Disabling incoming SMTP connections: Client limit reached

2024-04-12 Thread Kirill A . Korinsky
Greetings, On Fri, 12 Apr 2024 09:01:32 +0200, gil...@poolp.org wrote: > > This looks like clients hogging connections and not releasing them, or a leak > within a filter. > > - what do you see with the `fstat` command when the issue happens ? > - do you see unusual trafic in your logs and/or

Inject Date and Message-Id

2024-04-17 Thread Kirill A . Korinsky
misc@, Is it possible to inject into email date and message-id when email hasn't got one? Use case: my scaner sents email but qutie dummy which has format like: From: some@email To: my@email Subject: Scanned documents MIME-Version: 1.0 Content-Type: multipart/mixed;

Re: Inject Date and Message-Id

2024-04-17 Thread Kirill A . Korinsky
On Wed, 17 Apr 2024 09:48:14 +0200, Kirill A. Korinsky wrote: > > As simpler solution I see the behaviour for OpenSMTPd to inject MessageId > (when it missed) or date. > > Or it's bad idea? > After reading the code I see that it should insert Date and MessageId if client i

Re: Inject Date and Message-Id

2024-04-17 Thread Kirill A . Korinsky
Hi, On Wed, 17 Apr 2024 13:18:47 +0200, Philipp wrote: > > There was a bug in the code which mixed the byteorder of the port. This > is fixed in 7.4. So an update might help. > Confirmed, that upgrade to OpenBSD 7.5 fixes an issue. -- wbr, Kirill

Re: Change "524 5.2.4 Mailing list expansion problem" to "550 Invalid recipient"?

2024-05-14 Thread Kirill A . Korinsky
On Tue, 14 May 2024 11:41:54 +0100, Jesper Wallin wrote: > > ps, while writing this mail, satanist on IRC suggested the workaround > of adding 'rcpt-to ', which might invalidate my > suggestion/patch... Still, I find the mailing list expansion error more > confusing than helpful. I use rcpt-to