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


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

Dovecot Problems?

Started byDavid Baron <d_baron@012.net.il>
First post2015-12-24 14:00 +0100
Last post2015-12-31 14:00 +0100
Articles 8 — 4 participants

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


Contents

  Dovecot Problems? David Baron <d_baron@012.net.il> - 2015-12-24 14:00 +0100
    Re: Dovecot Problems? <tomas@tuxteam.de> - 2015-12-25 14:30 +0100
      Re: Dovecot Problems? David Baron <d_baron@012.net.il> - 2015-12-26 19:00 +0100
        Re: Dovecot Problems? <tomas@tuxteam.de> - 2015-12-26 19:10 +0100
      Re: Dovecot Problems? Anthony DeRobertis <anthony@derobert.net> - 2015-12-28 03:50 +0100
    Re: Dovecot Problems? Jochen Spieker <ml@well-adjusted.de> - 2015-12-30 21:40 +0100
      Re: Dovecot Problems? David Baron <d_baron@012.net.il> - 2015-12-30 22:00 +0100
        Re: Dovecot Problems? David Baron <d_baron@012.net.il> - 2015-12-31 14:00 +0100

#162089 — Dovecot Problems?

FromDavid Baron <d_baron@012.net.il>
Date2015-12-24 14:00 +0100
SubjectDovecot Problems?
Message-ID<qJdES-6Ob-15@gated-at.bofh.it>
I can no longer log on to my IMAP server from my Android. I can do so from 
kmail but even the URL is translated to localhost. Using k-9 mail on the 
android.

I have dovecot listening to *,:: (both ivp4 and ivp6)
I have tried with and without ssl,tls, neither works

I am not sure when it stopped working, dovecot upgrades or new router. The 
desktop ufw is set to allow all out and 143 in for all the combinations.

The router's port forwarding is set up the same way.

Should work.
What else do I need?

[toc] | [next] | [standalone]


#162104

From<tomas@tuxteam.de>
Date2015-12-25 14:30 +0100
Message-ID<qJABt-42C-3@gated-at.bofh.it>
In reply to#162089
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Dec 24, 2015 at 02:53:58PM +0200, David Baron wrote:
> I can no longer log on to my IMAP server from my Android. I can do so from 
> kmail but even the URL is translated to localhost. Using k-9 mail on the 
> android.
> 
> I have dovecot listening to *,:: (both ivp4 and ivp6)
> I have tried with and without ssl,tls, neither works
> 
> I am not sure when it stopped working, dovecot upgrades or new router. The 
> desktop ufw is set to allow all out and 143 in for all the combinations.
> 
> The router's port forwarding is set up the same way.
> 
> Should work.
> What else do I need?

Perhaps stating the obvious, but have you had a look at the dovecot logs?
Can you spot your android's login attempts?

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZ9PHQACgkQBcgs9XrR2kZoaACfcNZJlEOCgsK9vj2nmO0+UhRW
qH4AniaQqNgRERZPUIaZiISyzQGqMN+v
=PRpB
-----END PGP SIGNATURE-----

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


#162122

FromDavid Baron <d_baron@012.net.il>
Date2015-12-26 19:00 +0100
Message-ID<qK1ii-3Yh-3@gated-at.bofh.it>
In reply to#162104
On Friday 25 December 2015 13:54:12 tomas@tuxteam.de wrote:
> On Thu, Dec 24, 2015 at 02:53:58PM +0200, David Baron wrote:
> > I can no longer log on to my IMAP server from my Android. I can do so from
> > kmail but even the URL is translated to localhost. Using k-9 mail on the
> > android.
> > 
> > I have dovecot listening to *,:: (both ivp4 and ivp6)
> > I have tried with and without ssl,tls, neither works
> > 
> > I am not sure when it stopped working, dovecot upgrades or new router. The
> > desktop ufw is set to allow all out and 143 in for all the combinations.
> > 
> > The router's port forwarding is set up the same way.
> > 
> > Should work.
> > What else do I need?
> 
> Perhaps stating the obvious, but have you had a look at the dovecot logs?
> Can you spot your android's login attempts?
> 
> regards
> -- t

Login attempt not logged.

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


#162123

From<tomas@tuxteam.de>
Date2015-12-26 19:10 +0100
Message-ID<qK1rX-4gM-3@gated-at.bofh.it>
In reply to#162122
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Dec 26, 2015 at 07:53:13PM +0200, David Baron wrote:
> On Friday 25 December 2015 13:54:12 tomas@tuxteam.de wrote:
> > On Thu, Dec 24, 2015 at 02:53:58PM +0200, David Baron wrote:
> > > I can no longer log on to my IMAP server from my Android. I can do so from
> > > kmail but even the URL is translated to localhost. Using k-9 mail on the
> > > android.
> > > 
> > > I have dovecot listening to *,:: (both ivp4 and ivp6)
> > > I have tried with and without ssl,tls, neither works
> > > 
> > > I am not sure when it stopped working, dovecot upgrades or new router. The
> > > desktop ufw is set to allow all out and 143 in for all the combinations.

[...]

> Login attempt not logged.

So it seems that the Android client isn't even succeeding in contacting the
server.

You happen to have some tools on Android like netcat or (gasp!) telnet?
Sorry I'm not very knowledgeable in things Android (or mobile).

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZ+zogACgkQBcgs9XrR2kZemgCeOTFsOnHvIncKLKG7bwBZ1Ka9
tp8An085GPQW3UWSSCZo50uPZUJdgeEJ
=Q63d
-----END PGP SIGNATURE-----

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


#162141

FromAnthony DeRobertis <anthony@derobert.net>
Date2015-12-28 03:50 +0100
Message-ID<qKw3g-3Io-709@gated-at.bofh.it>
In reply to#162104
Presuming you're running stable, I've got 1:2.2.13-12~deb8u1 running and
login from Android clients (K-9, Android 5 and 6) works just fine. I
would suggest using tcpdump to see how far the packets are getting.
Also, IMAP/SSL (as opposed to IMAP + STARTTLS) runs on port 993—make
sure you're not blocking that.

You could also use a telnet client on Android to test, by telnet'ing to
the IMAP port. Some trivial IMAP commands to try are "tag capability"
and "tag logout". Tag can be any tag, including "tag".

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


#162303

FromJochen Spieker <ml@well-adjusted.de>
Date2015-12-30 21:40 +0100
Message-ID<qLvHj-2WR-1@gated-at.bofh.it>
In reply to#162089

[Multipart message — attachments visible in raw view] — view raw

David Baron:
>
> I can no longer log on to my IMAP server from my Android. I can do so from 
> kmail but even the URL is translated to localhost. Using k-9 mail on the 
> android.

Is kmail running in the same host as Dovecot? That's the only way I can
think of that kmail is working with localhost as the IMAP server (or a
*very* broken entry in /etc/hosts).

> I have dovecot listening to *,:: (both ivp4 and ivp6)
> I have tried with and without ssl,tls, neither works
> 
> I am not sure when it stopped working, dovecot upgrades or new router. The 
> desktop ufw is set to allow all out and 143 in for all the combinations.

If you only allow 143, IMAP over SSL will not work. It uses 993.

> The router's port forwarding is set up the same way.
> 
> Should work.
> What else do I need?

You are a little short on details. What error message do you receive
from K9? 

J.
-- 
Americans have a better life.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

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


#162307

FromDavid Baron <d_baron@012.net.il>
Date2015-12-30 22:00 +0100
Message-ID<qLw0G-33F-9@gated-at.bofh.it>
In reply to#162303
On Wednesday 30 December 2015 21:31:09 Jochen Spieker wrote:
> David Baron:
> > I can no longer log on to my IMAP server from my Android. I can do so from
> > kmail but even the URL is translated to localhost. Using k-9 mail on the
> > android.
> 
> Is kmail running in the same host as Dovecot? That's the only way I can
> think of that kmail is working with localhost as the IMAP server (or a
> *very* broken entry in /etc/hosts).
> 
> > I have dovecot listening to *,:: (both ivp4 and ivp6)
> > I have tried with and without ssl,tls, neither works
> > 
> > I am not sure when it stopped working, dovecot upgrades or new router. The
> > desktop ufw is set to allow all out and 143 in for all the combinations.
> 
> If you only allow 143, IMAP over SSL will not work. It uses 993.
> 
> > The router's port forwarding is set up the same way.
> > 
> > Should work.
> > What else do I need?
> 
> You are a little short on details. What error message do you receive
> from K9?

Cannot contact server.
If I take domain out of hosts, same for kmail.
Using 143, startls on both.

Has to be the port forwarding but this is all very straightforward.

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


#162348

FromDavid Baron <d_baron@012.net.il>
Date2015-12-31 14:00 +0100
Message-ID<qLKZI-4vO-9@gated-at.bofh.it>
In reply to#162307
On Wednesday 30 December 2015 22:56:06 David Baron wrote:
> On Wednesday 30 December 2015 21:31:09 Jochen Spieker wrote:
> > David Baron:
> > > I can no longer log on to my IMAP server from my Android. I can do so
> > > from
> > > kmail but even the URL is translated to localhost. Using k-9 mail on the
> > > android.
> > 
> > Is kmail running in the same host as Dovecot? That's the only way I can
> > think of that kmail is working with localhost as the IMAP server (or a
> > *very* broken entry in /etc/hosts).
> > 
> > > I have dovecot listening to *,:: (both ivp4 and ivp6)
> > > I have tried with and without ssl,tls, neither works
> > > 
> > > I am not sure when it stopped working, dovecot upgrades or new router.
> > > The
> > > desktop ufw is set to allow all out and 143 in for all the combinations.
> > 
> > If you only allow 143, IMAP over SSL will not work. It uses 993.
> > 
> > > The router's port forwarding is set up the same way.
> > > 
> > > Should work.
> > > What else do I need?
> > 
> > You are a little short on details. What error message do you receive
> > from K9?
> 
> Cannot contact server.
> If I take domain out of hosts, same for kmail.
> Using 143, startls on both.
> 
> Has to be the port forwarding but this is all very straightforward.

Progress. Assigned a static address in the router. This gave me 
communications.
K-9 kicked at the certificate so I took off starttls
Then it worked.

So I need to update the certificate. How do I do that (or where do I copy the 
files on the phone)?

[toc] | [prev] | [standalone]


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


csiph-web