Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208816 > unrolled thread

major email problems

Started byGlenn English <ghe2001@gmail.com>
First post2019-05-19 01:20 +0200
Last post2019-05-19 20:20 +0200
Articles 9 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  major email problems Glenn English <ghe2001@gmail.com> - 2019-05-19 01:20 +0200
    Re: major email problems Kushal Kumaran <kushal@locationd.net> - 2019-05-19 01:30 +0200
      Re: major email problems Glenn English <ghe2001@gmail.com> - 2019-05-19 02:20 +0200
    Re: major email problems mick crane <mick.crane@gmail.com> - 2019-05-19 01:40 +0200
      Re: major email problems Glenn English <ghe2001@gmail.com> - 2019-05-19 02:10 +0200
      Re: major email problems Glenn English <ghe2001@gmail.com> - 2019-05-19 02:20 +0200
        Re: major email problems mick crane <mick.crane@gmail.com> - 2019-05-19 08:10 +0200
          Re: major email problems Glenn English <ghe2001@gmail.com> - 2019-05-19 18:50 +0200
      Re: major email problems Glenn English <ghe2001@gmail.com> - 2019-05-19 20:20 +0200

#208816 — major email problems

FromGlenn English <ghe2001@gmail.com>
Date2019-05-19 01:20 +0200
Subjectmajor email problems
Message-ID<xZgMp-360-5@gated-at.bofh.it>
Buster, Stretch, Wheezy

I know this is probably the wrong place to ask, but DU is full of
knowledgeable folks...

This morning I quit receiving IMAP email (Dovecot, Thunderbird). I
installed and tried several other clients (iMail, Geary, Sylpheed) and
none worked. They said things like my AuthenticationMethod (PLAINTEXT)
was wrong -- I tried several others; none worked. They said my
userName/Password was wrong. I re-entered the password, still nothing.
But I could log into the server with the name/password.

Since several clients wouldn't work, I looked at Dovecot's config. I
couldn't find anything there that looked promising -- and besides, it
was fine yesterday.

I reinstalled Dovecot from a Buster mirror.. Same errors.

I tried 'telnet <srv> 143', and entering IMAP commands by hand. I got
some useful info: PLAINTEXT was disallowed on non TLS logins. It said
that right after I entered the userName, not when I entered the
password. It said the same thing when I did enter the password.

I couldn't find anything in the Dovecot config files that addressed
that, except a commented out line: "#disable_plaintext_auth = yes."
But Dovecot seems to be tossing PLAINTEXT anyway. I didn't try
deleting the line.

I tried a different computer (old server - Wheezy) thinking there
might have been a Dovecot update that made all my clients fail. Same
thing.

The mail log from yesterday shows successful logins all afternoon --
but this morning is shows authentication fails. So I tried changing
Dovecot's auth source from PAM to the shadow file. Nope.

I'm completely at a loss. I've been dealing with Dovecot for years
with no problems. Today, I swear some bit flipped all by itself. And I
can't find it.

If you have any idea of what I may have missed, I'd sure appreciate
hearing about it. And since I can't see the debian-user list, please
respond directly to me at ghe2001@gmail.com

TIA++.

-- 
Glenn English

[toc] | [next] | [standalone]


#208817

FromKushal Kumaran <kushal@locationd.net>
Date2019-05-19 01:30 +0200
Message-ID<xZgW5-398-1@gated-at.bofh.it>
In reply to#208816
Glenn English <ghe2001@gmail.com> writes:

> Buster, Stretch, Wheezy
>
> I know this is probably the wrong place to ask, but DU is full of
> knowledgeable folks...
>
> This morning I quit receiving IMAP email (Dovecot, Thunderbird). I
> installed and tried several other clients (iMail, Geary, Sylpheed) and
> none worked. They said things like my AuthenticationMethod (PLAINTEXT)
> was wrong -- I tried several others; none worked. They said my
> userName/Password was wrong. I re-entered the password, still nothing.
> But I could log into the server with the name/password.
>
> Since several clients wouldn't work, I looked at Dovecot's config. I
> couldn't find anything there that looked promising -- and besides, it
> was fine yesterday.
>
> I reinstalled Dovecot from a Buster mirror.. Same errors.
>
> I tried 'telnet <srv> 143', and entering IMAP commands by hand. I got
> some useful info: PLAINTEXT was disallowed on non TLS logins. It said
> that right after I entered the userName, not when I entered the
> password. It said the same thing when I did enter the password.
>
> I couldn't find anything in the Dovecot config files that addressed
> that, except a commented out line: "#disable_plaintext_auth = yes."
> But Dovecot seems to be tossing PLAINTEXT anyway. I didn't try
> deleting the line.
>

Set disable_plaintext_auth = no

https://wiki.dovecot.org/BasicConfiguration

> I tried a different computer (old server - Wheezy) thinking there
> might have been a Dovecot update that made all my clients fail. Same
> thing.
>
> The mail log from yesterday shows successful logins all afternoon --
> but this morning is shows authentication fails. So I tried changing
> Dovecot's auth source from PAM to the shadow file. Nope.
>
> I'm completely at a loss. I've been dealing with Dovecot for years
> with no problems. Today, I swear some bit flipped all by itself. And I
> can't find it.
>

The documentation for the disable_plaintext_auth parameter seems like it
is exactly what you need to tweak.  I cannot tell why you didn't run
into this earlier.

# Disable LOGIN command and all other plaintext authentications unless
# SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP
# matches the local IP (ie. you're connecting from the same computer), the
# connection is considered secure and plaintext authentication is allowed.
#disable_plaintext_auth = yes

> If you have any idea of what I may have missed, I'd sure appreciate
> hearing about it. And since I can't see the debian-user list, please
> respond directly to me at ghe2001@gmail.com
>
> TIA++.

-- 
regards,
kushal

[toc] | [prev] | [next] | [standalone]


#208822

FromGlenn English <ghe2001@gmail.com>
Date2019-05-19 02:20 +0200
Message-ID<xZhIt-3EQ-3@gated-at.bofh.it>
In reply to#208817
On Sat, May 18, 2019 at 11:29 PM Kushal Kumaran <kushal@locationd.net> wrote:

> The documentation for the disable_plaintext_auth parameter seems like it
> is exactly what you need to tweak.  I cannot tell why you didn't run
> into this earlier.

I did. But what I did to try to get it to work, didn't.

-- 
Glenn English

[toc] | [prev] | [next] | [standalone]


#208819

Frommick crane <mick.crane@gmail.com>
Date2019-05-19 01:40 +0200
Message-ID<xZh5M-3cn-5@gated-at.bofh.it>
In reply to#208816
On 2019-05-18 23:58, Glenn English wrote:

> I couldn't find anything in the Dovecot config files that addressed
> that, except a commented out line: "#disable_plaintext_auth = yes."
> But Dovecot seems to be tossing PLAINTEXT anyway. I didn't try
> deleting the line.
> 

Dunno why it suddenly stopped working.
The commented out lines in the config file normally show the default.
https://wiki.dovecot.org/TestInstallation

Is the place to start.

good luck

mick
-- 
Key ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


#208820

FromGlenn English <ghe2001@gmail.com>
Date2019-05-19 02:10 +0200
Message-ID<xZhyN-3BF-1@gated-at.bofh.it>
In reply to#208819
On Sat, May 18, 2019 at 11:39 PM mick crane <mick.crane@gmail.com> wrote:

> Dunno why it suddenly stopped working.

I don't either.

> The commented out lines in the config file normally show the default.

Oh, yeah. I knew that once :-)

Copying the line, uncommenting it, and change it to 'no' made the fail
take longer, but it still failed.

> https://wiki.dovecot.org/TestInstallation

Bears looking into. Thanks.

-- 
Glenn English

[toc] | [prev] | [next] | [standalone]


#208821

FromGlenn English <ghe2001@gmail.com>
Date2019-05-19 02:20 +0200
Message-ID<xZhIt-3EQ-1@gated-at.bofh.it>
In reply to#208819
On Sat, May 18, 2019 at 11:39 PM mick crane <mick.crane@gmail.com> wrote:

> https://wiki.dovecot.org/TestInstallation

That looks great -- first thing in the morning :-)

-- 
Glenn English

[toc] | [prev] | [next] | [standalone]


#208830

Frommick crane <mick.crane@gmail.com>
Date2019-05-19 08:10 +0200
Message-ID<xZnbb-7fp-1@gated-at.bofh.it>
In reply to#208821
On 2019-05-19 00:58, Glenn English wrote:
> On Sat, May 18, 2019 at 11:39 PM mick crane <mick.crane@gmail.com> 
> wrote:
> 
>> https://wiki.dovecot.org/TestInstallation
> 
> That looks great -- first thing in the morning :-)

which file are you editing ?
I think how it works is that apt puts its files in /usr/share/dovecot
and update overwrites those, whereas "your" files are in /etc/dovecot.

mick
-- 
Key ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


#208870

FromGlenn English <ghe2001@gmail.com>
Date2019-05-19 18:50 +0200
Message-ID<xZxax-4Rp-1@gated-at.bofh.it>
In reply to#208830
On Sun, May 19, 2019 at 6:06 AM mick crane <mick.crane@gmail.com> wrote:
>
> which file are you editing ?
> I think how it works is that apt puts its files in /usr/share/dovecot
> and update overwrites those, whereas "your" files are in /etc/dovecot.

Didn't know about the configs in share, but I was working on
/etc/dovecot/conf.d/10-auth.conf. It did seem to attract Dovecot's
attention a bit :-)

-- 
Glenn English

[toc] | [prev] | [next] | [standalone]


#208874

FromGlenn English <ghe2001@gmail.com>
Date2019-05-19 20:20 +0200
Message-ID<xZyzD-5XI-1@gated-at.bofh.it>
In reply to#208819
On Sat, May 18, 2019 at 11:39 PM mick crane <mick.crane@gmail.com> wrote:

> https://wiki.dovecot.org/TestInstallation

TestInstallation is lovely document. I got Dovecot to answer
everything pretty well, considering that TLS and such don't apply here
(the server is on my LAN, and it's just 10 or 20 feet of Cat5e away).

It seems I was sending the wrong password to the server (my local
password doesn't work anymore; the one on the IMAP server does).
Thunderbird and Geany still aren't working, but Sylpheed is. And I
still don't for sure understand why. In 10-auth.conf, there's talk of
password database(s), and I suspect one of mine got bent somehow.

Next step: finding them.

I thank all of the respondents for the help and suggestions. I'm kinda
back on line, but loss of email is a life-threatening catastrophe :-)

-- 
Glenn English

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web