Quantcast
Channel: iRedMail — iRedAdmin-Pro Support
Viewing all 2924 articles
Browse latest View live

Feature request: dashboard domain filter

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0-9-9
- Deployed with iRedMail Easy or the downloadable installer? iredmail paid support install
- Linux/BSD distribution name and version: Ubuntu 16.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): 5.7.25-0ubuntu0.16.04.2
- Web server (Apache or Nginx): 2.4.18
- Manage mail accounts with iRedAdmin-Pro? Yes, MySQL
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

iredadmin/dashboard
Add dashboard search for part or full domains or usernames to show stats.

Supported searches:
domain: example.com
domain partial: example.
multiple domains: example.com sample.com
username: user1@domain.com
username partial: user1@
multiple username: website@example.com info@example.com
multiple username partials: website@ info@


Sending error fro outlook and evolution

$
0
0

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

We enabled the email services for our domain with by changing the MX record to iredmail server. Mails are  working fine with Sogo both incoming and outgoing. When we try to send mails with outlook or Evolution we are getting following error for  mails sent within our domain and also to external domains. Error occurs for all existing users .



Feb  4 14:48:58 mail postfix/submission/smtpd[3608]: connect from unknown[210.18.139.54]
Feb  4 14:48:59 mail postfix/submission/smtpd[3608]: Anonymous TLS connection established from unknown[210.18.139.54]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb  4 14:49:00 mail postfix/submission/smtpd[3608]: NOQUEUE: reject: RCPT from unknown[210.18.139.54]: 550 5.1.0 <user@itechservices.in>: Sender address rejected: User unknown in virtual mailbox table; from=<user@itechservices.in> to=<user1966@gmail.com> proto=ESMTP helo=<mail>
Feb  4 14:49:00 mail postfix/submission/smtpd[3608]: disconnect from unknown[210.18.139.54] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=6/7
Feb  4 14:49:00 mail postfix/submission/smtpd[3608]: connect from unknown[210.18.139.54]
Feb  4 14:49:01 mail postfix/submission/smtpd[3608]: Anonymous TLS connection established from unknown[210.18.139.54]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb  4 14:49:02 mail postfix/submission/smtpd[3608]: NOQUEUE: reject: RCPT from unknown[210.18.139.54]: 550 5.1.0 <user@itechservices.in>: Sender address rejected: User unknown in virtual mailbox table; from=<user@itechservices.in> to=<gd@itechservices.in> proto=ESMTP helo=<mail>
Feb  4 14:49:02 mail postfix/submission/smtpd[3608]: disconnect from unknown[210.18.139.54] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=7/8
Feb  4 14:49:17 mail postfix/submission/smtpd[3608]: connect from unknown[210.18.139.54]
Feb  4 14:49:18 mail postfix/submission/smtpd[3608]: Anonymous TLS connection established from unknown[210.18.139.54]: TLSv1 with cipher AES128-SHA (128/128 bits)
Feb  4 14:49:19 mail postfix/submission/smtpd[3608]: NOQUEUE: reject: RCPT from unknown[210.18.139.54]: 554 5.7.1 <user1@nbtechnology.in>: Recipient address rejected: Blacklisted; from=<user@itechservices.in> to=<user1@nbtechnology.in> proto=ESMTP helo=<GDPC>
Feb  4 14:49:22 mail postfix/submission/smtpd[3608]: disconnect from unknown[210.18.139.54] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=6/7
Feb  4 14:52:42 mail postfix/anvil[3610]: statistics: max connection rate 3/60s for (submission:210.18.139.54) at Feb  4 14:49:17
Feb  4 14:52:42 mail postfix/anvil[3610]: statistics: max connection count 1 for (submission:210.18.139.54) at Feb  4 14:48:58
Feb  4 14:52:42 mail postfix/anvil[3610]: statistics: max cache size 1 at Feb  4 14:48:58


And we have not blacklisted any email address but it says blacklisted by our domain.

Sending error from outlook and evolution

$
0
0

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

We enabled the email services for our domain with by changing the MX record to iredmail server. Mails are  working fine with Sogo both incoming and outgoing. When we try to send mails with outlook or Evolution we are getting following error for  mails sent within our domain and also to external domains. Error occurs for all existing users .



Feb  4 14:48:58 mail postfix/submission/smtpd[3608]: connect from unknown[210.18.139.54]
Feb  4 14:48:59 mail postfix/submission/smtpd[3608]: Anonymous TLS connection established from unknown[210.18.139.54]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb  4 14:49:00 mail postfix/submission/smtpd[3608]: NOQUEUE: reject: RCPT from unknown[210.18.139.54]: 550 5.1.0 <user@itechservices.in>: Sender address rejected: User unknown in virtual mailbox table; from=<user@itechservices.in> to=<user1966@gmail.com> proto=ESMTP helo=<mail>
Feb  4 14:49:00 mail postfix/submission/smtpd[3608]: disconnect from unknown[210.18.139.54] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=6/7
Feb  4 14:49:00 mail postfix/submission/smtpd[3608]: connect from unknown[210.18.139.54]
Feb  4 14:49:01 mail postfix/submission/smtpd[3608]: Anonymous TLS connection established from unknown[210.18.139.54]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb  4 14:49:02 mail postfix/submission/smtpd[3608]: NOQUEUE: reject: RCPT from unknown[210.18.139.54]: 550 5.1.0 <user@itechservices.in>: Sender address rejected: User unknown in virtual mailbox table; from=<user@itechservices.in> to=<gd@itechservices.in> proto=ESMTP helo=<mail>
Feb  4 14:49:02 mail postfix/submission/smtpd[3608]: disconnect from unknown[210.18.139.54] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=7/8
Feb  4 14:49:17 mail postfix/submission/smtpd[3608]: connect from unknown[210.18.139.54]
Feb  4 14:49:18 mail postfix/submission/smtpd[3608]: Anonymous TLS connection established from unknown[210.18.139.54]: TLSv1 with cipher AES128-SHA (128/128 bits)
Feb  4 14:49:19 mail postfix/submission/smtpd[3608]: NOQUEUE: reject: RCPT from unknown[210.18.139.54]: 554 5.7.1 <user1@nbtechnology.in>: Recipient address rejected: Blacklisted; from=<user@itechservices.in> to=<user1@nbtechnology.in> proto=ESMTP helo=<GDPC>
Feb  4 14:49:22 mail postfix/submission/smtpd[3608]: disconnect from unknown[210.18.139.54] ehlo=2 starttls=1 auth=1 mail=1 rcpt=0/1 quit=1 commands=6/7
Feb  4 14:52:42 mail postfix/anvil[3610]: statistics: max connection rate 3/60s for (submission:210.18.139.54) at Feb  4 14:49:17
Feb  4 14:52:42 mail postfix/anvil[3610]: statistics: max connection count 1 for (submission:210.18.139.54) at Feb  4 14:48:58
Feb  4 14:52:42 mail postfix/anvil[3610]: statistics: max cache size 1 at Feb  4 14:48:58


And we have not blacklisted any email address but it says blacklisted by our domain.

Fail to add new user after upgrade to the lastest version

$
0
0

==== 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 installer
- Linux/BSD distribution name and version: Centos7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? yes 3.3
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Error: UNDEFINED_TYPE({'info': 'mailboxFormat: attribute type undefined', 'desc': 'Undefined attribute type'},)

I fail to add a new user after upgrade to the latest iredmail 0.9.9 and iredadmin -pro-ldap 3.3 above is the error i get ,please assist.

Question about mlmmj

$
0
0

==== 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
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I have been messing around with mailing lists, and I think have the jist of most of it.

I have created a test mailing list, set a single user as the Owner/Moderator, and I can send without any problem.

A question:
Is there any way for the person who has been assigned as the Owner to manage the list. So far I can only see a way for the administrator to see or manage members of a list.

Letsencrypt with new iRed Pro installation - not working

$
0
0

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

I have been at a stand still because of the lets encrypt cert.  I can't get it to verify my system. 
I created a new installation with a different host/domain name, and it worked... but I need it to work for my main server.

I did 'yum install certbot' to make sure I wasn't using --nginx per the instructions:
https://docs.iredmail.org/letsencrypt.html

Here is what I keep getting and can't get past.  This is a brand new installation with no changes other than importing the databases that are required.

please help!



Waiting for verification...
Cleaning up challenges
Failed authorization procedure. mail.mydomain.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://mail.mydomain.com/.well-known/ac … _ho5EzrDw: "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>404 Not Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"

IMPORTANT NOTES:
- The following errors were reported by the server:

   Domain: mail.mydomain.com
   Type:   unauthorized
   Detail: Invalid response from
   http://mail.mydomain.com/.well-known/ac … _ho5EzrDw:
   "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML
   2.0//EN\">\n<html><head>\n<title>404 Not
   Found</title>\n</head><body>\n<h1>Not Found</h1>\n<p"

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.

Internal server error when editing user following upgrade

$
0
0

==== 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 installer
- Linux/BSD distribution name and version:  Debian 8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Can't find much interesting in error logs, other than this in syslog

Any suggestions?

Feb  6 17:40:11 hostname uwsgi: Traceback (most recent call last):#012 
File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in process#012    return self.handle()#012 
File "/usr/lib/python2.7/dist-packages/web/application.py", line 230, in handle#012    return self._delegate(fn, self.fvars, args)#012 
File "/usr/lib/python2.7/dist-packages/web/application.py", line 420, in _delegate#012    return handle_class(cls)#012 
File "/usr/lib/python2.7/dist-packages/web/application.py", line 396, in handle_class#012    return tocall(*args)#012 
File "/opt/www/iRedAdmin-Pro-LDAP-3.3/controllers/ldap/user.py", line 293, in GET#012   
_qr = mlmmj.get_subscribed_lists(mail=mail, query_all_lists=False)#012
File "/opt/www/iRedAdmin-Pro-LDAP-3.3/libs/mlmmj/__init__.py", line 338, in get_subscribed_lists#012   
r = requests.get(url, params=params, headers=api_headers, verify=_verify_ssl)#012 
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 70, in get#012   
return request('get', url, params=params, **kwargs)#012 
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 56, in request#012   
return session.request(method=method, url=url, **kwargs)#012 
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request#012    resp = self.send(prep, **send_kwargs)#012 
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 596, in send#012   
r = adapter.send(request, **kwargs)#012 
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send#012   
raise ConnectionError(e, request=request)#012
ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=7790): Max retries exceeded with url: /api/subscriber/bob@hope.com/subscribed?query_all_lists=no&email_only=no (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f038fa24750>: Failed to establish a new connection: [Errno 111] Connection refused',))
Feb  6 17:40:11 hostname uwsgi:
Feb  6 17:40:11 hostname uwsgi: domain [pid: 30430|app: 1|req: 74/94] remote host ip () {50 vars in 1104 bytes} [Wed Feb  6 17:40:11 2019] GET /iredadmin/profile/user/general/bob@hope.com => generated 21 bytes in 52 msecs (HTTP/1.1 500) 2 headers in 164 bytes (2 switches on core 0)

Limiting message_size WITHIN ONE DOMAIN

$
0
0

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

[root@irm ~]# cat /etc/postfix/main.cf | grep message_size
# Default message_size_limit.
message_size_limit = 125829120

[root@irm ~]# cat /opt/iredapd/settings.py | grep plugin
# Enabled plugins.
plugins = ["reject_null_sender", "reject_sender_login_mismatch", "throttle", "amavisd_wblist", "sql_alias_access_policy"]

- "Global" size limit set in postfix/main.cf works about fine
- size limit set "per domain" in iredadmin/throttle - work about fine, BUT
users still can send messages bigger, than the limit within one domain, and we don't wan this.

when johnny@domain.1 sends e-mail to billy@domain.2 , and domain2 is outside of our mail server - limit is working ok
when johnny@domain.1 sends e-mail to billy@domain.3 , and domain3 is on of our mail server, within local delivery - limit is working ok
but
when johnny@domain.1 sends e-mail to billy@domain.1 - then it is possible to send attachments bigger, than the message_size_limit

Is there a way, to limit the size of message sent to someone from the same domain?


Sogo email access error

$
0
0

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

I'm having trouble accessing emails via sogo. Attached is the error. Whenever I've tried to click on the email it shows "request failed"

Error 500 when accessing iredadmin

$
0
0

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

Suddenly without a warning our admin panel decided to quit. As far as I know there were no changes done. We restarted the following services:

service iredapd restart && service memcached restart && service uwsgi restart && service nginx restart

Logfiles


    Feb 10 12:45:13 pepper uwsgi: Traceback (most recent call last):#012  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process#012    return self.handle()#012  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle#012    return self._delegate(fn, self.fvars, args)#012  File "/usr/lib/python2.7/site-packages/web/application.py", line 416, in _delegate#012    mod = __import__(mod, None, None, [''])#012  File "/var/www/iRedAdmin-Pro-SQL-3.1/controllers/sql/basic.py", line 15, in <module>#012    from libs.sqllib import utils as sql_lib_utils#012  File "/var/www/iRedAdmin-Pro-SQL-3.1/libs/sqllib/utils.py", line 9, in <module>#012    from libs.sqllib import user as sql_lib_user#012  File "/var/www/iRedAdmin-Pro-SQL-3.1/libs/sqllib/user.py", line 18, in <module>#012    from libs import mlmmj#012  File "/var/www/iRedAdmin-Pro-SQL-3.1/libs/mlmmj/__init__.py", line 1, in <module>#012    qr = get_subscribed_lists(mail=subscriber, email_only=True)#012NameError: name 'get_subscribed_lists' is not defined
    Feb 10 12:45:13 pepper uwsgi: #002
    Feb 10 12:45:13 pepper uwsgi: pepper.mailknecht.net [pid: 1406|app: 1|req: 22/32] 88.152.92.69 () {52 vars in 856 bytes} [Sun Feb 10 12:45:13 2019] GET /iredadmin => generated 21 bytes in 30 msecs (HTTP/1.1 500) 2 headers in 165 bytes (2 switches on core 0)

________________________________

    88.152.92.69 - - [10/Feb/2019:11:32:59 +0100] "GET /iredadmin HTTP/1.1" 500 32 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15"
    88.152.92.69 - - [10/Feb/2019:11:33:00 +0100] "GET /iredadmin HTTP/1.1" 500 32 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15"


Any ideas?
TIA Jens

How to catch the delete user event?

$
0
0

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

I use the notes plugin ('https://plugins.roundcube.net/packages/ … itivenotes'). The plugin automatically creates a repository for each user in order to store notes there. How can I catch the mail of a remote user to write a script that will delete the storage of notes of this user?

email problem

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.6
- Linux/BSD distribution name and version: ubuntu 14.04.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MYSQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? v2.4.0 (MySQL)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

請問張SIR
有一家客戶無法寄信到我這 ,我在mail.log內有看到退信內容,內容如下:
Feb 11 17:37:22 mailsvr postfix/smtps/smtpd[22742]: disconnect from 85sky-tower.com[60.249.152.222]
Feb 11 17:38:50 mailsvr postfix/smtps/smtpd[24106]: connect from 85sky-tower.co [60.249.152.222]
Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: Anonymous TLS connection established from 85sky-tower.com[60.249.152.222]: TLSv1 with cipher AES128-SHA (128/128 bits)
Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: NOQUEUE: reject: RCPT from 85sky-tower.com[60.249.152.222]: 554 5.7.1 <85sky-tower.com[60.249.152.222]>: Client host rejected: Access denied; from=<Daniel_Wang@85sky-tower.com> to=<tracy_tsai@xxx.xxx.xxx> proto=ESMTP helo=<Notes.85Sky-tower.com>
Feb 11 17:38:51 mailsvr postfix/smtps/smtpd[24106]: disconnect from 85sky-tower.com[60.249.152.222]

請問我該如何調整讓客戶可以成功送達到我這??

Redapd Greylisting IPv6

$
0
0

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

Shortend and anonymized log entries:
Feb 12 07:40:43 tiberius postfix/smtpd[27470]: NOQUEUE: reject: RCPT from mail-wm1-x336.google.com[2a00:1450:4864:20::336]: 451 4.7.1 <mail@example.com>: Recipient address rejected: Intentional policy rejection, please try again later;
Feb 12 07:48:57 tiberius postfix/smtpd[30130]: NOQUEUE: reject: RCPT from mail-wm1-x32c.google.com[2a00:1450:4864:20::32c]: 451 4.7.1 <mail@example.com>: Recipient address rejected: Intentional policy rejection, please try again later;
Feb 12 08:08:42 tiberius postfix/smtpd[3843]: NOQUEUE: reject: RCPT from mail-wm1-x32a.google.com[2a00:1450:4864:20::32a]: 451 4.7.1 <mail@example.com>: Recipient address rejected: Intentional policy rejection, please try again later;

I asked this already in the past for policyd, cluebringer and iredapd. After using postgrey for some time I gave iredapd a try today, again. Greylisting for ipv6 addresses still has issues. I am not a python developer at all (i develop in php and perl) but i guess the issue stems from how ipv6 addresses are compared against the database entry. While you compare only the first two octets in case of ipv4 addresses it seems ipv6 addresses are compared as a whole, which will usually not work as you can see from the log above (intentionally truncated and anonymized).

Wouldn't it be better to expand the ipv6 address (python seems to have this built in) and than compare the first 4 octets? You could even introduce two new constant for greylisting: GREYLISTING_IP4_OCTETS and GREYLISTING_IP6_OCTETS to allow iredmail admins to decide themselves how strict to handle greylisting.

As for now iredapd does not work well with ipv6 greylisting if it comes to large providers like google. I am sorry to see ip6 handling is still an issue worldwide. Considering the fact that there are countries that already run out of ip4 space this is a shame. Can you please fix the ip6 greylisting because whitelisting of google and other larger providers is not an option.

Kind regards

Michael

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

$
0
0

==== 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.

Quarantine notify is not working

$
0
0

==== 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
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

This was mailed to us from our root account... something wrong with the quarantine notify script again:

Traceback (most recent call last):
  File "/opt/www/iredadmin/tools/notify_quarantined_recipients.py", line 300, in <module>
    time_tuple = time.strptime(time_with_tz, '%Y-%m-%d %H:%M:%S')
  File "/usr/lib/python2.7/_strptime.py", line 478, in _strptime_time
    return _strptime(data_string, format)[0]
  File "/usr/lib/python2.7/_strptime.py", line 329, in _strptime
    found = format_regex.match(data_string)
TypeError: expected string or buffer


Please help my server crash after few days!!

$
0
0

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

Hi All,

Please help me with this issue. My fresh installed server crash after running fewdays. I can't login into /iredadmin and gives me internal server error.

Here are the log outputs

root@nws:/var/log # tail maillog
Feb 14 13:19:43 nws postfix/pickup[49673]: warning: 440Kpl0gpXz2kbG: message has been queued for 1 days
Feb 14 13:19:43 nws postfix/pickup[49673]: 440Kpl0gpXz2kbG: uid=0 from=<root>
Feb 14 13:19:43 nws postfix/cleanup[49922]: warning: proxy:mysql:/usr/local/etc/postfix/mysql/sender_bcc_maps_user.cf lookup error for "root@nws

Gmail mail attachments

$
0
0

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

Hello there.

Attachments from  google mail service (gmail) to my server are shown in pairs. However, the file attachments from other (hotmail, yandex ..) mail services do not have this problem. I showed it in the pictures below.

Have you ever seen anything like that before?

internal server error

$
0
0

==== 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
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Just updated iRedAdminPro to 3.4, and I getting an internal server error when trying to access any account. From the nginx log:
GET /admin/profile/user/general/user@domain.com HTTP/1.1" 500 32 "https://cordelia.cyg.net/admin/search"

Looks like it has to do with mlmmjadmin

I also updated mlmmjadmin to 2.1. If it is started as a service, the error happens. If I run python mlmmjadmin.py from the CLI, it works.

IredAdmin-Pro jump upgrade

$
0
0

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

Jump upgrade available from IredAdmin-Pro 2.9.0 to 3.2.0,
or download and install all intermediate version (3.0 , 3.1, and the last 3.2)?

iRedMail update issue - Couldn't restart slapd

$
0
0

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

Hello all,

I was working on updating from iRedMail Pro 0.9.8 to 0.9.9 and after backing up the iRedmail Schema and updating the schema per the step-by-step update guide, when I tried to restart slapd it gives me this error:
Job for slapd.service failed because the control process exited with error code. See "systemctl status slapd.service" and "journalctl -xe" for details.

And when I run "systemctl status slapd.service"

Feb 20 06:39:26 mydomain-ired slapd[13502]: >>> dnNormalize: <cn=vmail,dc=mydomain,dc=com>
Feb 20 06:39:26 mydomain-ired slapd[13502]: <<< dnNormalize: <cn=vmail,dc=mydomain,dc=com>
Feb 20 06:39:26 mydomain-ired slapd[13502]: >>> dnNormalize: <cn=vmailadmin,dc=mydomain,dc=com>
Feb 20 06:39:26 mydomain-ired slapd[13502]: <<< dnNormalize: <cn=vmailadmin,dc=mydomain,dc=com>
Feb 20 06:39:26 mydomain-ired slapd[13502]: line 73 (access to attrs="objectclass,domainName,mtaTransport,enabledService,domainSenderBccAddress,domainRecipientBccAddress,domainBackupMX,domainMaxQuotaSize,domain
Feb 20 06:39:26 mydomain-ired slapd[13496]:    ...fail!
Feb 20 06:39:26 mydomain-ired systemd[1]: slapd.service: Control process exited, code=exited status=1
Feb 20 06:39:26 mydomain-ired systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Feb 20 06:39:26 mydomain-ired systemd[1]: slapd.service: Unit entered failed state.
Feb 20 06:39:26 mydomain-ired systemd[1]: slapd.service: Failed with result 'exit-code'.

and here is sldap.conf file

# Schemas.
include     /etc/ldap/schema/core.schema
include     /etc/ldap/schema/corba.schema
include     /etc/ldap/schema/cosine.schema
include     /etc/ldap/schema/inetorgperson.schema
include     /etc/ldap/schema/nis.schema
# Amavisd-new schema.
include     /etc/ldap/schema/amavis.schema
# iRedMail schema.
include     /etc/ldap/schema/iredmail.schema

# Where the pid file is put. The init.d script will not stop the
# server if you change this.
pidfile     /var/run/slapd/slapd.pid

# List of arguments that were passed to the server
argsfile    /var/run/slapd/slapd.args

modulepath  /usr/lib/ldap
moduleload  back_mdb

# Support password verification with SSHA512. Require OpenLDAP-2.4.32 or later.
moduleload  pw-sha2

# The syncprov overlay
#moduleload syncprov.la

# TLS files.
TLSCACertificateFile /etc/ssl/certs/mydomain.crt
TLSCertificateFile /etc/ssl/certs/mydomain.crt
TLSCertificateKeyFile /etc/ssl/private/privkey.pem

# Disallow bind as anonymous.
disallow    bind_anon

# Uncomment below line to allow binding as anonymous.
#allow bind_anon_cred

# Specify LDAP protocol version.
require     LDAPv3
#allow       bind_v2

# Log level.
#   -1:     enable all debugging
#    0:     no debugging
#   128:    access control list processing
#   256:    stats log connections/operations/results
loglevel    -1

# Access Control
# Allow users to change their own passwords and mail forwarding addresses.
access to attrs="userPassword,mailForwardingAddress,storageBaseDirectory,homeDirectory,mailMessageStore"
    by anonymous    auth
    by self         write
    by dn.exact="cn=vmail,dc=mydomain,dc=com"   read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    by users        none

# Allow to read others public info.
access to attrs="cn,sn,gn,givenName,telephoneNumber"
    by anonymous    auth
    by self         write
    by dn.exact="cn=vmail,dc=mydomain,dc=com"   read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    by users        read

# Domain attrs.
access to attrs="objectclass,domainName,mtaTransport,enabledService,domainSenderBccAddress,domainRecipientBccAddress,domainBackupMX,domainMaxQuotaSize,domainMaxUserNumber,domainPendingAliasName"
    by anonymous    auth
    by self         read
    by dn.exact="cn=vmail,dc=mydomain,dc=com"   read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    by users        read

access to attrs="domainAdmin,domainGlobalAdmin,domainSenderBccAddress,domainRecipientBccAddress"
    by anonymous    auth
    by self         read
    by dn.exact="cn=vmail,dc=mydomain,dc=com"   read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    by users        none

# User attrs.
access to attrs="domainStatus,employeeNumber,mail,accountStatus,userSenderBccAddress,userRecipientBccAddress,mailQuota,backupMailAddress,shadowAddress,memberOfGroup"
    by anonymous    auth
    by self         read
    by dn.exact="cn=vmail,dc=mydomain,dc=com"   read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    by users        read

#
# Set ACL for vmail/vmailadmin.
#
access to dn="cn=vmail,dc=mydomain,dc=com"
    by anonymous                    auth
    by self                         write
    by users                        none

access to dn="cn=vmailadmin,dc=mydomain,dc=com"
    by anonymous                    auth
    by self                         write
    by users                        none

#
# Allow users to access their own domain subtree.
# Allow domain admin to modify accounts under same domain.
#
access to dn.regex="domainName=([^,]+),o=domains,dc=mydomain,dc=com$"
    by anonymous                    auth
    by self                         write
    by dn.exact="cn=vmail,dc=mydomain,dc=com"   read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    by dn.regex="mail=[^,]+@$1,o=domainAdmins,dc=mydomain,dc=com$" write
    by dn.regex="mail=[^,]+@$1,ou=Users,domainName=$1,o=domains,dc=mydomain,dc=com$" read
    by users                        none

#
# Grant correct privileges to vmail/vmailadmin.
#
access to dn.subtree="o=domains,dc=mydomain,dc=com"
    by anonymous                    auth
    by self                         write
    by dn.exact="cn=vmail,dc=mydomain,dc=com"    read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    #by users                        none
    by users                 read

access to dn.subtree="o=domainAdmins,dc=mydomain,dc=com"
    by anonymous                    auth
    by self                         write
    by dn.exact="cn=vmail,dc=mydomain,dc=com"    read
    by dn.exact="cn=vmailadmin,dc=mydomain,dc=com"  write
    by users                        none

#
# Set permission for "cn=*,dc=mydomain,dc=com".
#
access to dn.regex="cn=[^,]+,dc=mydomain,dc=com"
    by anonymous                    auth
    by self                         write
    by users                        none

#
# Set default permission.
#
access to *
    by anonymous                    auth
    by self                         write
    by users                        read

#######################################################################
# Databases
#######################################################################
#database monitor
#access to *
#    by dn.exact="cn=Manager,dc=mydomain,dc=com"
#    by * none

# Database used to store mail accounts
database    mdb
suffix      dc=mydomain,dc=com
directory   /var/lib/ldap/mydomain.com

rootdn      cn=Manager,dc=mydomain,dc=com
rootpw      {SSHA}secret

# Specify the maximum number of entries to return from a search operation.
# Defaults to 500. Use `unlimited` to specify no limits.
sizelimit   10000

# Specify the size in entries of the in-memory entry cache maintained by the
# bdb or hdb backend database instance. Defaults to 1000 entries.
#cachesize   10000

# Specify the maximum size of the database in bytes for mdb backend database.
# A memory map of this size is allocated at startup time and the database will
# not be allowed to grow beyond this size. The default is 10485760 bytes
# (10 MB). This setting may be changed upward if the configured limit needs to
# be increased.
maxsize     2147483648

# This directive specifies how often to checkpoint the BDB transaction log.
# A checkpoint operation flushes the database buffers to disk and writes a
# checkpoint record in the log. The checkpoint will occur if either <kbyte>
# data has been written or <min> minutes have passed since the last checkpoint.
# Both arguments default to zero, in which case they are ignored. When the
# <min> argument is non-zero, an internal task will run every <min> minutes
# to perform the checkpoint. See the Berkeley DB reference guide for more
# details.
#
# OpenLDAP default is NO CHECKPOINTING.
#
# whenever 128kb data bytes written or 5 minutes has elapsed
checkpoint  128 5

# Set directory permission.
mode        0700

#
# Default indexes.
#
index objectclass,entryCSN,entryUUID                eq
index uidNumber,gidNumber,uid,memberUid,loginShell  eq,pres
index homeDirectory,mailMessageStore                eq,pres
index ou,cn,mail,surname,givenname,telephoneNumber,displayName  eq,pres,sub
index nisMapName,nisMapEntry                        eq,pres,sub
index shadowLastChange                              eq,pres

#
# Index for mail attrs.
#
# Domain object
index domainName,mtaTransport,accountStatus,enabledService,disabledService  eq,pres,sub
index domainAliasName    eq,pres,sub
index domainMaxUserNumber eq,pres
index domainAdmin,domainGlobalAdmin,domainBackupMX    eq,pres,sub
index domainSenderBccAddress,domainRecipientBccAddress  eq,pres,sub

# Group object
index accessPolicy,hasMember,listAllowedUser   eq,pres,sub

# User object
index mailForwardingAddress,shadowAddress   eq,pres,sub
index backupMailAddress,memberOfGroup   eq,pres,sub
index userRecipientBccAddress,userSenderBccAddress  eq,pres,sub
index member,uniqueMember eq,pres
index mailingListID eq

your help is highly appreciated

Viewing all 2924 articles
Browse latest View live