1 (edited by xbone_ch 2019-11-01 18:02:31)

Topic: Duplicate entries in SMTP Sessions & Outbound SMTP Sessions

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2019102201
- Deployed with iRedMail Easy or the downloadable installer? YES
- Linux/BSD distribution name and version: Debain Stretch (LXD Container)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? YES
====

Hello there,

I have found that in SMTP Session and Outbound SMTP Session all entries are displayed twice.
Has this already been reported? Plesae see attachment.

Also is there a bug with the site selector. Plese see attachment.

Best regards from Switzerland
Richard

Post's attachments

2019-11-01 10_54_40-Outbound SMTP Sessions.png
2019-11-01 10_54_40-Outbound SMTP Sessions.png 21.47 kb, file has never been downloaded. 

2019-11-01 10_56_56-SMTP Authentication.png
2019-11-01 10_56_56-SMTP Authentication.png 22.34 kb, file has never been downloaded. 

2019-11-01 11_01_11-SMTP Authentication.png
2019-11-01 11_01_11-SMTP Authentication.png 7.01 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

2

Re: Duplicate entries in SMTP Sessions & Outbound SMTP Sessions

- The pagination issue has been fixed in development edition, sorry about this trouble.
- It's not "duplicated" actually. One message goes through 2 protocol states (RCPT and END-OF-MESSAGE) and passed to iRedAPD, so iRedAPD logs both of them, since most data are same, so it looks like "duplicated".

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: Duplicate entries in SMTP Sessions & Outbound SMTP Sessions

All right. Thank you for the explanation!

4

Re: Duplicate entries in SMTP Sessions & Outbound SMTP Sessions

Please try this patch for iRedAPD-3.2, it should "perfectly" avoid the duplicate logging:
https://bitbucket.org/zhb/iredapd/commi … 83dff54f4f

Tested on a busy production server and it works fine.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5 (edited by xbone_ch 2019-11-05 21:24:10)

Re: Duplicate entries in SMTP Sessions & Outbound SMTP Sessions

thank you Zhang, the patch works perfect! cool