Quantcast
Channel: iRedMail
Viewing all 45875 articles
Browse latest View live

Re: Upgrade with remote MySQL?

$
0
0
ZhangHuangbin wrote:

You need this tutorial. Pay attention to argument "INITIALIZE_SQL_DATA".

Thank you very much. That was the option I was missing.

My last challenge is iredadmin. I have the open source version and when I go to the web page at https://server/iredadmin/ I just see "internal server error". I suspect it might be a python dependency (I didn't just run your script, I installed a lot of things like Python and PHP using FreeBSD packages instead of compiling).

Question: What's the easiest way to debug iredadmin with nginx?. If I run iredadmin.py I just see

http://0.0.0.0:8080/

I need to get iredadmin.py to try to do something so that I can get an error from it and debug further. If I run curl http://localhost:7791/, for example, I just see

curl: (52) Empty reply from server

How can I get some more diagnostic messages for iredadmin?

Thanks.
Paco


Re: Gmail error

$
0
0

Is this at all related to iRedmail?

Re: Iredapd problem after version upgrade from 2.2 to 2.3

$
0
0
ZhangHuangbin wrote:

Does your MySQL server require ssl connection?

SSL not in use.

>SHOW VARIABLES LIKE '%ssl%';
+---------------+-----------------+
| Variable_name | Value           |
+---------------+-----------------+
| have_openssl  | YES             |
| have_ssl      | YES             |
| ssl_ca        | ca.pem          |
| ssl_capath    |                 |
| ssl_cert      | server-cert.pem |
| ssl_cipher    |                 |
| ssl_crl       |                 |
| ssl_crlpath   |                 |
| ssl_key       | server-key.pem  |
+---------------+-----------------+
9 rows in set (0.00 sec)

>\s
......
Current user:        root@localhost
SSL:            Not in use
......

Thanks for a reply.

Re: Iredapd problem after version upgrade from 2.2 to 2.3

$
0
0
digitec wrote:

_mysql_exceptions.OperationalError: (2026, 'SSL connection error: error:00000001:lib(0):func(0):reason(1)')

This error means it's relevant to ssl or ssl cert.

- If this mysql server is used on only localhost, you can consider disable ssl cert in mysql config file.
- try to restart mysql service, check its log file immediately, make sure no warning/error/complain about ssl cert.

Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed

$
0
0

Try this: Append new settings below in /etc/dovecot/dovecot.conf, then restart dovecot service and try again.

service stats {
    unix_listener stats-reader {
        user = vmail
        group = vmail
        mode = 0660
    }

    unix_listener stats-writer {
        user = vmail
        group = vmail
        mode = 0660
    }
}

Re: Upgrade with remote MySQL?

$
0
0
pacohope wrote:

If I run curl http://localhost:7791/, for example, I just see

curl: (52) Empty reply from server

Port 7791 is uwsgi protocol, not http, you can access it with curl directly.

pacohope wrote:

when I go to the web page at https://server/iredadmin/ I just see "internal server error".

Check Nginx log file, also default syslog file (/var/log/messages, or /var/log/syslog).

Re: Reviving Email Problem in Replication

$
0
0
arshambh9 wrote:

i send email from mailserver 1 to mailserver 2 but i never ever recevied any email on mailserver 2 !!!

How did you send this email?

Re: iRedMail-0.9.9 has been released.

$
0
0
rain6966 wrote:

因在我的/etc/cron.daily/logrotate: 出現錯誤

什么错误?

另外,请不要在别人的 thread 里追问自己的问题。请自行新建一个 topic。


Re: Upgrade with remote MySQL?

$
0
0

So the error was (as usual) my own mistake. The iredadmin user could not authenticate to the MySQL server. The mistake was a problem with the password for the iredadmin user on my MySQL server and once I discovered that, I knew what to fix.

In case anyone finds this post and has a similar problem, here's what I did to get more diagnostic messages from iredadmin.

I ran sudo bash -x /usr/local/etc/rc.d/iredadmin start so that I could see what the correct uwsgi invocation command line was.

Then I invoked uwsgi by hand, changing the command line slightly, so that the logs would go to a file I could see:

sudo uwsgi --ini /usr/local/www/iredadmin/rc_scripts/uwsgi/freebsd.ini --pidfile /var/run/iredadmin/iredadmin.pid --daemonize /tmp/logfile

Then I requested the file using curl -k https://localhost/iredadmin/ to invoke a failure. Then I looked at the /tmp/logfile.

I could see:

File "/usr/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1045, "Access denied for user 'iredadmin'@'database-server' (using password: YES)")

Then I used the mysql client to verify that the password for iredadmin wasn't working. (Long story, some passwords got corrupted during a MySQL migration a few months ago). So when I went to the MySQL server and fixed the password for the iredadmin account, iredadmin started working on my new mail server.

iRedAPD-2.4 (a Postfix policy server) has been released

$
0
0

Dear all,

iRedAPD-2.4 (a Postfix policy server) has been released, it fixes one bug: it doesn't whitelist IP addresses listed in SPF DNS record.

All users are strongly encouraged to upgrade it as soon as possible. If you deployed iRedMail with iRedMail Easy platform, just login to iRedMail Easy (https://easy.iredmail.org/)and you will find a update is available, click the button to finish upgrade.

- Download it directly: https://dl.iredmail.org/yum/misc/iRedAPD-2.4.tar.bz2
- Upgrade tutorial: https://docs.iredmail.org/upgrade.iredapd.html

Re: Upgrade with remote MySQL?

Re: Error: net_connect_unix(/var/run/dovecot/stats-writer) failed

$
0
0
ZhangHuangbin wrote:

Try this: Append new settings below in /etc/dovecot/dovecot.conf, then restart dovecot service and try again.

service stats {
    unix_listener stats-reader {
        user = vmail
        group = vmail
        mode = 0660
    }

    unix_listener stats-writer {
        user = vmail
        group = vmail
        mode = 0660
    }
}

YES! Thank you!
That did the trick!

iRedAdmin-Pro-SQL-3.1 has been released

$
0
0

Dear all,

iRedAdmin-Pro-SQL-3.1 (iRedAdmin-Pro for MySQL, MariaDB and PostgreSQL backends) is now available for upgrading and purchasing.

How to download the latest iRedAdmin-Pro

iRedAdmin-Pro customers can get download link of this new release by following steps below:

  • Login to iRedAdmin-Pro as global admin

  • Click "License" on the top-right corner, it will show you basic license info and a "Download" button if new version is available for upgrading.

If above steps don't work for you, please send an email to support @ iredmail.org to get download link of the latest release.

Below are detailed changes since iRedAdmin-Pro-SQL-3.0:

Fixed issues
  • Incorrectly show featured relevant to Amavisd on domain profile page when it's not installed.

  • Not correctly parse quarantined email message.

  • Upgrade script 'tools/upgrade_iredadmin.sh' doesn't correct restart web service.

Updated translations
  • German (de_DE). Thanks Martin Hofheinz <info _at_ netzwerk-design _dot_ net>.

Help translate in this github repo: https://github.com/iredmail/iredadmin-pro-translation.

iRedAdmin-Pro-LDAP-3.3 has been released

$
0
0

Dear all,

iRedAdmin-Pro-LDAP-3.3 (iRedAdmin-Pro for OpenLDAP and OpenBSD ldapd(8) backends) is now available for upgrading and purchasing.

How to download the latest iRedAdmin-Pro

iRedAdmin-Pro customers can get download link of this new release by following steps below:

  • Login to iRedAdmin-Pro as global admin

  • Click "License" on the top-right corner, it will show you basic license info and a "Download" button if new version is available for upgrading.

If above steps don't work for you, please send an email to support @ iredmail.org to get download link of the latest release.

Below are detailed changes since iRedAdmin-Pro-LDAP-3.2:

Fixed issues
  • Incorrectly show featured relevant to Amavisd on domain profile page when it's not installed.

  • Not correctly update per-user maildir path. Thanks Rain <rain6966@gmail> for the report.

  • Incorrect link of mailing list profile page on search result page. Thanks Ketan Aagja <ketan _at_ bnsgroup.co.uk> for the feedback.

  • Not correctly parse quarantined email message.

  • Not correctly store external members of mailing list.

  • Can not empty per-domain BCC addresses. Thanks Rain <rain6966@gmail> for the report.

  • Upgrade script 'tools/upgrade_iredadmin.sh' doesn't correct restart web service.

Updated translations
  • German (de_DE). Thanks Martin Hofheinz <info _at_ netzwerk-design _dot_ net>.

Help translate in this github repo: https://github.com/iredmail/iredadmin-pro-translation.

Re: Reviving Email Problem in Replication

$
0
0
ZhangHuangbin wrote:
arshambh9 wrote:

i send email from mailserver 1 to mailserver 2 but i never ever recevied any email on mailserver 2 !!!

How did you send this email?

here is my senario:

i login to https://10.0.0.2/iredadmin and create user mail1@server.com
and i login to https://10.0.0.4/iredadmin and create user mail2@server.com
after that
i go to this url: https://10.0.0.2/mail    and login to mail2@server.com account
and i go to url: https://10.0.0.4/mail    and login to mail1@server.com account
after that
i sent test email from mail2@server.com to  mail1@server.com

but i didn`t received it

but if i send email from mail2@server.com to mail2@server.com

i received it

or if i send email from mail1@server.com to mail1@server.com

i received it

my backend is postgresql and i run Master-Master Replication with bucardo
if you see i create mail1@server.com from 10.0.0.2 and i login to https://10.0.0.4/mail
or i create mail2@server.com from 10.0.0.4 and i login to https://10.0.0.2/mail

thanks for your help


cant upgrade to 3.1

$
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? yes
- Linux/BSD distribution name and version: CentOS Linux 7.6.1810
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- 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.
====

getting "not found" message when clicking the send email link to send email for new version

Re: cant upgrade to 3.1

$
0
0

Sorry about this trouble. Sent download link moment ago, let me know if you didn't receive it.

Re: Reviving Email Problem in Replication

$
0
0

Check Postfix and GlusterFS log files on both servers.

Email sent from mail1 to mail2 on 10.0.0.2  should be delivered locally on 10.0.0.2, but glusterfs should replicate / sync the email to 10.0.0.4.

Re: Emails recieved and shown as delivered in log but not on server

$
0
0

After building a new server and installing the software from scratch i found missing emails, well it turns out the issue was actually one of the two mail clients that was receiving all the emails was somehow intercepting the mail and removing it from the server before the other email client could download them. as of now i don't know why or how the one client was doing this with out something in a log file but after removing that client from being able to connect to the server the issue went away.

Re: cant upgrade to 3.1

$
0
0

email received , thank you

ZhangHuangbin wrote:

Sorry about this trouble. Sent download link moment ago, let me know if you didn't receive it.

Viewing all 45875 articles
Browse latest View live




Latest Images