1

Topic: error while application trys to send email via iredmail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Deployed with iRedMail Easy or the downloadable installer? installed
- Linux/BSD distribution name and version: centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): AD win 2012R2
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi Team,

I have installed a tracking system called traccar. That can also send in email using a mail server. I have added the following in the config of the traccar application and it still does not work.

<entry key='mail.smtp.host'>mail.domain.com</entry>
    <entry key='mail.smtp.port'>587</entry>
    <entry key='mail.smtp.starttls.enable'>true</entry>
    <entry key='mail.smtp.from'>traccar@domain.com</entry>
    <entry key='mail.smtp.auth'>true</entry>
    <entry key='mail.smtp.username'>traccar@domain.com</entry>
    <entry key='mail.smtp.password'>password@123</entry>

In iredmail postfix file I have added the ip address of that server ie 192.168.39.29 in the trusted network. In the logs I can see the following.

12 15:13:57 mail postfix/submission/smtpd[31954]: connect from unknown[192.168.39.29]
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: SSL_accept error from unknown[192.168.39.29]: 0
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: warning: TLS library problem: 31954:error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:s3_pkt.c:1493:SSL alert number 46:
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: lost connection after STARTTLS from unknown[192.168.39.29]
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: disconnect from unknown[192.168.39.29]
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: connect from unknown[192.168.39.29]
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: SSL_accept error from unknown[192.168.39.29]: 0
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: warning: TLS library problem: 31954:error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:s3_pkt.c:1493:SSL alert number 46:
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: lost connection after STARTTLS from unknown[192.168.39.29]
Mar 12 15:13:58 mail postfix/submission/smtpd[31954]: disconnect from unknown[192.168.39.29]


Can anyone assist me on this please?

Rajbps

----

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

2

Re: error while application trys to send email via iredmail

- With same Postfix configuration, can you send email with a MUA (e.g. Thunderbird) and same smtp user + password + port number?
- if MUA works, then it's possible that this tracking system cannot correctly handle smtp + tls. Better check it first.