Re: [exim] Blocking a Class C

2022-12-08 Thread The Doctor via Exim-users
On Thu, Dec 08, 2022 at 11:35:15AM +0300, Odhiambo Washington wrote: > Define this in the global section: > > hostlist blocked_hosts = 5.34.207.0/24 > > Then in acl_smtp_connect: > drop > message = You are banned here > log_message = Blocked

Re: [exim] Blocking a Class C

2022-12-08 Thread Jeremy Harris via Exim-users
On 08/12/2022 13:26, The Doctor via Exim-users wrote: tcp4 0 0 midwest.ab.ca.smtps5.34.207.58.62078 SYN_RCVD tcp4 0 0 204.209.81.122.smtps 5.34.207.77.62962 SYN_RCVD tcp4 0 0 204.209.81.102.smtps 5.34.207.195.9246 ESTABLISHED tcp4 0

[exim] Problem with catchall

2022-12-08 Thread Walter Aresca via Exim-users
Hello I use the following configuration: catchall: driver = redirect headers_add = X-redirected: yes require_files = /etc/exim4/domains/$domain/aliases data = ${extract{1}{:}{${lookup{*@$domain}lsearch{/etc/exim4/domains/${lookup{$domain}dsearch{/etc/exim4/domains/}}/aliases file_tr

Re: [exim] Blocking a Class C

2022-12-08 Thread The Doctor via Exim-users
On Thu, Dec 08, 2022 at 02:33:01PM +, Jeremy Harris via Exim-users wrote: > On 08/12/2022 13:26, The Doctor via Exim-users wrote: > > tcp4 0 0 midwest.ab.ca.smtps5.34.207.58.62078 SYN_RCVD > > tcp4 0 0 204.209.81.122.smtps 5.34.207.77.62962 SYN_RCVD > > tcp

Re: [exim] Blocking a Class C

2022-12-08 Thread Evgeniy Berdnikov via Exim-users
On Thu, Dec 08, 2022 at 10:30:05AM -0700, The Doctor via Exim-users wrote: > Tried > > host_reject_connection = 5.34.207.* > > Still not doing the rejection job. Use CIDR instead of pattern. -- Eugene Berdnikov -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim

Re: [exim] Blocking a Class C

2022-12-08 Thread Oliver Heesakkers via Exim-users
Jeremy Harris via Exim-users schreef op 2022-12-08 15:33: On 08/12/2022 13:26, The Doctor via Exim-users wrote: tcp4 0 0 midwest.ab.ca.smtps5.34.207.58.62078 SYN_RCVD (...) tcp4 0 64 fortchipewyanlod.smtps 5.34.207.198.21030 ESTABLISHED I am using exim-4.95

Re: [exim] Blocking a Class C

2022-12-08 Thread Odhiambo Washington via Exim-users
On Thu, Dec 8, 2022 at 8:47 PM The Doctor via Exim-users < exim-users@exim.org> wrote: > On Thu, Dec 08, 2022 at 02:33:01PM +, Jeremy Harris via Exim-users > wrote: > > On 08/12/2022 13:26, The Doctor via Exim-users wrote: > > > tcp4 0 0 midwest.ab.ca.smtps5.34.207.58.62078 > SY

Re: [exim] Problem with catchall

2022-12-08 Thread Evgeniy Berdnikov via Exim-users
On Thu, Dec 08, 2022 at 10:56:57AM +0100, Walter Aresca via Exim-users wrote: > I use the following configuration: > > catchall: [...] > The result is that when mail is sent to the domain, ALL mails are forwarded > to the catchall address. I was expecting that ONLY addresses not listed in > users/

Re: [exim] Blocking a Class C

2022-12-08 Thread The Doctor via Exim-users
On Thu, Dec 08, 2022 at 09:24:19PM +0300, Odhiambo Washington via Exim-users wrote: > On Thu, Dec 8, 2022 at 8:47 PM The Doctor via Exim-users < > exim-users@exim.org> wrote: > > > On Thu, Dec 08, 2022 at 02:33:01PM +, Jeremy Harris via Exim-users > > wrote: > > > On 08/12/2022 13:26, The Doc

Re: [exim] Blocking a Class C

2022-12-08 Thread Evgeniy Berdnikov via Exim-users
On Thu, Dec 08, 2022 at 12:22:13PM -0700, The Doctor via Exim-users wrote: > On Thu, Dec 08, 2022 at 09:24:19PM +0300, Odhiambo Washington via Exim-users > wrote: [...] > > >>> host in "5.34.207.0/24"? yes (matched "5.34.207.0/24") > > >>> host in host_reject_connection? yes (matched "+host_reject

Re: [exim] Blocking a Class C

2022-12-08 Thread The Doctor via Exim-users
On Thu, Dec 08, 2022 at 10:47:18PM +0300, Evgeniy Berdnikov via Exim-users wrote: > On Thu, Dec 08, 2022 at 12:22:13PM -0700, The Doctor via Exim-users wrote: > > On Thu, Dec 08, 2022 at 09:24:19PM +0300, Odhiambo Washington via > > Exim-users wrote: > [...] > > > >>> host in "5.34.207.0/24"? yes

Re: [exim] Blocking a Class C

2022-12-08 Thread Slavko via Exim-users
Dňa 8. decembra 2022 14:33:01 UTC používateľ Jeremy Harris via Exim-users napísal: >For those, use the main-config option "host_reject_connection" rather than the >connect ACL - it operates before the TLS startup for TLS-on-connect ports, >while the ACL is run after. > >I'm considering changing

Re: [exim] Blocking a Class C

2022-12-08 Thread Odhiambo Washington via Exim-users
On Thu, Dec 8, 2022 at 11:38 PM The Doctor via Exim-users < exim-users@exim.org> wrote: > On Thu, Dec 08, 2022 at 10:47:18PM +0300, Evgeniy Berdnikov via Exim-users > wrote: > > On Thu, Dec 08, 2022 at 12:22:13PM -0700, The Doctor via Exim-users > wrote: > > > On Thu, Dec 08, 2022 at 09:24:19PM +0

Re: [exim] Blocking a Class C

2022-12-08 Thread Odhiambo Washington via Exim-users
Please learn how to write your responses. Either top-post, or post below, by snipping. Even without doing anything, my server has been rejecting these IPs because they are listed on spamhaus. On Thu, Dec 8, 2022 at 11:58 PM The Doctor wrote: > On Thu, Dec 08, 2022 at 11:44:44PM +0300, Odhiambo

Re: [exim] Blocking a Class C

2022-12-08 Thread The Doctor via Exim-users
On Thu, Dec 08, 2022 at 11:44:44PM +0300, Odhiambo Washington via Exim-users wrote: > On Thu, Dec 8, 2022 at 11:38 PM The Doctor via Exim-users < > exim-users@exim.org> wrote: > > > On Thu, Dec 08, 2022 at 10:47:18PM +0300, Evgeniy Berdnikov via Exim-users > > wrote: > > > On Thu, Dec 08, 2022 at

Re: [exim] Blocking a Class C

2022-12-08 Thread Jeremy Harris via Exim-users
On 08/12/2022 20:42, Slavko via Exim-users wrote: Dňa 8. decembra 2022 14:33:01 UTC používateľ Jeremy Harris via Exim-users napísal: For those, use the main-config option "host_reject_connection" rather than the connect ACL - it operates before the TLS startup for TLS-on-connect ports, while

Re: [exim] dkim=fail (body hash mismatch; body probably modified in transit)

2022-12-08 Thread Victor Sudakov via Exim-users
Bill Cole via Exim-users wrote: > On 2022-12-05 at 00:46:07 UTC-0500 (Mon, 5 Dec 2022 05:46:07 +) > Victor Sudakov via Exim-users > is rumored to have said: > > > Jeremy Harris via Exim-users wrote: > [...] > >> > >> I guess there's also the dkim canonicalisation. Mine was > >> relaxed/rela

Re: [exim] dkim=fail (body hash mismatch; body probably modified in transit)

2022-12-08 Thread Victor Sudakov via Exim-users
Slavko via Exim-users wrote: > Dňa 5. decembra 2022 5:46:07 UTC používateľ Victor Sudakov via Exim-users > napísal: > > >Can you give me an address to send a test mail to on one of your > >Debian receivers? And we will look at what it says about the body. > > Be free to send test mesage to me,

Re: [exim] dkim=fail (body hash mismatch; body probably modified in transit)

2022-12-08 Thread Victor Sudakov via Exim-users
Bill Cole via Exim-users wrote: > On 2022-12-05 at 11:00:21 UTC-0500 (Mon, 5 Dec 2022 16:00:21 +) > Jeremy Harris via Exim-users > is rumored to have said: > > > On 05/12/2022 15:38, Bill Cole via Exim-users wrote: > >> If you use relaxed instead of relaxed/relaxed, the unspecified body > >>

Re: [exim] Blocking a Class C

2022-12-08 Thread The Doctor via Exim-users
On Thu, Dec 08, 2022 at 08:42:46PM +, Slavko via Exim-users wrote: > D??a 8. decembra 2022 14:33:01 UTC pouvate?? Jeremy Harris via Exim-users > nap??sal: > > >For those, use the main-config option "host_reject_connection" rather than > >the > >connect ACL - it operates before the TLS s

Re: [exim] Blocking a Class C

2022-12-08 Thread Odhiambo Washington via Exim-users
On Fri, Dec 9, 2022 at 9:47 AM The Doctor via Exim-users < exim-users@exim.org> wrote: > On Thu, Dec 08, 2022 at 08:42:46PM +, Slavko via Exim-users wrote: > > D??a 8. decembra 2022 14:33:01 UTC pouvate?? Jeremy Harris via > Exim-users nap??sal: > > > > >For those, use the main-config opt

Re: [exim] dkim=fail (body hash mismatch; body probably modified in transit)

2022-12-08 Thread Slavko via Exim-users
Dňa 9. 12. o 5:15 Victor Sudakov via Exim-users napísal(a): I've just sent two messages to you with Message-IDs and I got both and both has DKIM=pass in both, the exim (4.94.2) and rspamd (3.4) -- some headers (wrapped by me): The small message: Authentication-Results: primex.slavino.

Re: [exim] dkim=fail (body hash mismatch; body probably modified in transit)

2022-12-08 Thread Victor Sudakov via Exim-users
Slavko via Exim-users wrote: > Dňa 9. 12. o 5:15 Victor Sudakov via Exim-users napísal(a): > > > I've just sent two messages to you with Message-IDs > > and > > > > I got both and both has DKIM=pass in both, the exim (4.94.2) and rspamd What OS is exim running on? -- Victor Sudakov VAS4-