Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

How to Configure z-push with TLS with Postfix and dbmail backend #269

Open
LOTRg opened this issue May 5, 2016 · 4 comments
Open

How to Configure z-push with TLS with Postfix and dbmail backend #269

LOTRg opened this issue May 5, 2016 · 4 comments

Comments

@LOTRg
Copy link

LOTRg commented May 5, 2016

I have tried for 3 days and read many tutorials but seem to have no luck setting this up, I use Roundcube for webclient and it's configured for tls://localhost and port 143, I login fine and browse my emails with no issues, however when I tried to set z-push i can't login, I get these errors

BackendIMAP->Logon(): can't connect: Can not authenticate to IMAP server: login rejected
AuthenticationRequiredException: Access denied. Username or password incorrect - code: 0 - file: /var/www/outlook/lib/request/requestprocessor.php:82
Unknown:0 Unknown: Can not authenticate to IMAP server: login rejected (errflg=2) (8)

my config file is configured like this :
define('BACKEND_PROVIDER', 'BackendIMAP');
define('IMAP_OPTIONS', '/tls/norsh/novalidate-cert');
define('IMAP_SERVER', '127.0.0.1');
define('IMAP_PORT', 143);

I have tried with 993, 143 ports, tried with /ssl and /tls options and still can't login.
what am I missing ? and how can I get this to work ?

Thank you in advance

@LOTRg
Copy link
Author

LOTRg commented May 11, 2016

anyone can possibly help or guide please ?

@norm2k
Copy link

norm2k commented May 11, 2016

Did you also update your backend/imap/config.php?
Actually, you should just have define('BACKEND_PROVIDER', 'BackendIMAP'); in your config file and then do all the setup in your backend/imap/config.php file.

@LOTRg
Copy link
Author

LOTRg commented May 19, 2016

@norm2k ... thank you for your reply. I have verified these are the current setting yet I am still unable to login. still getting the same error, is there something wrong with zpush support for tls ?

@LOTRg
Copy link
Author

LOTRg commented May 19, 2016

Not sure if this will make a difference but here is beginning of the error :
/var/www/outlook/backend/imap/imap.php:99 imap_open(): Couldn't open stream {127.0.0.1:143/imap/tls/novalidate-cert} (2)
19/05/2016 01:34:19 [19625] [ERROR] [EMAILADDRESS] BackendIMAP->Logon(): can't connect: Can not authenticate to IMAP server: login rejected
19/05/2016 01:34:19 [19625] [ INFO] [EMAILADDRESS] AuthenticationRequiredException: Access denied. Username or password incorrect - code: 0 - file: /var/www/outlook/lib/request/requestprocessor.php:82

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants