Re: apply fcrdns filter but with exemption? SOLVED

2024-05-27 Thread Ian Darwin
On 5/27/24 4:59 AM, gil...@poolp.org wrote: May 27, 2024 2:53 AM, "Ian Darwin" wrote: On 5/26/24 8:45 PM, gil...@poolp.org wrote: May 27, 2024 12:41 AM, "Ian Darwin" wrote: On 5/26/24 5:40 PM, gil...@poolp.org wrote: May 26, 2024 9:46 PM, "Ian Darwin" wrot

Re: apply fcrdns filter but with exemption?

2024-05-27 Thread gilles
May 27, 2024 2:53 AM, "Ian Darwin" wrote: > On 5/26/24 8:45 PM, gil...@poolp.org wrote: > >> May 27, 2024 12:41 AM, "Ian Darwin" wrote: >>> On 5/26/24 5:40 PM, gil...@poolp.org wrote: >>>> May 26, 2024 9:46 PM, "Ian Darwin" wro

Re: apply fcrdns filter but with exemption?

2024-05-26 Thread Ian Darwin
On 5/26/24 8:45 PM, gil...@poolp.org wrote: May 27, 2024 12:41 AM, "Ian Darwin" wrote: On 5/26/24 5:40 PM,gil...@poolp.org wrote: May 26, 2024 9:46 PM, "Ian Darwin" wrote: I'd like to use the fcrdns filter but one of my users has a non-negotiable need to get mail fr

Re: apply fcrdns filter but with exemption?

2024-05-26 Thread gilles
May 27, 2024 12:41 AM, "Ian Darwin" wrote: > On 5/26/24 5:40 PM, gil...@poolp.org wrote: > >> May 26, 2024 9:46 PM, "Ian Darwin" wrote: >> >>> I'd like to use the fcrdns filter but one of my users has a non-negotiable >>> ne

Re: apply fcrdns filter but with exemption?

2024-05-26 Thread Ian Darwin
On 5/26/24 5:40 PM, gil...@poolp.org wrote: May 26, 2024 9:46 PM, "Ian Darwin" wrote: I'd like to use the fcrdns filter but one of my users has a non-negotiable need to get mail from a site with inept administration. Is there a way to let this one site bypass this one filter?

Re: apply fcrdns filter but with exemption?

2024-05-26 Thread gilles
May 26, 2024 9:46 PM, "Ian Darwin" wrote: > I'd like to use the fcrdns filter but one of my users has a non-negotiable > need to get mail from a > site with inept administration. Is there a way to let this one site bypass > this one filter? > > I have two fair

apply fcrdns filter but with exemption?

2024-05-26 Thread Ian Darwin
I'd like to use the fcrdns filter but one of my users has a non-negotiable need to get mail from a site with inept administration. Is there a way to let this one site bypass this one filter? I have two fairly standard 'listen' clauses and the corresponding matches. I had fcrdns on the first

Re: Failure to check FCrDNS with long DNS replies?

2022-10-20 Thread Joerg Jung
records. >> >> I believe there is a limit in BIND suite (32) and OpenBSD libc (35) and >> others, which restricts older gethostbyname() calls with struct hostent >> results down to that 30-something number. Likely the used resolver was using >> these old/ob

Re: Failure to check FCrDNS with long DNS replies?

2022-10-18 Thread Tassilo Philipp
calls with struct hostent results down to that 30-something number. Likely the used resolver was using these old/obsolete libc functions… But OpenSMTPD and filter FCrDNS and OpenBSD ASR all doing fine here, because using getaddrinfo() alike under the hood with dynamic struct addrinfo result allocation,

Re: Failure to check FCrDNS with long DNS replies?

2022-10-18 Thread Joerg Jung
BIND suite (32) and OpenBSD libc (35) and others, which restricts older gethostbyname() calls with struct hostent results down to that 30-something number. Likely the used resolver was using these old/obsolete libc functions… But OpenSMTPD and filter FCrDNS and OpenBSD ASR all doing fine here, be

Re: Failure to check FCrDNS with long DNS replies?

2020-11-21 Thread Tassilo Philipp
FYI, I run into the same issue with a different provider: relay.yourmailgateway.de which also has a large number of A records. Trying to reproduce and digging deeper now, by adding debug logs etc. Interesting... thanks for checking and having thought of my report. I for myself didn't have any

Re: Failure to check FCrDNS with long DNS replies?

2020-11-20 Thread Joerg Jung
On Mon, Aug 03, 2020 at 02:05:20PM +0200, Tassilo Philipp wrote: > > Mhmm… but they returned different results, for dig vs OpenSMTPd filter > > lookup? > > Not sure, as I don't log the replies, but I don't think so. > > > > May cache TTL have expired and record re-fetched with your local test?

Re: Failure to check FCrDNS with long DNS replies?

2020-08-03 Thread Tassilo Philipp
Mhmm… but they returned different results, for dig vs OpenSMTPd filter lookup? Not sure, as I don't log the replies, but I don't think so. May cache TTL have expired and record re-fetched with your local test? What’s your local cache software, is it able to handle large A record lists?

Re: Failure to check FCrDNS with long DNS replies?

2020-08-03 Thread Joerg Jung
> On 3. Aug 2020, at 12:23, Tassilo Philipp wrote: > > Thanks for the reply and your thoughts. > >> There should be nothing limit FCrDNS here, despite that >> these are a lot of records. >> >> But have you tried the dig lookup below from the actual ma

Re: Failure to check FCrDNS with long DNS replies?

2020-08-03 Thread Tassilo Philipp
Thanks for the reply and your thoughts. There should be nothing limit FCrDNS here, despite that these are a lot of records. But have you tried the dig lookup below from the actual mail server at the time (or shortly after) the time of the failure? Yes, that was the first thing I tried, and I

Re: Failure to check FCrDNS with long DNS replies?

2020-08-02 Thread Joerg Jung
> On 21. Jul 2020, at 12:46, Tassilo Philipp > wrote: > > Hello, > > I have a strange problem, emails coming from a specific SMTP from SFR, namely > smtp26.services.sfr.fr get incorrectly filtered by a fcrdns check. The filter > line in question is: > > fil

FCrDNS.

2019-09-28 Thread Reio Remma
Hello! I just had to share this. :) I made a makeshift reporter to see how many incoming SMTP connections would fail on our server: fcrdns-reporter: fcrdns-failure address=89.248.160.66 host=no-reverse-dns-configured.com result="Hostname resolved to a different IP" Someone out

Re: FCrDNS check implemented

2018-12-20 Thread Gilles Chehade
You can apply the check at further phases if you > > need to log more details, this is up to you. > > Thank you for the check-fcrdns filter. Would it be possible for you to > please share your thoughts on the filter, specifically the checks that > the filter performs. >

Re: FCrDNS check implemented

2018-12-20 Thread Aham Brahmasmi
Monsieur Gilles, > helo misc@, > > I wrote an article a few days ago: > > https://poolp.org/posts/2018-12-06/opensmtpd-proc-filters-fc-rdns/ > > > Since then, I implemented the check-fcrdns builtin filter allowing us to > filter incoming sessions that do not ha

FCrDNS check implemented

2018-12-09 Thread Gilles Chehade
helo misc@, I wrote an article a few days ago: https://poolp.org/posts/2018-12-06/opensmtpd-proc-filters-fc-rdns/ Since then, I implemented the check-fcrdns builtin filter allowing us to filter incoming sessions that do not have a valid FCrDNS. How does it work ? 1- configure your