DevHeads.net

aquamail connecting to postfix

Hello,

Does anyone have Android's aquamail app successfully connecting to a
Postfix server? If so, w hat settings did you use? I keep getting an
authentication denied error. I've tried for authentication choose
automatically, sasl plain, sasl login. For server security I've tried
ssl strict check, ssl accept any (both on port 465), and starttls
strict check and starttls accept any (port 587).

Thanks.
Dave.

Comments

Re: aquamail connecting to postfix

By John at 02/12/2018 - 11:47

Hi dav,

My internet was down overnight, snow plough hit encapsulation point.

These are my postfix config files, plus my dovecot stuff.

Hope it helps.

John A

On 2018-02-11 06:12 PM, David Mehler wrote:

Re: aquamail connecting to postfix

By Bill Cole at 02/12/2018 - 00:30

This reads as if you haven't tried simply telling Postfix to not request
client certs at all. Unless you are using X.509 certs for user
authentication, it is best to leave smtpd_tls_CAfile and
smtpd_tls_CApath at their defaults (empty) and smtpd_tls_ask_ccert at
its default (no)

And as always: if you want detailed and specific Postfix help here, you
should follow the advice in the last section of the Postfix DEBUG_README
file.

Re: aquamail connecting to postfix

By Dave at 02/12/2018 - 11:10

Hello,

My thanks to those who suggested the debug document. While that wasn't
it, the issue wasn't with postfix at all, it did get me looking at
Dovecot. Postfix does Sasl authentication using Dovecot. Dovecot gets
it's username and password from a MySQL database. The query Dovecot
was sending was wrong and it only showed up on outgoing connections,
incoming authentication worked fine.

Again my thanks.
Dave.

On 2/11/18, Bill Cole <postfixlists- ... at billmail dot scconsult.com> wrote:

Re: aquamail connecting to postfix

By Voytek Eymont at 02/11/2018 - 23:57

I don't use it, but just tried setting up,
worked out of the box with IMAP StartTLS 143 and SMTP StartTLS 587

Now, I'll try to send this...

Re: aquamail connecting to postfix

By John at 02/11/2018 - 19:52

I have AquaMail working on a S7edge running Lineageos 14.1 (have had it
working on vanilla samsung touchwiz). My setting are:

* imap
o server: imap.klam.ca
o security type - SSL (strict check)
o server port: 993
o authentication:chose automatically
o login: xxxxx
o password:
o folder prefix: automatic

* smtp
o security type: Starttls(strict check)
o server port: 587
o authentication: choose automatically
o login:
o password:

this works for me

best of luck

john a

On 2018-02-11 06:12 PM, David Mehler wrote: