1

Topic: iredmail mailling list issue

We are using
iRedMail-0.6.0.tar.bz2 
iRedAdminPro-1.2.0
CentOS 5.3


We found there there is an issue of mailing list,

1. When creating Mail List and appli Mail Deliver Restriction.
All the members in the same mail list, no matter what ever rights granted/restricted (moderators or members) , they can sent the to the  email address (which they belong to). In other words, no restriction

2. Even the Mail List account has been deleted, user still can sent and delete the mail address created.

Please advise

2

Re: iredmail mailling list issue

Do you have iRedAPD installed?

3

Re: iredmail mailling list issue

ZhangHuangbin wrote:

Do you have iRedAPD installed?

Yes, I used iRedMail-0.6.0 it come with iRedAPD-1.3.0 right?

4

Re: iredmail mailling list issue

Can you please try to upgrade iRedAPD to 1.3.2?

5

Re: iredmail mailling list issue

Hi Huang
I've followed http://www.iredmail.org/iredapd_installation.html to upgrade to iRedAPD-1.3.1 . I've copied all 1.30 configuration into 1.3.1 and redo the symbolink.

I managed to iredapd but not iredapd-rr. I also noticed that the earlier version iredapd does not include iredapd-rr. Please find the error as following. I also notice the problem of mailing list still exist.

#/etc/init.d/iredapd-rr start
Starting iredapd ...
Traceback (most recent call last):
  File "/opt/iredapd/src/iredapd-rr.py", line 345, in ?
    main()
  File "/opt/iredapd/src/iredapd-rr.py", line 327, in main
    socketDaemon = apdSocket((listen_addr, listen_port))
  File "/opt/iredapd/src/iredapd-rr.py", line 100, in __init__
    self.bind(localaddr)
  File "/usr/lib/python2.4/asyncore.py", line 304, in bind
    return self.socket.bind(addr)
  File "<string>", line 1, in bind
socket.error: (98, 'Address already in use')

# netstat -an | grep 7777
tcp        0      0 127.0.0.1:7777              0.0.0.0:*                   LISTEN

# netstat -an | grep 7778

6

Re: iredmail mailling list issue

hantu wrote:

socket.error: (98, 'Address already in use')

Try it again:

#/etc/init.d/iredapd-rr restart

7

Re: iredmail mailling list issue

Same error, no luck

# /etc/init.d/iredapd-rr restart
iredapd is already stopped.
Starting iredapd ...
Traceback (most recent call last):
  File "/opt/iredapd/src/iredapd-rr.py", line 345, in ?
    main()
  File "/opt/iredapd/src/iredapd-rr.py", line 327, in main
    socketDaemon = apdSocket((listen_addr, listen_port))
  File "/opt/iredapd/src/iredapd-rr.py", line 100, in __init__
    self.bind(localaddr)
  File "/usr/lib/python2.4/asyncore.py", line 304, in bind
    return self.socket.bind(addr)
  File "<string>", line 1, in bind
socket.error: (98, 'Address already in use')

8

Re: iredmail mailling list issue

What's the port number you defined in settings.ini?

9 (edited by hantu 2010-08-03 10:50:03)

Re: iredmail mailling list issue

Hi Zhang,

My mistake, I managed to get the latest iRedAPD-1.3.1 running. However, there are no changes.

I setup another new unit and upgraded to iRedAPD-1.3.1, the problem also remains.

Test that I've done
1. Create a mailing list
2. Sent email to mailing list that I've created earlier. result: ok
3. remove the mailing list
4. sent email to mailing list that I've removed earlier. result: all members in list still can receive email'

any idea? or mistake that I've done?

10

Re: iredmail mailling list issue

* Can you please export LDIF data of this mail list? You can visit https://your_server/iredadmin/export/ldif/maillist/list@domain.ltd to export it.
* Can you set 'log_level  = debug' in iRedAPD config file, restart it, and paste log contents in /var/log/iredapd.log or /var/log/iredapd-rr.log here? Hide or remove value of 'userPassword' before posting.

11 (edited by grepmaster 2011-01-26 14:45:09)

Re: iredmail mailling list issue

i had the same problem but i never reinstall the whole thing

what i noticed was that a user is not removed from the list that the user had subscribed.

try searching "memberOfGroup" on openldap for that user or just

# ldapsearch -x -h 127.0.0.1 -D "cn=manager,dc=mydomain,dc=com" -W | grep deleted-list

deleted-list = name of your list that had been deleted but still can be sent to its member(s)