1

Topic: Member of Mailing Lists 未能正確顯示勾選的 Mailing Lists

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloadable installe
- Linux/BSD distribution name and version: CentOS7.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?     3.3 (LDAP)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi 版主:

在Profile of user: >General > Member of Mailing Lists (勾選要加入的mailing lists)
有的user 在save change 後, 打勾未保留, 有的帳號則有勾勾.

1. 選用加入相同的 mailing lists : 如 dd@mydomain.com
2. 查看 Profile of mailing list: dd@mydomain.com ,users 是有加入.
3. 測試發送給 dd@mydomain,com 的mailing lists 帳號 , 後端平台mail log 顯示是有正常發送的紀錄.

Thanks.

----

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

2 (edited by rain6966 2019-02-13 17:59:29)

Re: Member of Mailing Lists 未能正確顯示勾選的 Mailing Lists

Hi 版主:
這是加入沒有打勾的log:

Feb 13 17:15:45 mail uwsgi: mail.mydomain.com [pid: 7892|app: 1|req: 77/378] 10.10.10.10 () {56 vars in 1007 bytes} [Wed Feb 13 17:15:44 2019] GET /iredadmin/users/mydomain.com => generated 213789 bytes in 730 msecs (HTTP/1.1 200) 2 headers in 145 bytes (2 switches on core 0)
Feb 13 17:15:47 mail uwsgi: 0.0 (1): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:47 mail uwsgi: om') 5U
Feb 13 17:15:47 mail uwsgi: 0.0 (2): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:47 mail uwsgi: om') 5U
Feb 13 17:15:47 mail uwsgi: 0.0 (3): UPDATE sessions SET atime = '2019-02-13T17:15:47.952500' WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:47 mail uwsgi: om') 5U
Feb 13 17:15:47 mail uwsgi: 0.0 (4): SELECT username,bytes,messages FROM used_quota WHERE username IN ('test1@mydomain.com')
Feb 13 17:15:47 mail uwsgi: om') 5U
Feb 13 17:15:48 mail uwsgi: 127.0.0.1:7790 [pid: 7767|app: 0|req: 80/294] 127.0.0.1 () {32 vars in 638 bytes} [Wed Feb 13 17:15:48 2019] GET /api/subscriber/test1@mydomain.com/subscribed?query_all_lists=no&email_only=no => generated 31 bytes in 0 msecs (HTTP/1.1 200) 1 headers in 51 bytes (2 switches on core 0)
Feb 13 17:15:48 mail uwsgi: 0.0 (5): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:48 mail uwsgi:
Feb 13 17:15:48 mail uwsgi: 0.0 (6): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ3Bvc3RtYXN0ZXJAdGVjaGxpbnMuY29tJwpwMwpzUydsYW5n\nJwpwNApTJ2VuX1VTJwpwNQpzUydjc3JmX3Rva2VuJwpwNgpTJ3Eyc
......
XN0ZXJAdGVj\naGxpbnMuY29tJwpwMjgKc1MnaXNfZ2xvYmFsX2FkbWluJwpwMjkKSTAxCnMu\n' WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:48 mail uwsgi:
Feb 13 17:15:48 mail uwsgi: mail.mydomain.com [pid: 7890|app: 1|req: 60/379] 10.10.10.10 () {56 vars in 1040 bytes} [Wed Feb 13 17:15:47 2019] GET /iredadmin/profile/user/general/test1@mydomain.com => generated 83760 bytes in 974 msecs (HTTP/1.1 200) 2 headers in 145 bytes (2 switches on core 0)
Feb 13 17:15:57 mail uwsgi: 0.0 (1): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi: 0)
Feb 13 17:15:57 mail uwsgi: 0.0 (2): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi: 0)
Feb 13 17:15:57 mail uwsgi: 0.0 (3): UPDATE sessions SET atime = '2019-02-13T17:15:57.068255' WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi: 0)
Feb 13 17:15:57 mail uwsgi: 127.0.0.1:7790 [pid: 7766|app: 0|req: 104/295] 127.0.0.1 () {32 vars in 640 bytes} [Wed Feb 13 17:15:57 2019] GET /api/subscriber/test1@mydomain.com/subscribed?query_all_lists=no&email_only=yes => generated 31 bytes in 1 msecs (HTTP/1.1 200) 1 headers in 51 bytes (2 switches on core 0)
Feb 13 17:15:57 mail journal: mlmmjadmin INFO [127.0.0.1] DD@mydomain.com, added subscribers without confirming: test1@mydomain.com.
Feb 13 17:15:57 mail uwsgi: 127.0.0.1:7790 [pid: 7766|app: 0|req: 105/296] 127.0.0.1 () {36 vars in 641 bytes} [Wed Feb 13 17:15:57 2019] POST /api/subscriber/test1@mydomain.com/subscribe => generated 18 bytes in 1 msecs (HTTP/1.1 200) 1 headers in 51 bytes (2 switches on core 0)
Feb 13 17:15:57 mail uwsgi: 0.0 (4): INSERT INTO log (username, domain, admin, ip, loglevel, timestamp, msg, event) VALUES ('test1@mydomain.com', 'mydomain.com', 'postmaster@mydomain.com', '10.10.10.10', 'info', '2019-02-13 09:15:57', 'Update user profile (general): test1@mydomain.com.', 'update')
Feb 13 17:15:57 mail uwsgi:
Feb 13 17:15:57 mail uwsgi: 0.0 (5): SELECT last_insert_id();
Feb 13 17:15:57 mail uwsgi: ;
Feb 13 17:15:57 mail uwsgi: 0.0 (6): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi: ;
Feb 13 17:15:57 mail uwsgi: 0.0 (7): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ3Bvc3RtYXN0ZXJAdGVjaGxpbnMuY29tJwpwMwpzUydsYW5n\nJwpwNApTJ2VuX1VTJwpwNQpzUydjc3JmX3Rva2VuJwpwNgpTJ3Eyc
.......
XN0ZXJAdGVj\naGxpbnMuY29tJwpwMjgKc1MnaXNfZ2xvYmFsX2FkbWluJwpwMjkKSTAxCnMu\n' WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi: ;
Feb 13 17:15:57 mail uwsgi: mail.mydomain.com [pid: 7890|app: 1|req: 61/380] 10.10.10.10 () {60 vars in 1182 bytes} [Wed Feb 13 17:15:57 2019] POST /iredadmin/profile/user/general/test1@mydomain.com => generated 0 bytes in 152 msecs (HTTP/1.1 303) 3 headers in 255 bytes (2 switches on core 0)
Feb 13 17:15:57 mail uwsgi: 0.0 (1): DELETE FROM sessions WHERE '2019-02-13T16:45:57.252873' > atime
Feb 13 17:15:57 mail uwsgi:
Feb 13 17:15:57 mail uwsgi: 0.0 (2): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi:
Feb 13 17:15:57 mail uwsgi: 0.0 (3): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi:
Feb 13 17:15:57 mail uwsgi: 0.0 (4): UPDATE sessions SET atime = '2019-02-13T17:15:57.254569' WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:57 mail uwsgi:
Feb 13 17:15:57 mail uwsgi: 0.0 (5): SELECT username,bytes,messages FROM used_quota WHERE username IN ('test1@mydomain.com')
Feb 13 17:15:57 mail uwsgi: om') 5U
Feb 13 17:15:57 mail uwsgi: 127.0.0.1:7790 [pid: 7766|app: 0|req: 106/297] 127.0.0.1 () {32 vars in 638 bytes} [Wed Feb 13 17:15:57 2019] GET /api/subscriber/test1@mydomain.com/subscribed?query_all_lists=no&email_only=no => generated 31 bytes in 0 msecs (HTTP/1.1 200) 1 headers in 51 bytes (2 switches on core 0)
Feb 13 17:15:58 mail uwsgi: 0.0 (6): SELECT * FROM sessions WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:58 mail uwsgi: )
Feb 13 17:15:58 mail uwsgi: 0.0 (7): UPDATE sessions SET data = 'KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ3Bvc3RtYXN0ZXJAdGVjaGxpbnMuY29tJwpwMwpzUydsYW5n\nJwpwNApTJ2VuX1VTJwpwNQpzUydjc3JmX3Rva2VuJwpwNgpTJ3Eyc
.........
XN0ZXJAdGVj\naGxpbnMuY29tJwpwMjgKc1MnaXNfZ2xvYmFsX2FkbWluJwpwMjkKSTAxCnMu\n' WHERE session_id='c47bb1bc2662ba2c3371f1a0070ddaf84add89d0'
Feb 13 17:15:58 mail uwsgi: )
Feb 13 17:15:58 mail uwsgi: mail.mydomain.com [pid: 7894|app: 1|req: 71/381] 10.10.10.10 () {56 vars in 1088 bytes} [Wed Feb 13 17:15:57 2019] GET /iredadmin/profile/user/general/test1@mydomain.com?msg=UPDATED => generated 84085 bytes in 964 msecs (HTTP/1.1 200) 2 headers in 145 bytes (2 switches on core 0)
Feb 13 17:16:01 mail systemd: Created slice User Slice of sogo.
Feb 13 17:16:01 mail systemd: Started Session 1796 of user sogo.

紅色字是我覺得有問題的地方 , 請問如何解決.
上了 https://pastebin.com/raw/nYL9D21z 的patch 也一樣.

Thanks.

3

Re: Member of Mailing Lists 未能正確顯示勾選的 Mailing Lists

Hi 版主:
此問題可關閉了,
我更新到mlmmjadmin-2.1 就ok了.

Thanks.