Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Pie are not square. Pie are round. Cornbread are square.


computers / comp.mail.sendmail / Re: Sendmail on FreeBSD 14, gmail problem

SubjectAuthor
* Sendmail on FreeBSD 14, gmail problem<bp
+- Re: Sendmail on FreeBSD 14, gmail problemMike Scott
+* Re: Sendmail on FreeBSD 14, gmail problemJohn Levine
|`* Re: Sendmail on FreeBSD 14, gmail problem<bp
| `* Re: Sendmail on FreeBSD 14, gmail problemThe Doctor
|  `- Re: Sendmail on FreeBSD 14, gmail problemJohn Levine
+- Re: Sendmail on FreeBSD 14, gmail problemGrant Taylor
`* Re: Sendmail on FreeBSD 14, gmail problemMarco Moock
 `* Re: Sendmail on FreeBSD 14, gmail problem<bp
  `* Re: Sendmail on FreeBSD 14, gmail problemJohn Levine
   +* Re: Sendmail on FreeBSD 14, gmail problemGrant Taylor
   |`* Re: Sendmail on FreeBSD 14, gmail problemMarco Moock
   | `- Re: Sendmail on FreeBSD 14, gmail problemGrant Taylor
   `* Re: Sendmail on FreeBSD 14, gmail problem<bp
    `* Re: Sendmail on FreeBSD 14, gmail problemGrant Taylor
     `* Re: Sendmail on FreeBSD 14, gmail problem<bp
      `- Re: Sendmail on FreeBSD 14, gmail problemGrant Taylor

1
Sendmail on FreeBSD 14, gmail problem

<uvjlje$csmt$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2005&group=comp.mail.sendmail#2005

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <bp@www.zefox.net>
Newsgroups: comp.mail.sendmail
Subject: Sendmail on FreeBSD 14, gmail problem
Date: Mon, 15 Apr 2024 16:45:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <uvjlje$csmt$1@dont-email.me>
Injection-Date: Mon, 15 Apr 2024 18:45:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="707f52bb0093a1bd5cb928a0b13fa108";
logging-data="422621"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18b0Pk8Kj1tUZAwCuFMFPjBZYVhe8rr9S4="
Summary: gmail rejects connections, Handbook doesn't help
Keywords: gmail authentication freebsd sendmail
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p5 (arm64))
Cancel-Lock: sha1:W8JEYVph7571FDqDm9huXnmBPwE=
 by: <bp@www.zefox.net> - Mon, 15 Apr 2024 16:45 UTC

I've got a FreeBSD 14 host running sendmail from packages that works perfectly
otherwise but can't be persuaded to communicate with gmail:
(reason: 550-5.7.26 This mail has been blocked because the sender is unauthenticated.)

I've tried to follow the directions in the Handbook, but they assume a self-hosting
configuration with /usr/src available and so require some actions not available and,
I think, unnecessary.

Sendmail presently reports
bob@www:~ % sendmail -d0.1
Version 8.17.1
Compiled with: DNSMAP IPV6_FULL LOG MAP_REGEX MATCHGECOS MILTER
MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS
PIPELINING SCANF STARTTLS TCPWRAPPERS TLS_EC TLS_VRFY_PER_CTX
USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = www
(canonical domain name) $j = www.zefox.net
(subdomain name) $m = zefox.net
(node name) $k = www.zefox.net
========================================================

Recipient names must be specified

The reference to TLS makes me think the binary already supports authentication.

/etc/make.conf contains
bob@www:~ % more /etc/make.conf
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDADD=/usr/local/lib/libsasl2.so

/etc/mail/freebsd.mc contains
# more freebsd.mc
divert(-1)
dnl set SASL options
TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
# # Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
......

It looks like saslauthd is running:
# ps -aux | grep -i sas
root 76778 0.0 0.1 19708 1340 - Is 6Apr24 0:00.01 /usr/local/sbin/saslauthd -a pam
root 76779 0.0 0.1 19708 1332 - I 6Apr24 0:00.00 /usr/local/sbin/saslauthd -a pam
root 76780 0.0 0.1 19708 1332 - I 6Apr24 0:00.00 /usr/local/sbin/saslauthd -a pam
root 76781 0.0 0.1 19708 1332 - I 6Apr24 0:00.00 /usr/local/sbin/saslauthd -a pam
root 76782 0.0 0.1 19708 1332 - I 6Apr24 0:00.00 /usr/local/sbin/saslauthd -a pam
root 34044 0.0 0.2 12704 1928 0 S+ 09:41 0:00.01 grep -i sas

Is there a FreeBSD expert out there who can tell me what I've missed?

Thanks for reading,

bob prohaska

Re: Sendmail on FreeBSD 14, gmail problem

<uvjrh1$e7tp$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2006&group=comp.mail.sendmail#2006

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: usenet.16@scottsonline.org.uk.invalid (Mike Scott)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Mon, 15 Apr 2024 19:26:39 +0100
Organization: Scott family
Lines: 15
Message-ID: <uvjrh1$e7tp$1@dont-email.me>
References: <uvjlje$csmt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 15 Apr 2024 20:26:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e492fa21ed23088ef327ccfccf02443e";
logging-data="466873"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XoWjtkJQ0VWKP/otPhM0ztjLjIHfEUbw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:hB9lFk3rrYw9W0H3YuZko+fuERs=
In-Reply-To: <uvjlje$csmt$1@dont-email.me>
Content-Language: en-GB
 by: Mike Scott - Mon, 15 Apr 2024 18:26 UTC

On 15/04/2024 17:45, bp@www.zefox.net wrote:
> Is there a FreeBSD expert out there who can tell me what I've missed?

Certainly not me. Your config looks much like mine, and I see nothing in
mine that does anything unexpected. And mine happily sends to gmail.

But here's a *pure* hunch - is there an MX record for your server, and
is its EHLO/HELLO correct? Pure hunch, and 99% likely to be wrong, but
absent other ideas.......

--
Mike Scott
Harlow, England

Re: Sendmail on FreeBSD 14, gmail problem

<uvjrpl$lm1$1@gal.iecc.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2007&group=comp.mail.sendmail#2007

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Mon, 15 Apr 2024 18:31:17 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <uvjrpl$lm1$1@gal.iecc.com>
References: <uvjlje$csmt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 15 Apr 2024 18:31:17 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="22209"; mail-complaints-to="abuse@iecc.com"
Keywords: gmail authentication freebsd sendmail
In-Reply-To: <uvjlje$csmt$1@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Mon, 15 Apr 2024 18:31 UTC

According to <bp@www.zefox.net>:
>I've got a FreeBSD 14 host running sendmail from packages that works perfectly
>otherwise but can't be persuaded to communicate with gmail:
>(reason: 550-5.7.26 This mail has been blocked because the sender is unauthenticated.)

Yup, that's a problem.

>Is there a FreeBSD expert out there who can tell me what I've missed?

Not until you tell us what the domain name is so we can tell you what
you're doing wrong. Most likely your sendmail setup is fine, but your
SPF and DKIM configations are missing or wrong.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: Sendmail on FreeBSD 14, gmail problem

<uvk6r3$gkgb$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2008&group=comp.mail.sendmail#2008

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <bp@www.zefox.net>
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Mon, 15 Apr 2024 21:39:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <uvk6r3$gkgb$1@dont-email.me>
References: <uvjlje$csmt$1@dont-email.me> <uvjrpl$lm1$1@gal.iecc.com>
Injection-Date: Mon, 15 Apr 2024 23:39:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="707f52bb0093a1bd5cb928a0b13fa108";
logging-data="545291"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ikgJ6W+JAN7NwkjP0j6QjblOkWLNvq+E="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p5 (arm64))
Cancel-Lock: sha1:4H1D057vomzr7sz4K7GX2NHbkSs=
 by: <bp@www.zefox.net> - Mon, 15 Apr 2024 21:39 UTC

John Levine <johnl@taugh.com> wrote:
> According to <bp@www.zefox.net>:
>>I've got a FreeBSD 14 host running sendmail from packages that works perfectly
>>otherwise but can't be persuaded to communicate with gmail:
>>(reason: 550-5.7.26 This mail has been blocked because the sender is unauthenticated.)
>
> Yup, that's a problem.
>
>>Is there a FreeBSD expert out there who can tell me what I've missed?
>
> Not until you tell us what the domain name is so we can tell you what
> you're doing wrong. Most likely your sendmail setup is fine, but your
> SPF and DKIM configations are missing or wrong.
>

This hostname is www.zefox.net, which makes the domain zefox.net IIUC.
Nameservice is provided by ns1.zefox.net and ns2.zefox.net, also FreeBSD
hosts running bind9.18 from packages.

I never did set up MX records for any of my domains (zefox.net, zefox.com
and zefox.org) but it hasn't caused trouble up to now.

Thanks for writing!

bob prohaska

Re: Sendmail on FreeBSD 14, gmail problem

<uvk8rt$ke$9@gallifrey.nk.ca>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2009&group=comp.mail.sendmail#2009

  copy link   Newsgroups: comp.mail.sendmail comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.nk.ca!.POSTED.doctor.nl2k.ab.ca!not-for-mail
From: doctor@doctor.nl2k.ab.ca (The Doctor)
Newsgroups: comp.mail.sendmail,comp.unix.bsd.freebsd.misc
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Mon, 15 Apr 2024 22:14:21 -0000 (UTC)
Organization: NetKnow News
Message-ID: <uvk8rt$ke$9@gallifrey.nk.ca>
References: <uvjlje$csmt$1@dont-email.me> <uvjrpl$lm1$1@gal.iecc.com> <uvk6r3$gkgb$1@dont-email.me>
Injection-Date: Mon, 15 Apr 2024 22:14:21 -0000 (UTC)
Injection-Info: gallifrey.nk.ca; posting-host="doctor.nl2k.ab.ca:204.209.81.1";
logging-data="654"; mail-complaints-to="usenet@gallifrey.nk.ca"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: doctor@doctor.nl2k.ab.ca (The Doctor)
 by: The Doctor - Mon, 15 Apr 2024 22:14 UTC

In article <uvk6r3$gkgb$1@dont-email.me>, <bp@www.zefox.net> wrote:
>John Levine <johnl@taugh.com> wrote:
>> According to <bp@www.zefox.net>:
>>>I've got a FreeBSD 14 host running sendmail from packages that works perfectly
>>>otherwise but can't be persuaded to communicate with gmail:
>>>(reason: 550-5.7.26 This mail has been blocked because the sender is
>unauthenticated.)
>>
>> Yup, that's a problem.
>>
>>>Is there a FreeBSD expert out there who can tell me what I've missed?
>>
>> Not until you tell us what the domain name is so we can tell you what
>> you're doing wrong. Most likely your sendmail setup is fine, but your
>> SPF and DKIM configations are missing or wrong.
>>
>
>This hostname is www.zefox.net, which makes the domain zefox.net IIUC.
>Nameservice is provided by ns1.zefox.net and ns2.zefox.net, also FreeBSD
>hosts running bind9.18 from packages.
>
>I never did set up MX records for any of my domains (zefox.net, zefox.com
>and zefox.org) but it hasn't caused trouble up to now.
>
>Thanks for writing!
>
>bob prohaska
>

Adding the FreeBSD group.
--
Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism ; unsubscribe from Google Groups to be seen
What worth the power of law that won't stop lawlessness? -unknown

Re: Sendmail on FreeBSD 14, gmail problem

<uvkgbm$mev$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2010&group=comp.mail.sendmail#2010

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Mon, 15 Apr 2024 19:22:14 -0500
Organization: TNet Consulting
Message-ID: <uvkgbm$mev$1@tncsrv09.home.tnetconsulting.net>
References: <uvjlje$csmt$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 16 Apr 2024 00:22:14 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="23007"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uvjlje$csmt$1@dont-email.me>
 by: Grant Taylor - Tue, 16 Apr 2024 00:22 UTC

On 4/15/24 11:45, bp@www.zefox.net wrote:
> I've got a FreeBSD 14 host running sendmail from packages that works
> perfectly otherwise but can't be persuaded to communicate with gmail:

I think that Gmail, or rather Gmail's new (February this year)
requirements are the problem.

> (reason: 550-5.7.26 This mail has been blocked because the sender
> is unauthenticated.)

Gmail is now requiring authentication to accept email. That can take
the form of SPF and / or DKIM for the sending domain.

I don't see TXT records used by SPF for zefox.net nor www.zefox.net. So
you would need to use DKIM. I don't see any DKIM (milter) configuration
in the snippet of freebsd.mc.

As such I would expect that Gmail would reject messages from
<anything>@zefox.net or <anything>@www.zefox.net

I'll bet you dollars to doughnuts that there's nothing technically wrong
with your Sendmail configuration. Save for the lack of DKIM or
supporting SPF records.

--
Grant. . . .

Re: Sendmail on FreeBSD 14, gmail problem

<uvkkvh$37p$1@gal.iecc.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2011&group=comp.mail.sendmail#2011

  copy link   Newsgroups: comp.mail.sendmail comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: comp.mail.sendmail,comp.unix.bsd.freebsd.misc
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Tue, 16 Apr 2024 01:41:05 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <uvkkvh$37p$1@gal.iecc.com>
References: <uvjlje$csmt$1@dont-email.me> <uvjrpl$lm1$1@gal.iecc.com> <uvk6r3$gkgb$1@dont-email.me> <uvk8rt$ke$9@gallifrey.nk.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 16 Apr 2024 01:41:05 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="3321"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <uvjlje$csmt$1@dont-email.me> <uvjrpl$lm1$1@gal.iecc.com> <uvk6r3$gkgb$1@dont-email.me> <uvk8rt$ke$9@gallifrey.nk.ca>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Tue, 16 Apr 2024 01:41 UTC

>>I never did set up MX records for any of my domains (zefox.net, zefox.com
>>and zefox.org) but it hasn't caused trouble up to now.

Let's take a look.

$ dig zefox.net mx

;; ANSWER SECTION:
zefox.net. 85783 IN MX 0 www.zefox.net.zefox.net.

My goodness, that's wrong.

zefox.com and zefox.org have no MX or A record. I am sure I am not the only
person who's configured his MTA to reject mail from bogus domains to which it
can't reply.

Also, none of them have any TXT records, which mean none of them have SPF records.

Set up some valid MX and SPF records and your mail will work a lot better.

Assuming the mail server at www.zefox.net is the one you want to use,
it would be a good idea to use a real SSL certificate rather than a
self-signed one. I see there's a web server on port 80, so set up an
SSL web server on port 443 and you can use the same cert.

Note that this has nothing to do with FreeBSD. If you were running on linux
or SunOS you'd have the same problems.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: Sendmail on FreeBSD 14, gmail problem

<uvl7an$qcb5$2@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2012&group=comp.mail.sendmail#2012

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Tue, 16 Apr 2024 08:54:14 +0200
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <uvl7an$qcb5$2@dont-email.me>
References: <uvjlje$csmt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 16 Apr 2024 08:54:16 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="50a94efbd82dadb59f0af3ad775d090f";
logging-data="864613"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1kC6VgUcBeghiio6NP7Za"
Cancel-Lock: sha1:kWKspPlhcuxqb+lk9AW7fnWb3m4=
 by: Marco Moock - Tue, 16 Apr 2024 06:54 UTC

On 15.04.2024 um 16:45 Uhr bp@www.zefox.net wrote:

> (reason: 550-5.7.26 This mail has been blocked because the sender is
> unauthenticated.)

As a low volume sender, you need at least SPF or DKIM (you can do both)
for your domain.
SPF is a simple DNS TXT record, DKIM also need a milter (e.g. opendkim)
that signs the message.

Setting that up is easy, ask if you have questions.

--
kind regards
Marco

Send spam to 1713192334muell@cartoonies.org

Re: Sendmail on FreeBSD 14, gmail problem

<uvncb2$1cfpj$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2013&group=comp.mail.sendmail#2013

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <bp@www.zefox.net>
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Wed, 17 Apr 2024 02:32:03 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <uvncb2$1cfpj$1@dont-email.me>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me>
Injection-Date: Wed, 17 Apr 2024 04:32:03 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e6507a6d2be6dc2fab318d515fc46e2e";
logging-data="1457971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0stct3my2ZchIsSiKyQRaTvNuPn0b/ZI="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p5 (arm64))
Cancel-Lock: sha1:Te5bRjTcT4bxXWUOAD+K+YoD9RU=
 by: <bp@www.zefox.net> - Wed, 17 Apr 2024 02:32 UTC

Marco Moock <mm+usenet-es@dorfdsl.de> wrote:
> On 15.04.2024 um 16:45 Uhr bp@www.zefox.net wrote:
>
>> (reason: 550-5.7.26 This mail has been blocked because the sender is
>> unauthenticated.)
>
> As a low volume sender, you need at least SPF or DKIM (you can do both)
> for your domain.
> SPF is a simple DNS TXT record, DKIM also need a milter (e.g. opendkim)
> that signs the message.
>
> Setting that up is easy, ask if you have questions.

I think I've got the typo in the MX record fixed, but clearly
there's a lot more to be learned. It seems like maybe getting
https working with apache24 might be an easier place to start.

Thanks to all who replied, it's time to start reading.....

bob prohaska

Re: Sendmail on FreeBSD 14, gmail problem

<uvndqu$2t37$2@gal.iecc.com>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2014&group=comp.mail.sendmail#2014

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Wed, 17 Apr 2024 02:57:34 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <uvndqu$2t37$2@gal.iecc.com>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me> <uvncb2$1cfpj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 17 Apr 2024 02:57:34 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="95335"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me> <uvncb2$1cfpj$1@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Wed, 17 Apr 2024 02:57 UTC

According to <bp@www.zefox.net>:
>I think I've got the typo in the MX record fixed, but clearly
>there's a lot more to be learned. It seems like maybe getting
>https working with apache24 might be an easier place to start.

That's pretty easy if you use certbot. But of course now we're
a long way from sendmail.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: Sendmail on FreeBSD 14, gmail problem

<uvngk1$bt6$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2015&group=comp.mail.sendmail#2015

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Tue, 16 Apr 2024 22:45:05 -0500
Organization: TNet Consulting
Message-ID: <uvngk1$bt6$1@tncsrv09.home.tnetconsulting.net>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me>
<uvncb2$1cfpj$1@dont-email.me> <uvndqu$2t37$2@gal.iecc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Apr 2024 03:45:05 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="12198"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uvndqu$2t37$2@gal.iecc.com>
 by: Grant Taylor - Wed, 17 Apr 2024 03:45 UTC

On 4/16/24 21:57, John Levine wrote:
> That's pretty easy if you use certbot. But of course now we're
> a long way from sendmail.

That depends, are we talking about using certbot (et al.) to get a TLS
certificate to put into Sendmail? }:-)

Aside: I'm a fan of acme.sh (https://github.com/acmesh-official/acme.sh).

P.S. It helps if I hit follow-up instead of reply. Maybe I should sign
off for the night.

--
Grant. . . .

Re: Sendmail on FreeBSD 14, gmail problem

<uvnud2$1en2v$3@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2016&group=comp.mail.sendmail#2016

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Wed, 17 Apr 2024 09:40:18 +0200
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <uvnud2$1en2v$3@dont-email.me>
References: <uvjlje$csmt$1@dont-email.me>
<uvl7an$qcb5$2@dont-email.me>
<uvncb2$1cfpj$1@dont-email.me>
<uvndqu$2t37$2@gal.iecc.com>
<uvngk1$bt6$1@tncsrv09.home.tnetconsulting.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Apr 2024 09:40:19 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="45fccf1064169e7c620e1ae9785240d6";
logging-data="1530975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+avi6uO7ZrP9PV/tCalPvo"
Cancel-Lock: sha1:RaGIJ4leI12KO2mgFpl23KJ22SI=
 by: Marco Moock - Wed, 17 Apr 2024 07:40 UTC

On 16.04.2024 um 22:45 Uhr Grant Taylor wrote:

> That depends, are we talking about using certbot (et al.) to get a
> TLS certificate to put into Sendmail? }:-)

The only thing is to trigger a sendmail reload. certbot provides such a
mechanism.

--
kind regards
Marco

Send spam to 1713300305muell@cartoonies.org

Re: Sendmail on FreeBSD 14, gmail problem

<uvol56$qse$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2017&group=comp.mail.sendmail#2017

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Wed, 17 Apr 2024 09:08:38 -0500
Organization: TNet Consulting
Message-ID: <uvol56$qse$1@tncsrv09.home.tnetconsulting.net>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me>
<uvncb2$1cfpj$1@dont-email.me> <uvndqu$2t37$2@gal.iecc.com>
<uvngk1$bt6$1@tncsrv09.home.tnetconsulting.net>
<uvnud2$1en2v$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 17 Apr 2024 14:08:38 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="27534"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uvnud2$1en2v$3@dont-email.me>
 by: Grant Taylor - Wed, 17 Apr 2024 14:08 UTC

On 4/17/24 02:40, Marco Moock wrote:
> The only thing is to trigger a sendmail reload. certbot provides such
> a mechanism.

I've never had any problems reloading sendmail using acme.sh.

I simply call my standard OS init script / service command to cause
Sendmail to be reloaded using the same thing that is calling acme.sh.
Namely a script that does multiple other things in addition to calling
acme.sh. I don't need yet another feature in acme.sh.

Unix philosophy: Do one thing and do it well. In this case, acme.sh
manages the certificate file. Other parts of the system manage things
that use the certificate file.

--
Grant. . . .

Re: Sendmail on FreeBSD 14, gmail problem

<uvptjv$1t6l3$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2018&group=comp.mail.sendmail#2018

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <bp@www.zefox.net>
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Thu, 18 Apr 2024 01:39:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <uvptjv$1t6l3$1@dont-email.me>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me> <uvncb2$1cfpj$1@dont-email.me> <uvndqu$2t37$2@gal.iecc.com>
Injection-Date: Thu, 18 Apr 2024 03:39:11 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="851675a296bfb3931390234d39cb78c4";
logging-data="2005667"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kO8suNkwHPLrNs4WceRDy5lapZu1W7Ik="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p5 (arm64))
Cancel-Lock: sha1:Rm7PZMwTdDc4GItil1S6+Nzgnhs=
 by: <bp@www.zefox.net> - Thu, 18 Apr 2024 01:39 UTC

John Levine <johnl@taugh.com> wrote:
> According to <bp@www.zefox.net>:
>>I think I've got the typo in the MX record fixed, but clearly
>>there's a lot more to be learned. It seems like maybe getting
>>https working with apache24 might be an easier place to start.
>
> That's pretty easy if you use certbot. But of course now we're
> a long way from sendmail.
>
Pulling the conversation back to sendmail, if I get apache24 to
accept and work with https connections have I laid a reasonable
foundation to let sendmail authenticate with gmail?

Thanks for writing!

bob prohaska

Re: Sendmail on FreeBSD 14, gmail problem

<uvq3uv$gvm$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2019&group=comp.mail.sendmail#2019

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Wed, 17 Apr 2024 22:27:27 -0500
Organization: TNet Consulting
Message-ID: <uvq3uv$gvm$1@tncsrv09.home.tnetconsulting.net>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me>
<uvncb2$1cfpj$1@dont-email.me> <uvndqu$2t37$2@gal.iecc.com>
<uvptjv$1t6l3$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 18 Apr 2024 03:27:27 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="17398"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uvptjv$1t6l3$1@dont-email.me>
 by: Grant Taylor - Thu, 18 Apr 2024 03:27 UTC

On 4/17/24 20:39, bp@www.zefox.net wrote:
> Pulling the conversation back to sendmail, if I get apache24 to accept
> and work with https connections have I laid a reasonable foundation
> to let sendmail authenticate with gmail?

While both Apache and Sendmail use the same underlying TLS libraries;
oft OpenSSL, sometimes an alternative, what they do with it and how they
make use of them are separate.

About the only thing that Apache will bring to the email party is
infrastructure to host the policy file for MTA-STS.

You can use the same certificate file and key for both Apache and Sendmail.

"authenticate with gmail" means a couple of different things to me in 2924:

1) Requirements for senders to be /authenticated/; e.g. SPF and / or DKIM.
2) OAuth 2.0 authentication to send relay email to the world via Gmail.
Read: use Gmail as a smart host in Sendmail parlance.

Which of these are you asking about?

1.SPF is easy to do with TXT records in DNS.

1.DKIM is a bit more complicated and requires a milter to sign outgoing
messages as well as various DNS records to support DKIM.

2 is another critter entirely. I am not aware of a recipe to make this
work. I feel certain that there is on and I'm just unaware of it. I
can see some plumbing to create a new mailer that does the OAuth w/
Gmail and sends messages. I know how to add mailers to Sendmail, but I
have no idea what such a mailer would look like.

I've heard about people using -- what I think -- are called application
passwords with Gmail to make non-OAuth aware software work with Gmail.
Maybe this will work allow Sendmail to use Gmail as a smart host using
authentication using the App Password.

I've read that app passwords are still a thing but require multi-factor
to be enabled to get access to them.

I could also be a decade behind the times when it comes to OAuth.

> Thanks for writing!

:-)

--
Grant. . . .

Re: Sendmail on FreeBSD 14, gmail problem

<uvq8lc$234ve$1@dont-email.me>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2021&group=comp.mail.sendmail#2021

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <bp@www.zefox.net>
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Thu, 18 Apr 2024 04:47:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <uvq8lc$234ve$1@dont-email.me>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me> <uvncb2$1cfpj$1@dont-email.me> <uvndqu$2t37$2@gal.iecc.com> <uvptjv$1t6l3$1@dont-email.me> <uvq3uv$gvm$1@tncsrv09.home.tnetconsulting.net>
Injection-Date: Thu, 18 Apr 2024 06:47:41 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="851675a296bfb3931390234d39cb78c4";
logging-data="2200558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JNLheGQi9VZ6RXlcn5YnqIlbmTuQJO/M="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p5 (arm64))
Cancel-Lock: sha1:f6qEfxp9mQnmZtCASRjn2Rgjfsk=
 by: <bp@www.zefox.net> - Thu, 18 Apr 2024 04:47 UTC

Grant Taylor <gtaylor@tnetconsulting.net> wrote:
> On 4/17/24 20:39, bp@www.zefox.net wrote:
>> Pulling the conversation back to sendmail, if I get apache24 to accept
>> and work with https connections have I laid a reasonable foundation
>> to let sendmail authenticate with gmail?
>
> While both Apache and Sendmail use the same underlying TLS libraries;
> oft OpenSSL, sometimes an alternative, what they do with it and how they
> make use of them are separate.
>
> About the only thing that Apache will bring to the email party is
> infrastructure to host the policy file for MTA-STS.
>
> You can use the same certificate file and key for both Apache and Sendmail.
>
That suggests that getting apache working https will complete a necessary,
if not sufficient, step toward authentication using sendmail. For my
purposes that's a worthwhile step. If the certificat can be the one
already used for ssh, that's a bit of gravy.

> "authenticate with gmail" means a couple of different things to me in 2924:
>
> 1) Requirements for senders to be /authenticated/; e.g. SPF and / or DKIM.
> 2) OAuth 2.0 authentication to send relay email to the world via Gmail.
> Read: use Gmail as a smart host in Sendmail parlance.
>
> Which of these are you asking about?
>
I simply want to reply, as an individual, to email received from a gmail
account.

> 1.SPF is easy to do with TXT records in DNS.
>
> 1.DKIM is a bit more complicated and requires a milter to sign outgoing
> messages as well as various DNS records to support DKIM.
>

Hopefully SPF will be enough to get gmail to accept my replies

> 2 is another critter entirely. I am not aware of a recipe to make this
> work. I feel certain that there is on and I'm just unaware of it. I
> can see some plumbing to create a new mailer that does the OAuth w/
> Gmail and sends messages. I know how to add mailers to Sendmail, but I
> have no idea what such a mailer would look like.
>
> I've heard about people using -- what I think -- are called application
> passwords with Gmail to make non-OAuth aware software work with Gmail.
> Maybe this will work allow Sendmail to use Gmail as a smart host using
> authentication using the App Password.
>
> I've read that app passwords are still a thing but require multi-factor
> to be enabled to get access to them.
>
> I could also be a decade behind the times when it comes to OAuth.
>

I fear you're giving me far more credit than I deserve! OAuth is
unknown to me.

Thanks for helping me find my bearings! I'm still kinda lost, but
am forming an inkling which way is up.

bob prohaska

Re: Sendmail on FreeBSD 14, gmail problem

<uvrnls$rdi$1@tncsrv09.home.tnetconsulting.net>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=2022&group=comp.mail.sendmail#2022

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: gtaylor@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Sendmail on FreeBSD 14, gmail problem
Date: Thu, 18 Apr 2024 13:10:05 -0500
Organization: TNet Consulting
Message-ID: <uvrnls$rdi$1@tncsrv09.home.tnetconsulting.net>
References: <uvjlje$csmt$1@dont-email.me> <uvl7an$qcb5$2@dont-email.me>
<uvncb2$1cfpj$1@dont-email.me> <uvndqu$2t37$2@gal.iecc.com>
<uvptjv$1t6l3$1@dont-email.me>
<uvq3uv$gvm$1@tncsrv09.home.tnetconsulting.net>
<uvq8lc$234ve$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 18 Apr 2024 18:10:05 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
logging-data="28082"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uvq8lc$234ve$1@dont-email.me>
 by: Grant Taylor - Thu, 18 Apr 2024 18:10 UTC

On 4/17/24 23:47, bp@www.zefox.net wrote:
> That suggests that getting apache working https will complete a
> necessary, if not sufficient, step toward authentication using
> sendmail. For my purposes that's a worthwhile step.

Getting Apache to support HTTPS just to re-use the TLS certificate is
about the same as getting OpenLDAP to support LDAPS to re-use the TLS
certificate.

It's relatively easy to get a working TLS certificate without touching
Apache or OpenLDAP.

> If the certificat can be the one already used for ssh, that's a bit
> of gravy.

No, TLS (a.k.a. X.509) certificates are different than SSH certificates.

N.B. SSH certificates are different than SSH keys.

> I simply want to reply, as an individual, to email received from a gmail
> account.

I think you want to look at SPF as it's probably all that is required in
your use case.

You might want to explore DKIM.

> Hopefully SPF will be enough to get gmail to accept my replies

Yes, I believe it will be.

> I fear you're giving me far more credit than I deserve! OAuth is
> unknown to me.

I know of OAuth and have read about / listened to podcasts on it a
number of times. But I've not used it much at all. I have minimal
interaction with providers that require it.

N.B. OAuth isn't needed to send email to, much less receive email from,
Gmail.

> Thanks for helping me find my bearings! I'm still kinda lost, but
> am forming an inkling which way is up.

You're welcome.

--
Grant. . . .

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor