1 (edited by illmaren 2015-10-17 13:11:56)

Topic: iRedMail extern access problems

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Debian Jessie (Fresh installed from OVH)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro?: No
- Related log if you're reporting an issue: There is no Log significant to this problem.
====

Hello together,

I got a serious problem with my installation (its not my first installation on my vServer (8-9 actually))

And everytime i get the same problem.

If i try to connect to the Server trough my MailClient (Thunderbird) Roundcube and iredadmin stop to respond.
He connects disconnects and then this error comes...

Oct 17 06:34:04 mail postfix/smtpd[1040]: improper command pipelining after EHLO from DYNDNS.com[IP]: QUIT\r\n

If i try to connect via a PHP Script from another server to the Mail Server he looses the connection and gives me this error:

Oct 17 06:51:08 mail postfix/smtpd[1748]: connect from IP.eu[IP]
Oct 17 06:51:08 mail postfix/smtpd[1748]: SSL_accept error from IP.eu[IP]: 0
Oct 17 06:51:08 mail postfix/smtpd[1748]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:
Oct 17 06:51:08 mail postfix/smtpd[1748]: lost connection after STARTTLS from IP.eu[IP]
Oct 17 06:51:08 mail postfix/smtpd[1748]: disconnect from IP.eu[IP]
Oct 17 06:51:08 mail postfix/smtpd[1748]: connect from IP.eu[IP]
Oct 17 06:51:08 mail postfix/smtpd[1748]: SSL_accept error from IP.eu[IP]: 0
Oct 17 06:51:08 mail postfix/smtpd[1748]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:
Oct 17 06:51:08 mail postfix/smtpd[1748]: lost connection after STARTTLS from IP.eu[]
Oct 17 06:51:08 mail postfix/smtpd[1748]: disconnect from IP.eu[IP]

I´m using here tls over port 587 (SSL wont connect at all to the server)
The iRedMail installation is completly fresh, on a fresh Root Server after following this Installation Guide:
http://www.iredmail.org/docs/install.ir … buntu.html

There is nothing else installed
Server is: https://www.ovh.de/virtual_server/vps-ssd.xml ( VPS SSD 1 )

What i did:
Bought -> Debian 8 Jessie installed -> iRedMail Installation Guide followed -> a second E-Mail Account under the Domain i used created (example.com -> illmaren@example.com) -> Tested this Account with Roundcube (Worked) -> Entered Login Details into Thunderbird bam error.

DNS Settings: (using cloudflare free)
A -> example.com (looks into the direction of my WebServer ( a different Machine )
A -> mail.example.com ( is the Mail Server got Problems with. )
CNAME -> imap- pop- smtp.example.com -> directs to mail.example.com
MX -> * -> mail.example.com
MX -> mail -> mail.example.com
MX -> mx -> mail.example.com
MX -> example.com -> mail.example.com

I hope someone can help me with this issue.

If I forgot some infos here feel free to tell me.

Kind Regards
Illmaren

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail extern access problems

illmaren wrote:

Oct 17 06:51:08 mail postfix/smtpd[1748]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:

Your PHP script/lib may not work with self-signed SSL cert. Here's a temporary solution, just want to make sure which component/setting causes this issue:

Please comment out 'smtpd_tls_auth_only = yes' in /etc/postfix/main.cf, restart Postfix service, then update your PHP script to use port 25 WITHOUT TLS to send email (note: smtp auth is still required). Tell us whether it works for you.

Also, please show us (screenshots of) your Thunderbird settings. Please check our tutorial first:
http://www.iredmail.org/docs/configure.thunderbird.html

3 (edited by illmaren 2015-10-18 06:10:40)

Re: iRedMail extern access problems

ZhangHuangbin wrote:
illmaren wrote:

Oct 17 06:51:08 mail postfix/smtpd[1748]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1294:SSL alert number 48:

Your PHP script/lib may not work with self-signed SSL cert. Here's a temporary solution, just want to make sure which component/setting causes this issue:

Please comment out 'smtpd_tls_auth_only = yes' in /etc/postfix/main.cf, restart Postfix service, then update your PHP script to use port 25 WITHOUT TLS to send email (note: smtp auth is still required). Tell us whether it works for you.

Works now thanks wink

ZhangHuangbin wrote:

Also, please show us (screenshots of) your Thunderbird settings. Please check our tutorial first:

http://www.iredmail.org/docs/configure … rbird.html

I use these Options here...as in the Guide told.

http://www.iredmail.org/docs/images/thu … .setup.png
just with my login details of course.

Tested it just now with the new postfix options too and here too...timeout error from the server if i now try to visit roundcube or iredadmin.

Tested it with the Web Mail Android App...using imap with port 143 and TLS if provided....it works o_O
SMTP works here with port 25 and TLS if provided too

Solved it thanks wink