🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #311752

Re: Ping Inwtx

#311752
From: SEC3
Date: Mon, 26 Oct 2020 17:51
97 lines
4252 bytes
On 2020-10-26 1:28 p.m., inwtx wrote:
>>
>> On 2020-10-23 1:47 p.m., inwtx wrote:
>>
>>
>>> I have gotten YAMNClient to work down to this error, but Can't get
>>> beyond it.  It seems to be somethingabout my site not having the tls
>>> credentials.
>>>
>>> Info: 2020/10/23 12:36:56 chain.go:35: Stats updated and reimported
>>> Info: 2020/10/23 12:36:56 client.go:171: Chain: yamn@yamn.paranoici.org
>>> Warn: 2020/10/23 12:36:57 mail.go:511: smtp: server doesn't support AUTH
>>> Warn: 2020/10/23 12:36:57 mail.go:252: Sendmail failed
>>> Warn: 2020/10/23 12:36:57 pool.go:76: Pool mailing failed: smtp: server doesn't support AUTH
>>>
>>> I have this setup in postfix where I am using letsencrypt parameters,
>>> probably wrong.
>>>
>>> smtpd_tls_cert_file = /etc/ssl/private/letsencrypt-domain.pem
>>> smtpd_tls_key_file = /etc/ssl/private/letsencrypt-domain.key
>>> smtp_tls_key_file = /etc/ssl/private/letsencrypt-domain.pem
>>>
>>> Folder /etc/ssl/private/ content:
>>>  letsencrypt-account.key  letsencrypt-domain.key  letsencrypt-domain.pem
>>>  nginx-selfsigned.key  ssl-cert-snakeoil.key
>>
>>
>> While you explained that you are not using a standard Letencrypt
>> installation and that you are using something called ACME instead your
>> Postfix/TLS does seem FUBARed nevertheless.
> 
>   LetsEncrypt uses acme themselves to create the .key and .pem.
> All LetsEncrypt does is automate the creation of these.  They
> recommend using acme on systems that LetsEncrypt can't handle.
> 
>>
>> You have a *.pem key (usually these are public keys) living in
>> /etc/ssl/private. It won't be viewable to world in that folder.
>>
>> I'm going to suggest that you disable TLS completely in Postfix. Just
>> for 24-48 hours.
>>
>>
>> # /etc/postfix/main.cf
>> smtpd_use_tls = no
>> smtp_use_tls = no
>>
>> Then reload Postfix.
>>
>> And then observe and see if things improve RE: the "server doesn't
>> support AUTH" issue. It might even solve the TIMEOUT issue too.
>>
>>
>> If you see improvements. The maybe try setting up TLS again, but this
>> time just use the snakeoil keys.
>>
>   Here is what I changed:
> 
> smtpd_use_tls = no
> smtp_use_tls = no
> 
> This is what was before.  It is still in there:
> 
> #smtp_use_tls = yes
> smtp_tls_ciphers = medium
> smtp_tls_security_level = may
> smtp_tls_loglevel = 1
> smtp_tls_session_cache_timeout = 3600s
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> # Perfect Forward Secrecy (optional but greatly improves security)
> smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem
> smtpd_tls_dh1024_param_file = /etc/postfix/dh_2048.pem
> smtpd_tls_eecdh_grade = strong
> smtp_connect_timeout = 300s
>  
>   I noticed that my yamn stats are paltry.  I wonder if this
> is thes cause of that also.  I don't know too much about what
> is going on with .key and .pem.
> 
> I restarted postfix, I think that is as good as reloading it.

Okay. Good. Those changes look good.

If you are unsure you can always do command "postfix check" and it will
report if something is really wrong.


-- 
SEC3

Contact info and PGP key: <https://sec3.net>
List of Tor Hidden Services
<https://github.com/sec3pinger/tor-hidden-services>
List of Nym Keys
<https://github.com/sec3pinger/nym-keys>
YAMN Help
<https://sec3.net/yamnhelp/>
Technical Details
Message-ID: <N0ElH.6626$oS.5077@fx02.ams1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <7OClH.2481$yV.1260@fx04.ams1> <rn70vk$5f4$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <N0ElH.6626$oS.5077@fx02.ams1>
Subject: Re: Ping Inwtx
Date: Mon, 26 Oct 2020 13:51:39 -0400
From: SEC3 <noreply@sec3.net>
References: <7OClH.2481$yV.1260@fx04.ams1> <rn70vk$5f4$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
Mime-Version: 1.0
In-Reply-To: <rn70vk$5f4$1@news.mixmin.net>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Lines: 97
X-Complaints-To: abuse@blocknews.net
Nntp-Posting-Date: Mon, 26 Oct 2020 17:51:41 UTC
Organization: blocknews - www.blocknews.net