Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Men love to wonder, and that is the seed of science.


computers / comp.os.linux.misc / Battling Gmail and EXIM

SubjectAuthor
* Battling Gmail and EXIMThe Natural Philosopher
`* Re: Battling Gmail and EXIMAndy Burns
 +- Re: Battling Gmail and EXIMThe Natural Philosopher
 `* Re: Battling Gmail and EXIMRich
  +* Re: Battling Gmail and EXIMThe Natural Philosopher
  |`* Re: Battling Gmail and EXIMRich
  | `* Re: Battling Gmail and EXIMThe Natural Philosopher
  |  `* Re: Battling Gmail and EXIMHarri
  |   `* Re: Battling Gmail and EXIMThe Natural Philosopher
  |    +* Re: Battling Gmail and EXIMRob van der Putten
  |    |`- Re: Battling Gmail and EXIMThe Natural Philosopher
  |    `* Re: Battling Gmail and EXIMComputer Nerd Kev
  |     +- Re: Battling Gmail and EXIMEli the Bearded
  |     +* Re: Battling Gmail and EXIMAndy Burns
  |     |`- Re: Battling Gmail and EXIMThe Natural Philosopher
  |     `- Re: Battling Gmail and EXIMThe Natural Philosopher
  `* Re: Battling Gmail and EXIMComputer Nerd Kev
   `* Re: Battling Gmail and EXIMAndy Burns
    +- Re: Battling Gmail and EXIMNuno Silva
    `* Re: Battling Gmail and EXIMThe Natural Philosopher
     `* Re: Battling Gmail and EXIMAndy Burns
      `- Re: Battling Gmail and EXIMThe Natural Philosopher

1
Battling Gmail and EXIM

<u54lg8$1vais$4@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12591&group=comp.os.linux.misc#12591

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Battling Gmail and EXIM
Date: Tue, 30 May 2023 12:08:56 +0100
Organization: A little, after lunch
Lines: 14
Message-ID: <u54lg8$1vais$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 30 May 2023 11:08:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b1463a3c437158981e61aa9fa76143b";
logging-data="2075228"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CZOislqzx4odFUTutVejaYq45ZfZS5K8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:3gcl1shQVSEKSQ30c8STbL2/9EM=
Content-Language: en-GB
 by: The Natural Philosop - Tue, 30 May 2023 11:08 UTC

I spent the whole morning (finally) getting my exim4 based email relay
to spit out enough DKIM crap that gmail wont bounce its messages.

I found most tutorials were either too technical, or assumed too much
and didn't explain.

If anyone else is struggling, ask.

--
There’s a mighty big difference between good, sound reasons and reasons
that sound good.

Burton Hillis (William Vaughn, American columnist)

Re: Battling Gmail and EXIM

<kdm7jfF9qagU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12592&group=comp.os.linux.misc#12592

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Tue, 30 May 2023 13:13:36 +0100
Lines: 8
Message-ID: <kdm7jfF9qagU1@mid.individual.net>
References: <u54lg8$1vais$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net tYa5TvSVlRx5spy7AwjXsg0D4iJf+Ukn5d6IKtKJCfNkxpyP1W
Cancel-Lock: sha1:1akLKNaoGSVDHYFh0Cre89Pmzi4=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Content-Language: en-GB
In-Reply-To: <u54lg8$1vais$4@dont-email.me>
 by: Andy Burns - Tue, 30 May 2023 12:13 UTC

The Natural Philosopher wrote:

> I spent the whole morning (finally) getting my exim4 based email relay
> to spit out  enough DKIM crap that gmail wont bounce its messages.

I thought gmail insisted on DKIM *or* SPF? The latter is much easier to
arrange ...

Re: Battling Gmail and EXIM

<u54seh$209pb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12593&group=comp.os.linux.misc#12593

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Tue, 30 May 2023 14:07:29 +0100
Organization: A little, after lunch
Lines: 18
Message-ID: <u54seh$209pb$1@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 30 May 2023 13:07:29 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b1463a3c437158981e61aa9fa76143b";
logging-data="2107179"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX189qAy2BoS5T6ovUx27KN0c0f6IT+45V34="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:R1SBtn2ye+ieyedNS1OUVesrndU=
In-Reply-To: <kdm7jfF9qagU1@mid.individual.net>
Content-Language: en-GB
 by: The Natural Philosop - Tue, 30 May 2023 13:07 UTC

On 30/05/2023 13:13, Andy Burns wrote:
> The Natural Philosopher wrote:
>
>> I spent the whole morning (finally) getting my exim4 based email relay
>> to spit out  enough DKIM crap that gmail wont bounce its messages.
>
> I thought gmail insisted on DKIM *or* SPF?  The latter is much easier to
> arrange ...
>
I wish you had told me that....

I will probably implement BOTH

--
A lie can travel halfway around the world while the truth is putting on
its shoes.

Re: Battling Gmail and EXIM

<u54sj3$20a9l$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12594&group=comp.os.linux.misc#12594

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Tue, 30 May 2023 13:09:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <u54sj3$20a9l$1@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 30 May 2023 13:09:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c79e200e80a2b858e296b0dbf00f5cb5";
logging-data="2107701"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Q6fZGSExYCvPefB/sFuN9"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.19 (x86_64))
Cancel-Lock: sha1:h4N0UuTsAepx2sd8Sc6x592bHRU=
 by: Rich - Tue, 30 May 2023 13:09 UTC

Andy Burns <usenet@andyburns.uk> wrote:
> The Natural Philosopher wrote:
>
>> I spent the whole morning (finally) getting my exim4 based email relay
>> to spit out  enough DKIM crap that gmail wont bounce its messages.
>
> I thought gmail insisted on DKIM *or* SPF? The latter is much easier to
> arrange ...

gmail is likely insisting on DMARC, which itself is what indicates what
to do when DKIM or SPF fail. One needs to configure all three for
succeessful email delivery.

A 'cloudfare' doc page found from a quick google search:

https://www.cloudflare.com/learning/email-security/dmarc-dkim-spf/

Second and third paragraph:

DKIM and SPF can be compared to a business license or a doctor's
medical degree displayed on the wall of an office — they help
demonstrate legitimacy.

Meanwhile, DMARC tells mail servers what to do when DKIM or SPF fail,
whether that is marking the failing emails as "spam," delivering the
emails anyway, or dropping the emails altogether.

Re: Battling Gmail and EXIM

<u54u94$20gh6$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12595&group=comp.os.linux.misc#12595

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Tue, 30 May 2023 14:38:44 +0100
Organization: A little, after lunch
Lines: 54
Message-ID: <u54u94$20gh6$3@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 30 May 2023 13:38:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b1463a3c437158981e61aa9fa76143b";
logging-data="2114086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/lQBYPIT6+FnsgCJb7IHtZhYPtQmtVwTs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:3dNpC5XJqzA8hQdT1Co08oA9LAE=
Content-Language: en-GB
In-Reply-To: <u54sj3$20a9l$1@dont-email.me>
 by: The Natural Philosop - Tue, 30 May 2023 13:38 UTC

On 30/05/2023 14:09, Rich wrote:
> Andy Burns <usenet@andyburns.uk> wrote:
>> The Natural Philosopher wrote:
>>
>>> I spent the whole morning (finally) getting my exim4 based email relay
>>> to spit out  enough DKIM crap that gmail wont bounce its messages.
>>
>> I thought gmail insisted on DKIM *or* SPF? The latter is much easier to
>> arrange ...
>
> gmail is likely insisting on DMARC, which itself is what indicates what
> to do when DKIM or SPF fail. One needs to configure all three for
> succeessful email delivery.
>
> A 'cloudfare' doc page found from a quick google search:
>
> https://www.cloudflare.com/learning/email-security/dmarc-dkim-spf/
>
> Second and third paragraph:
>
> DKIM and SPF can be compared to a business license or a doctor's
> medical degree displayed on the wall of an office — they help
> demonstrate legitimacy.
>
> Meanwhile, DMARC tells mail servers what to do when DKIM or SPF fail,
> whether that is marking the failing emails as "spam," delivering the
> emails anyway, or dropping the emails altogether.
>
DKIM alone has been enough to stop this...(private date obscured)

SMTP error from remote mail server after end of data:
host gmail-smtp-in.l.google.com [108.177.15.27]:
550-5.7.26 This mail is unauthenticated, which poses a security
risk to the
550-5.7.26 sender and Gmail users, and has been blocked. The sender
must
550-5.7.26 authenticate with at least one of SPF or DKIM. For this
message,
550-5.7.26 DKIM checks did not pass and SPF check for [mymail.com]
did not
550-5.7.26 pass with ip: [188.188.188.188]. The sender should visit
550-5.7.26
https://support.google.com/mail/answer/81126#authentication for
550 5.7.26 instructions on setting up authentication.
v17-20020a05600c12d100b003f608fe6d5dsi4886592wmd.117 - gsmtp

SPF looks like a doddle to set up, so I might as well implement it

--
“The ultimate result of shielding men from the effects of folly is to
fill the world with fools.”

Herbert Spencer

Re: Battling Gmail and EXIM

<u54vcu$20mbo$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12596&group=comp.os.linux.misc#12596

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Tue, 30 May 2023 13:57:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <u54vcu$20mbo$1@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net> <u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
Injection-Date: Tue, 30 May 2023 13:57:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="c79e200e80a2b858e296b0dbf00f5cb5";
logging-data="2120056"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18h9fqmwlt7tE1W3HRHrYl3"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.19 (x86_64))
Cancel-Lock: sha1:moHEBi1RK4s6piOhEfD8GlWEdv0=
 by: Rich - Tue, 30 May 2023 13:57 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
> SPF looks like a doddle to set up, so I might as well implement it

SPF and DMARC are both just TXT records (well, SPF had an SPF record at
one point, so doubling up on the SPF records covers both old and new
SPF code) in the DNS entry for the domain of the email. The syntax of
the entry is arcane, and takes some reading of the relevant docs to get
right, but neither involve any changes to the email server.

DKIM requires some configuration changes within the email server due to
it needed to add the auth. headers to outgoing emails. And it also
needs a DNS TXT record for publishing the public key of the email
server.

Getting all three up is not hard (all require that one's DNS host
allows for adding TXT records), but can take some time and effort to
get right. Testing with one of the many DMARC test tools is a good
idea, they often indicate clearly when one has missed some arcane flag
from the docs. Finding a "test tool" is simply a matter of searching
for DMARC or DKIM | SPF validator.

The good thing is that once one gets them setup right, one does not
have to go back and perform any tuning on any sort of regular basis.
Once setup properly they don't need much maintenance at all.

Re: Battling Gmail and EXIM

<u55325$212l0$4@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12597&group=comp.os.linux.misc#12597

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Tue, 30 May 2023 16:00:21 +0100
Organization: A little, after lunch
Lines: 38
Message-ID: <u55325$212l0$4@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
<u54vcu$20mbo$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 30 May 2023 15:00:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3b1463a3c437158981e61aa9fa76143b";
logging-data="2132640"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+4Az2XbZBRip+QyR3UaJiu/Nk3nmI24/k="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:MacloczH4WFmxfbNzZb6FJoaAGs=
In-Reply-To: <u54vcu$20mbo$1@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Tue, 30 May 2023 15:00 UTC

On 30/05/2023 14:57, Rich wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> SPF looks like a doddle to set up, so I might as well implement it
>
> SPF and DMARC are both just TXT records (well, SPF had an SPF record at
> one point, so doubling up on the SPF records covers both old and new
> SPF code) in the DNS entry for the domain of the email. The syntax of
> the entry is arcane, and takes some reading of the relevant docs to get
> right, but neither involve any changes to the email server.
>
> DKIM requires some configuration changes within the email server due to
> it needed to add the auth. headers to outgoing emails. And it also
> needs a DNS TXT record for publishing the public key of the email
> server.
>
> Getting all three up is not hard (all require that one's DNS host
> allows for adding TXT records), but can take some time and effort to
> get right. Testing with one of the many DMARC test tools is a good
> idea, they often indicate clearly when one has missed some arcane flag
> from the docs. Finding a "test tool" is simply a matter of searching
> for DMARC or DKIM | SPF validator.
>
> The good thing is that once one gets them setup right, one does not
> have to go back and perform any tuning on any sort of regular basis.
> Once setup properly they don't need much maintenance at all.
Amen to all that.

I managed to get DKIM DNS shit working fairly quickly, once I understood
the lexical rules for banging a public key in a text field.
Getting EXIM4 to use the private key was more problematic, due to the
way the configuration file is organised.
I eventually found that where I declared the macros made the difference
between success and failure.

--
Climate Change: Socialism wearing a lab coat.

Re: Battling Gmail and EXIM

<64768953@news.ausics.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12611&group=comp.os.linux.misc#12611

  copy link   Newsgroups: comp.os.linux.misc
Message-ID: <64768953@news.ausics.net>
From: not@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Battling Gmail and EXIM
Newsgroups: comp.os.linux.misc
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net> <u54sj3$20a9l$1@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 31 May 2023 09:40:04 +1000
Organization: Ausics - https://www.ausics.net
Lines: 24
X-Complaints: abuse@ausics.net
Path: i2pn2.org!rocksolid2!news.neodome.net!tncsrv06.tnetconsulting.net!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Tue, 30 May 2023 23:40 UTC

Rich <rich@example.invalid> wrote:
> Andy Burns <usenet@andyburns.uk> wrote:
>> The Natural Philosopher wrote:
>>
>>> I spent the whole morning (finally) getting my exim4 based email relay
>>> to spit out enough DKIM crap that gmail wont bounce its messages.
>>
>> I thought gmail insisted on DKIM *or* SPF? The latter is much easier to
>> arrange ...
>
> gmail is likely insisting on DMARC, which itself is what indicates what
> to do when DKIM or SPF fail. One needs to configure all three for
> succeessful email delivery.

Yes I just had SPF set up and started having trouble with a few
email providers. After setting up DKIM and DMARC, those problems
have gone away. SPF and DMARC are easy, DKIM is indeed the
confusing part, although I haven't done it in EXIM. Actually I
think it was only confusing for me because I decided to "improve"
upon the method in the tutorial that I was following.

--
__ __
#_ < |\| |< _#

Re: Battling Gmail and EXIM

<kdo61kFj0osU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12620&group=comp.os.linux.misc#12620

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Wed, 31 May 2023 06:59:17 +0100
Lines: 22
Message-ID: <kdo61kFj0osU1@mid.individual.net>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <64768953@news.ausics.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net k4HlFuxmHcz6ncTg8Q04sQTiJAjkYLFYShjEXbjOaN/R5Qa+7W
Cancel-Lock: sha1:c5QYtD9hJK9zvswKX/oI6Ho77/s=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Content-Language: en-GB
In-Reply-To: <64768953@news.ausics.net>
 by: Andy Burns - Wed, 31 May 2023 05:59 UTC

Computer Nerd Kev wrote:

> Yes I just had SPF set up and started having trouble with a few
> email providers. After setting up DKIM and DMARC, those problems
> have gone away.

I haven't encountered non-delivery due to lack of DKIM or DMARC yet, no
doubt that day will come.

Talking friends through adding SPF for their domain is is usually
straightforward, provided you know what to put into a CNAME so that it
"copies" their ISP's settings, and doesn't need changing every time they
alter email servers, obviously if you run your own you know its IP addr.

Some providers (e.g. microsoft, google) automatically sign emails that
they deliver, so you only need to know hoe to create the DKIM record,
but the sub-zone complicates that for some DNS zone GUI's

With SPF and/or DKIM, you're mostly leaving the action for failed
messages up to the recipient, by adding DMARC you're expressing your own
confidence that your SPF and DKIM are correct, and suggesting
action/inaction for failures ... worth starting out gently.

Re: Battling Gmail and EXIM

<u56t7l$2b9a6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12621&group=comp.os.linux.misc#12621

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nunojsilva@invalid.invalid (Nuno Silva)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Wed, 31 May 2023 08:33:08 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <u56t7l$2b9a6$1@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <64768953@news.ausics.net>
<kdo61kFj0osU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="8eef4e6bd9d1f09dc4ead5082c22b72f";
logging-data="2467142"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18w8smHHlvpqFnN8F++rH60"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Cancel-Lock: sha1:7QaxnnxvB4cGIcX9FM2CQXslnaA=
 by: Nuno Silva - Wed, 31 May 2023 07:33 UTC

On 2023-05-31, Andy Burns wrote:

> Some providers (e.g. microsoft, google) automatically sign emails that
> they deliver, so you only need to know hoe to create the DKIM record,
> but the sub-zone complicates that for some DNS zone GUI's

I wouldn't trust Microsoft to do stuff like this right. I've gotten
error messages from mailing list posts because Microsoft was sending the
wrong From: when forwarding messages (from my notes, I think they use
the *original* From: in MAIL FROM, during the smtp interaction), and one
list subscriber had such a forwarding setup at a Microsoft mail
service... (or is this really what should be in MAIL FROM? this wasn't
me sending the message, it was the *list* distributing the message)

(And this is the same Microsoft that's overly aggressive with their
"Quarantine" approach to e-mails their system considers not worthy of
delivery, which pretty much amounts to a black hole if the recipient
user is not aware of the "Quarantine"...)

--
Nuno Silva

Re: Battling Gmail and EXIM

<u571rm$2blkj$4@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12626&group=comp.os.linux.misc#12626

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Wed, 31 May 2023 09:52:06 +0100
Organization: A little, after lunch
Lines: 32
Message-ID: <u571rm$2blkj$4@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <64768953@news.ausics.net>
<kdo61kFj0osU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 May 2023 08:52:06 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="18013c62f722a20e87ad4ca24037ae0f";
logging-data="2479763"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yc9x9zDunJYM8rERvjEYNLTjxjhKrrtg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Va/rRKhdKS//gJB3xO1Pw2UEEeE=
Content-Language: en-GB
In-Reply-To: <kdo61kFj0osU1@mid.individual.net>
 by: The Natural Philosop - Wed, 31 May 2023 08:52 UTC

On 31/05/2023 06:59, Andy Burns wrote:
> Computer Nerd Kev wrote:
>
>> Yes I just had SPF set up and started having trouble with a few
>> email providers. After setting up DKIM and DMARC, those problems
>> have gone away.
>
> I haven't encountered non-delivery due to lack of DKIM or DMARC yet, no
> doubt that day will come.
>
> Talking friends through adding SPF for their domain is is usually
> straightforward, provided you know what to put into a CNAME so that it
> "copies" their ISP's settings, and doesn't need changing every time they
> alter email servers, obviously if you run your own you know its IP addr.
>
> Some providers (e.g. microsoft, google) automatically sign emails that
> they deliver, so you only need to know hoe to create the DKIM record,
> but the sub-zone complicates that for some DNS zone GUI's
>
> With SPF and/or DKIM, you're mostly leaving the action for failed
> messages up to the recipient, by adding DMARC you're expressing your own
> confidence that your SPF and DKIM are correct, and suggesting
> action/inaction for failures ... worth starting out gently.

Ah. is DMARC also a DNS field?

--
New Socialism consists essentially in being seen to have your heart in
the right place whilst your head is in the clouds and your hand is in
someone else's pocket.

Re: Battling Gmail and EXIM

<kdokpkFl79sU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12629&group=comp.os.linux.misc#12629

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Wed, 31 May 2023 11:11:00 +0100
Lines: 12
Message-ID: <kdokpkFl79sU1@mid.individual.net>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <64768953@news.ausics.net>
<kdo61kFj0osU1@mid.individual.net> <u571rm$2blkj$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net oHwmhjXruqwZGzUE6l3hHwehAh3HqXcmBvdOGOFJl0th/oYEOa
Cancel-Lock: sha1:TwZYzGCoG+spKGxZASR/Eae3HjE=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Content-Language: en-GB
In-Reply-To: <u571rm$2blkj$4@dont-email.me>
 by: Andy Burns - Wed, 31 May 2023 10:11 UTC

The Natural Philosopher wrote:

> Ah. is DMARC also a DNS field?

Yes, start with p=none, so you have got a DMARC record, but you're not
forcing anyone's hand with it, then ramp it up to p=quarantine or
p=reject later

<https://support.google.com/a/answer/2466563?hl=en#dmarc-record-tags>

Re: Battling Gmail and EXIM

<u57f4k$2d8fr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12631&group=comp.os.linux.misc#12631

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Wed, 31 May 2023 13:38:44 +0100
Organization: A little, after lunch
Lines: 32
Message-ID: <u57f4k$2d8fr$1@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <64768953@news.ausics.net>
<kdo61kFj0osU1@mid.individual.net> <u571rm$2blkj$4@dont-email.me>
<kdokpkFl79sU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 31 May 2023 12:38:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="18013c62f722a20e87ad4ca24037ae0f";
logging-data="2531835"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Z92UOZRk3ELJN+1kGI5pDabfp4f/QKdw="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:Yj8Ne9xo2vlwLvdKylYCXGhljuE=
In-Reply-To: <kdokpkFl79sU1@mid.individual.net>
Content-Language: en-GB
 by: The Natural Philosop - Wed, 31 May 2023 12:38 UTC

On 31/05/2023 11:11, Andy Burns wrote:
> The Natural Philosopher wrote:
>
>> Ah. is DMARC also a DNS field?
>
> Yes, start with p=none, so you have got a DMARC record, but you're not
> forcing anyone's hand with it, then ramp it up to p=quarantine or
> p=reject later
>
> <https://support.google.com/a/answer/2466563?hl=en#dmarc-record-tags>
>
>
>
I am not sure I can be bothered, the number of people spoofing my
domains is falling because presumably SPF and DKIM are in that instance
working.

I very rarely get instances of bounce messages to me from emails i didnt
send...
...I would be far more interested in setting up my *incoming* exim mail
server to reject non SPF or DKIM authenticated email.

But I suspect that would be another day I wont ever get back, Or longer

--
All political activity makes complete sense once the proposition that
all government is basically a self-legalising protection racket, is
fully understood.

Re: Battling Gmail and EXIM

<qalhkj-4mp.ln1@kallio.dynu.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12636&group=comp.os.linux.misc#12636

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: harri@kallio.tunk.org (Harri)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Tue, 30 May 2023 19:37:16 +0300
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <qalhkj-4mp.ln1@kallio.dynu.net>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net> <u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me> <u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me>
Injection-Info: dont-email.me; posting-host="655af2d1e41dc74eb225d42b545c0f20";
logging-data="2593632"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5VFlZFD13lcf7GpG30Yn2"
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.0-23-amd64 (x86_64))
Cancel-Lock: sha1:WSIzWy5nvbRPCnFlqMwjymzu++k=
 by: Harri - Tue, 30 May 2023 16:37 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
> Getting EXIM4 to use the private key was more problematic, due to the
> way the configuration file is organised.
> I eventually found that where I declared the macros made the difference
> between success and failure.

Wanna compare the confs?

/etc/exim4/exim4.conf.localmacros
# # DKIM signing
SENDER_DOMAIN = $sender_address_domain
DKIM_PATH = /etc/exim4/dkim
DKIM_DOMAIN = ${if exists{DKIM_PATH/SENDER_DOMAIN.private}{SENDER_DOMAIN}{$primary_hostname}}
DKIM_SELECTOR = dkim_rsa
DKIM_FILE = DKIM_DOMAIN.private
DKIM_PRIVATE_KEY = ${lookup {DKIM_FILE} dsearch,ret=full {DKIM_PATH}}
#

Note: If Exim has been configured to use smarthost for sending mail,
then addition configuration is needed for enabling signing:

Add the Local section to the end of:

#####################################################
### transport/30_exim4-config_remote_smtp_smarthost
#####################################################

remote_smtp_smarthost:

<existing conf lines here>

### Local: ------->
..ifdef DKIM_DOMAIN
dkim_domain = DKIM_DOMAIN
..endif
..ifdef DKIM_SELECTOR
dkim_selector = DKIM_SELECTOR
..endif
..ifdef DKIM_PRIVATE_KEY
dkim_private_key = DKIM_PRIVATE_KEY
..endif
..ifdef DKIM_CANON
dkim_canon = DKIM_CANON
..endif
..ifdef DKIM_STRICT
dkim_strict = DKIM_STRICT
..endif
..ifdef DKIM_SIGN_HEADERS
dkim_sign_headers = DKIM_SIGN_HEADERS
..endif
### -------<
#####################################################
### end transport/30_exim4-config_remote_smtp_smarthost
#####################################################

--

Harri

Re: Battling Gmail and EXIM

<u59i8d$2nj5v$9@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12641&group=comp.os.linux.misc#12641

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Thu, 1 Jun 2023 08:44:13 +0100
Organization: A little, after lunch
Lines: 33
Message-ID: <u59i8d$2nj5v$9@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
<u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me>
<qalhkj-4mp.ln1@kallio.dynu.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 1 Jun 2023 07:44:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="337b6a1c19949ee7fe586128fb352d8f";
logging-data="2870463"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RS5o9IRUUF7+j1reU57KkN6x7OrViVxQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:jFKXp+dmFgj3zwXP7nDZcFZx6K4=
Content-Language: en-GB
In-Reply-To: <qalhkj-4mp.ln1@kallio.dynu.net>
 by: The Natural Philosop - Thu, 1 Jun 2023 07:44 UTC

On 30/05/2023 17:37, Harri wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>> Getting EXIM4 to use the private key was more problematic, due to the
>> way the configuration file is organised.
>> I eventually found that where I declared the macros made the difference
>> between success and failure.
>
> Wanna compare the confs?
>
> /etc/exim4/exim4.conf.localmacros
> #
> # DKIM signing
> SENDER_DOMAIN = $sender_address_domain
> DKIM_PATH = /etc/exim4/dkim
> DKIM_DOMAIN = ${if exists{DKIM_PATH/SENDER_DOMAIN.private}{SENDER_DOMAIN}{$primary_hostname}}
> DKIM_SELECTOR = dkim_rsa
> DKIM_FILE = DKIM_DOMAIN.private
> DKIM_PRIVATE_KEY = ${lookup {DKIM_FILE} dsearch,ret=full {DKIM_PATH}}
> #
>
I use one config file. My mistake was not declaring that lot after the
other macros, but in the SMTP transport section.

My current need is for a crib sheet to enable it all on incoming, as I
get shitloads of spam, and it might reduce it all a bit, but it all
looks a bit poorly documented

PS my Exim IS the smart host :-)

--
Climate is what you expect but weather is what you get.
Mark Twain

Re: Battling Gmail and EXIM

<u59qq7$2orcd$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12642&group=comp.os.linux.misc#12642

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rob@sput.nl (Rob van der Putten)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Thu, 1 Jun 2023 12:10:15 +0200
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <u59qq7$2orcd$1@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
<u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me>
<qalhkj-4mp.ln1@kallio.dynu.net> <u59i8d$2nj5v$9@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Jun 2023 10:10:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="9af331f285da73edc8adc2fe4421a195";
logging-data="2911629"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JQ4zvpBNvoMMQZ7VPT8FY"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:kDoFa2/6bq7jwl87DVdIae3IDHs=
In-Reply-To: <u59i8d$2nj5v$9@dont-email.me>
Content-Language: en-GB, nl-NL
 by: Rob van der Putten - Thu, 1 Jun 2023 10:10 UTC

Hi there

On 01/06/2023 09:44, The Natural Philosopher wrote:

> On 30/05/2023 17:37, Harri wrote:
>> The Natural Philosopher <tnp@invalid.invalid> wrote:
>>> Getting EXIM4 to use the private key was more problematic, due to the
>>> way the configuration file is organised.
>>> I eventually found that where I declared the macros made the difference
>>> between success and failure.
>>
>> Wanna compare the confs?
>>
>> /etc/exim4/exim4.conf.localmacros
>> #
>> # DKIM signing
>> SENDER_DOMAIN = $sender_address_domain
>> DKIM_PATH = /etc/exim4/dkim
>> DKIM_DOMAIN = ${if
>> exists{DKIM_PATH/SENDER_DOMAIN.private}{SENDER_DOMAIN}{$primary_hostname}}
>> DKIM_SELECTOR = dkim_rsa
>> DKIM_FILE = DKIM_DOMAIN.private
>> DKIM_PRIVATE_KEY = ${lookup {DKIM_FILE} dsearch,ret=full {DKIM_PATH}}
>> #
>>
> I use one config file. My mistake was not declaring that lot  after the
> other macros, but in the SMTP transport section.
>
> My current need is for a crib sheet to enable it all on incoming, as I
> get shitloads of spam, and it might reduce it all a bit, but it all
> looks a bit poorly documented

I used;
https://www.sidn.nl/en/news-and-blogs/hands-on-implementing-spf-dkim-and-dmarc-in-exim
Requires JavaScript and cookies

> PS my Exim IS the smart host :-)

For Hotmail and Outlookup I use a smarthost in New Zealand, which is
some 180° from where I live;
http://www.sput.nl/software/exim-smarthost.html

Regards,
Rob

Re: Battling Gmail and EXIM

<u59rnk$2os54$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12643&group=comp.os.linux.misc#12643

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Thu, 1 Jun 2023 11:25:56 +0100
Organization: A little, after lunch
Lines: 61
Message-ID: <u59rnk$2os54$1@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
<u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me>
<qalhkj-4mp.ln1@kallio.dynu.net> <u59i8d$2nj5v$9@dont-email.me>
<u59qq7$2orcd$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Jun 2023 10:25:56 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="337b6a1c19949ee7fe586128fb352d8f";
logging-data="2912420"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q2X/oY4pkIs7H5RQvzYeFUGeDso1WmT4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:2cor8QIMVK4lIxmi3Eu3+dYpCyQ=
Content-Language: en-GB
In-Reply-To: <u59qq7$2orcd$1@dont-email.me>
 by: The Natural Philosop - Thu, 1 Jun 2023 10:25 UTC

On 01/06/2023 11:10, Rob van der Putten wrote:
> Hi there
>
>
> On 01/06/2023 09:44, The Natural Philosopher wrote:
>
>> On 30/05/2023 17:37, Harri wrote:
>>> The Natural Philosopher <tnp@invalid.invalid> wrote:
>>>> Getting EXIM4 to use the private key was more problematic, due to the
>>>> way the configuration file is organised.
>>>> I eventually found that where I declared the macros made the difference
>>>> between success and failure.
>>>
>>> Wanna compare the confs?
>>>
>>> /etc/exim4/exim4.conf.localmacros
>>> #
>>> # DKIM signing
>>> SENDER_DOMAIN = $sender_address_domain
>>> DKIM_PATH = /etc/exim4/dkim
>>> DKIM_DOMAIN = ${if
>>> exists{DKIM_PATH/SENDER_DOMAIN.private}{SENDER_DOMAIN}{$primary_hostname}}
>>> DKIM_SELECTOR = dkim_rsa
>>> DKIM_FILE = DKIM_DOMAIN.private
>>> DKIM_PRIVATE_KEY = ${lookup {DKIM_FILE} dsearch,ret=full {DKIM_PATH}}
>>> #
>>>
>> I use one config file. My mistake was not declaring that lot  after
>> the other macros, but in the SMTP transport section.
>>
>> My current need is for a crib sheet to enable it all on incoming, as I
>> get shitloads of spam, and it might reduce it all a bit, but it all
>> looks a bit poorly documented
>
> I used;
> https://www.sidn.nl/en/news-and-blogs/hands-on-implementing-spf-dkim-and-dmarc-in-exim
> Requires JavaScript and cookies
>
>> PS my Exim IS the smart host :-)
>
> For Hotmail and Outlookup I use a smarthost in New Zealand, which is
> some 180° from where I live;
> http://www.sput.nl/software/exim-smarthost.html
>
>
> Regards,
> Rob
>
Thanks, That looks more than a 5 minute job, which is all I have time
for today, but it seems to be at my level of knowledge.

I needed to run a virtual private linux server for other reasons so I
threw exim on it as a smart host.

--
“It is hard to imagine a more stupid decision or more dangerous way of
making decisions than by putting those decisions in the hands of people
who pay no price for being wrong.”

Thomas Sowell

Re: Battling Gmail and EXIM

<64791327@news.ausics.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12644&group=comp.os.linux.misc#12644

  copy link   Newsgroups: comp.os.linux.misc
Message-ID: <64791327@news.ausics.net>
From: not@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Battling Gmail and EXIM
Newsgroups: comp.os.linux.misc
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net> <u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me> <u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me> <qalhkj-4mp.ln1@kallio.dynu.net> <u59i8d$2nj5v$9@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 2 Jun 2023 07:52:39 +1000
Organization: Ausics - https://www.ausics.net
Lines: 13
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Thu, 1 Jun 2023 21:52 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
>
> My current need is for a crib sheet to enable it all on incoming, as I
> get shitloads of spam, and it might reduce it all a bit

I don't get much spam, but when I started checking headers I
discovered that the vast majority was DKIM signed (including the
one received today), so in my case using it for incoming mail
wouldn't make any difference.

--
__ __
#_ < |\| |< _#

Re: Battling Gmail and EXIM

<eli$2306012047@qaz.wtf>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12645&group=comp.os.linux.misc#12645

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!qz!not-for-mail
From: *@eli.users.panix.com (Eli the Bearded)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Fri, 2 Jun 2023 00:47:42 -0000 (UTC)
Organization: Some absurd concept
Message-ID: <eli$2306012047@qaz.wtf>
References: <u54lg8$1vais$4@dont-email.me> <qalhkj-4mp.ln1@kallio.dynu.net> <u59i8d$2nj5v$9@dont-email.me> <64791327@news.ausics.net>
Injection-Date: Fri, 2 Jun 2023 00:47:42 -0000 (UTC)
Injection-Info: reader1.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="24063"; mail-complaints-to="abuse@panix.com"
User-Agent: Vectrex rn 2.1 (beta)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
 by: Eli the Bearded - Fri, 2 Jun 2023 00:47 UTC

In comp.os.linux.misc, Computer Nerd Kev <not@telling.you.invalid> wrote:
> I don't get much spam, but when I started checking headers I
> discovered that the vast majority was DKIM signed (including the one
> received today), so in my case using it for incoming mail wouldn't
> make any difference.

I used to get vast amounts of spam with valid dkim signatures. It's
really easy for spammers to configure that. One common trait I found was
almost all of that spam was trying to send me to an http (no "s") site
to buy something.

Body check for http:// to a site with a new TLD: very effective filter.

(New top level domains are easy to match as three or more letters and
not .com, .net, .org. The others like .int, .mil, etc, don't send spam.)

Sample of actual examples from spam:

http://www.glucofreezediabetescare.life/
http://tenufaeg.digital/
http://neovakos.digital/
http://www.americansairlinesurveys.life/
http://adisiawa.today/
http://www.hydrossentialplus.live/
http://cherster.digital/
http://tenixdr.today/
http://pademen.digital/
http://www.russiasgirlsonlines.live/
http://snufflam.digital/
http://www.liveschatjobs.live/
http://miraclelashpro.live/
http://www.turntextinspeechelo.live/
http://dishfordiet.quest/
http://www.hydrossentialnew.live/

In the messages it's linked like this (line wrapped for posting):

<a
href="http://dishfordiet.quest/QqwRivvvvvv_tMSl0iK1qqqqqqqRH_1Qd3ipjjjjj60Z2Q"
><img alt="" border="0" height="72"
src="http://dishfordiet.quest/03c0e1427a88888888.png"
width="274" /></a></span></td>

If you go to the site, you get a page that looks like an unconfigured
website, but it has configuration to serve an image up for this:

http://dishfordiet.quest/03c0e142777777778f.png

And the link is going somewhere, too, but because I've overwritten some
errors, it just gives an "Invalid link." message.

Elijah
------
dishfordiet.quest set-up DKIM though

Re: Battling Gmail and EXIM

<kdtoo6Ff1roU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12646&group=comp.os.linux.misc#12646

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Fri, 2 Jun 2023 09:49:10 +0100
Lines: 15
Message-ID: <kdtoo6Ff1roU1@mid.individual.net>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
<u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me>
<qalhkj-4mp.ln1@kallio.dynu.net> <u59i8d$2nj5v$9@dont-email.me>
<64791327@news.ausics.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 5G0RVsLNQvIzzJq0yU7uJQhTdXvsmihYNA8PkUPISKU3Vy1DZ+
Cancel-Lock: sha1:2ZY0bEsCrtUdm+MlOgD9qpW5/ng=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Content-Language: en-GB
In-Reply-To: <64791327@news.ausics.net>
 by: Andy Burns - Fri, 2 Jun 2023 08:49 UTC

Computer Nerd Kev wrote:

> I don't get much spam, but when I started checking headers I
> discovered that the vast majority was DKIM signed (including the
> one received today), so in my case using it for incoming mail
> wouldn't make any difference.

spf and dkim don't stop spam as such, spammers can sign their messages
and tell you where they're sending from, then it'll get through, unless
you use a DBL they happen to be on.

what spf and dkim do allow you to detect is compromised machines pumping
out spam.

Re: Battling Gmail and EXIM

<u5ceh5$34os8$5@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12647&group=comp.os.linux.misc#12647

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Fri, 2 Jun 2023 10:59:01 +0100
Organization: A little, after lunch
Lines: 23
Message-ID: <u5ceh5$34os8$5@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
<u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me>
<qalhkj-4mp.ln1@kallio.dynu.net> <u59i8d$2nj5v$9@dont-email.me>
<64791327@news.ausics.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 2 Jun 2023 09:59:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="24b1155f2786e1d5614f8a6f6e8ed22e";
logging-data="3302280"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WmXV4cGBai8AfffrTM39cvP1+mLogvbY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:HxN9dcXTax9Ofw3UjZU6e3dR8+o=
In-Reply-To: <64791327@news.ausics.net>
Content-Language: en-GB
 by: The Natural Philosop - Fri, 2 Jun 2023 09:59 UTC

On 01/06/2023 22:52, Computer Nerd Kev wrote:
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>>
>> My current need is for a crib sheet to enable it all on incoming, as I
>> get shitloads of spam, and it might reduce it all a bit
>
> I don't get much spam, but when I started checking headers I
> discovered that the vast majority was DKIM signed (including the
> one received today), so in my case using it for incoming mail
> wouldn't make any difference.
>
Ah, that is indeed interesting.

I will shove that into the cost benefit calculations and see if I can be
arsed :-)

--
If I had all the money I've spent on drink...
...I'd spend it on drink.

Sir Henry (at Rawlinson's End)

Re: Battling Gmail and EXIM

<u5cf4b$34os8$6@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=12648&group=comp.os.linux.misc#12648

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.os.linux.misc
Subject: Re: Battling Gmail and EXIM
Date: Fri, 2 Jun 2023 11:09:15 +0100
Organization: A little, after lunch
Lines: 40
Message-ID: <u5cf4b$34os8$6@dont-email.me>
References: <u54lg8$1vais$4@dont-email.me> <kdm7jfF9qagU1@mid.individual.net>
<u54sj3$20a9l$1@dont-email.me> <u54u94$20gh6$3@dont-email.me>
<u54vcu$20mbo$1@dont-email.me> <u55325$212l0$4@dont-email.me>
<qalhkj-4mp.ln1@kallio.dynu.net> <u59i8d$2nj5v$9@dont-email.me>
<64791327@news.ausics.net> <kdtoo6Ff1roU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 2 Jun 2023 10:09:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="24b1155f2786e1d5614f8a6f6e8ed22e";
logging-data="3302280"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lcJtOJdFlN4EE0mP36TqtES2Gs6uAMZ4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:J8Ys5+ER2aHsrfcVEDrhRehyKLk=
Content-Language: en-GB
In-Reply-To: <kdtoo6Ff1roU1@mid.individual.net>
 by: The Natural Philosop - Fri, 2 Jun 2023 10:09 UTC

On 02/06/2023 09:49, Andy Burns wrote:
> Computer Nerd Kev wrote:
>
>> I don't get much spam, but when I started checking headers I
>> discovered that the vast majority was DKIM signed (including the
>> one received today), so in my case using it for incoming mail
>> wouldn't make any difference.
>
> spf and dkim don't stop spam as such, spammers can sign their messages
> and tell you where they're sending from, then it'll get through, unless
> you use a DBL they happen to be on.
>
> what spf and dkim do allow you to detect is compromised machines pumping
> out spam.
>
>
I can pump out spam easily if I want. If I use (other peoples) domains
that are not dkim or spf enabled

But as you say a huge amount of stuff is coming from 'legalised' spam
engines using domains set up to pump it all out

I see that a huge load is now arriving from '*.autos' TLD. And *.beauty
I ought to add them to my blacklists.

Except I added all of india to it once (*.in) and rejected some valid
mail accidentally.

On inspection, yes, they have valid dkim and SPF signatures :-(

ISTR from skimming the EXIM conf data someone posted that there is a
file that lists 'valid' TLDs

--
If I had all the money I've spent on drink...
...I'd spend it on drink.

Sir Henry (at Rawlinson's End)

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor