51

Re: iRedMail-0.9.4 has been released.

ZhangHuangbin wrote:
gaudec wrote:

May I assume that upgrade_iredmail.sh throwing this is safe to ignore?

This is "upgrade_iredadmin.sh", right? if yes, it's safe to ignore.

Yes, sorry for the typo. Thank you! smile

52

Re: iRedMail-0.9.4 has been released.

hi smile

How can i check if i have last roundcube release ?

53

Re: iRedMail-0.9.4 has been released.

Ange7 wrote:

hi smile

How can i check if i have last roundcube release ?

Maybe with

head /usr/share/apache2/roundcubemail/CHANGELOG

?

54 (edited by Ange7 2016-02-25 23:39:03)

Re: iRedMail-0.9.4 has been released.

gaudec wrote:
Ange7 wrote:

hi smile

How can i check if i have last roundcube release ?

Maybe with

head /usr/share/apache2/roundcubemail/CHANGELOG

?

It seems that i have the last release 1.1.4 since 0.9.3 iredmail

55

Re: iRedMail-0.9.4 has been released.

ZhangHuangbin wrote:
Chrissicom wrote:

change the permissions to what?

Does it work with commands below:

chown -R iredadmin:iredadmin /var/www/iredadmin
chmod -R 0555 /var/www/iredadmin/
chmod 0400 /var/www/iredadmin/settings.py
service uwsgi restart

Unfortuntely this did not help, actually these permissions we're present already so the commands didn't change anything.

56

Re: iRedMail-0.9.4 has been released.

Hello.
I think it's no iRedmail error, maybe Amavis.
I have "dkim=fail reason=bodyhash_mismatch" on receiver server side,  if I send message without body from iRedMail server (No matter, what client is.).
Maybe similar Subject:
http://dkim.org/specs/rfc4871-dkimbase.html#simple-body
Thank you.

57

Re: iRedMail-0.9.4 has been released.

Update to my issue "opening iRedAdmin only shows HTML Source code of the page".

When I run ./iredadmin.py locally on the server, the python script executes properly. When I access the page with lynx locally on the server with http://localhost:8080 I can use iRedAdmin "just fine" (as fine as it can be with a text only browser). So the iRedAdmin installation and python installation seems to be working properly.

The issue must lie with nginx and/or uwsgi then. Any suggestions?

58

Re: iRedMail-0.9.4 has been released.

Chrissicom wrote:

The issue must lie with nginx and/or uwsgi then. Any suggestions?

Please create a new forum topic for this issue.

Did you change any uwsgi config file?

----

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

buy me a cup of coffee

59

Re: iRedMail-0.9.4 has been released.

I have finally identified the issue, which was with the very strict and secure HTTP configuration for my nginx installation.

add_header X-Content-Type-Options nosniff;

Commenting out this line in the nginx.conf made iRedAdmin working. That means however that iRedAdmin is not compatible with configurations that prevent mime type based attacks and the iRedAdmin version that came with iRedMail 0.9.2 had no issues with this header.

60

Re: iRedMail-0.9.4 has been released.

Hi @Chrissicom,

It turns out it's a bug of iRedAdmin (both open source edition and iRedAdmin-Pro), you can fix it with steps below:

*) Open file "libs/iredbase.py" under iRedAdmin directory.
*) Find lines below:

def render_template(template_name, **context):
    ...

    return jinja_env.get_template(template_name).render(context)

*) Add a new line (web.header(...)):

def render_template(template_name, **context):
    ...

    web.header('Content-Type', 'text/html')
    return jinja_env.get_template(template_name).render(context)

*) Save your change.

Restarting Apache or uwsgi (if you're running Nginx) is required.

----

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

buy me a cup of coffee

61

Re: iRedMail-0.9.4 has been released.

I try to open the files from the archive iRedMail-0.9.4.tar.bz2 and many files have small size and content have "com.apple.quarantine q/0002;56c0554f;Safari.app" and so on. What do I do with them?

62

Re: iRedMail-0.9.4 has been released.

shevtcov wrote:

I try to open the files from the archive iRedMail-0.9.4.tar.bz2 and many files have small size and content have "com.apple.quarantine q/0002;56c0554f;Safari.app" and so on. What do I do with them?

It's safe to ignore them.

This is caused due to i packed iRedMail on Mac OS X, it always includes extra metadata in the tarball. I will pack iRedMail on Linux for future releases.

Sorry about this confusion.

----

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

buy me a cup of coffee

63

Re: iRedMail-0.9.4 has been released.

Dear ZhangHuangbin,
public days of the month we can expect a new version (0.9.5)?
Sorry for the question, if you don't want to meet the public, answer, please, to the PM.
Thank you!

64

Re: iRedMail-0.9.4 has been released.

I hope we can release it in middle April, or maybe May 2.

*) Ubuntu 16.04 LTS final release is scheduled to be announced on April 21st, 2016.
*) OpenBSD 5.9 will be available on May 1.

By the way, any features you're looking for in new iRedMail and/or iRedAdmin-Pro release?

----

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

buy me a cup of coffee

65

Re: iRedMail-0.9.4 has been released.

Upgraded to 0.9.4 but got a error iredapd.py not found.

66

Re: iRedMail-0.9.4 has been released.

enderr wrote:

Upgraded to 0.9.4 but got a error iredapd.py not found.

Please show us the original error message and how we can reproduce this issue.

----

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

buy me a cup of coffee

67

Re: iRedMail-0.9.4 has been released.

ZhangHuangbin wrote:
enderr wrote:

Upgraded to 0.9.4 but got a error iredapd.py not found.

Please show us the original error message and how we can reproduce this issue.

When called /root/iRedAPD-1.8.0/tools/upgrade_iredapd.sh i see a error at the bottom of not finding /opt/iredapd/iredapd.py

Tried to start it manually 'service iredapd start' and same error.
In /opt/iredapd links to /opt/dns.
Now I changed the symlink back to iRedAPD-1.7.0 .

From maillog:

Mar 29 16:37:50 mx postfix/smtps/smtpd[2298]: connect from unknown[192.168.1.27]
Mar 29 16:37:51 mx postfix/smtps/smtpd[2298]: warning: connect to 192.168.0.2:7777: Connection refused
Mar 29 16:37:51 mx postfix/smtps/smtpd[2298]: warning: problem talking to server 192.168.0.2:7777: Connection refused
Mar 29 16:37:52 mx postfix/smtps/smtpd[2298]: warning: connect to 192.168.0.2:7777: Connection refused
Mar 29 16:37:52 mx postfix/smtps/smtpd[2298]: warning: problem talking to server 192.168.0.2:7777: Connection refused
Mar 29 16:37:52 mx postfix/smtps/smtpd[2298]: NOQUEUE: reject: RCPT from unknown[192.168.1.27]: 451 4.3.5 <some_user@gmail.com>: Recipient address rejected: Server configuration problem; from=<another_user@domain.ltd> to=<some_user@gmail.com> proto=ESMTP helo=<[192.168.1.27]>

68

Re: iRedMail-0.9.4 has been released.

enderr wrote:

Mar 29 16:37:51 mx postfix/smtps/smtpd[2298]: warning: connect to 192.168.0.2:7777: Connection refused

iRedAPD was not running.

You should try to start iredapd service, if it doesn't work, please check terminal output and its log file /var/log/iredapd/iredapd.log. If you don't understand what the error message saying, please paste in forum.

----

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

buy me a cup of coffee

69

Re: iRedMail-0.9.4 has been released.

ZhangHuangbin wrote:
enderr wrote:

Mar 29 16:37:51 mx postfix/smtps/smtpd[2298]: warning: connect to 192.168.0.2:7777: Connection refused

iRedAPD was not running.

You should try to start iredapd service, if it doesn't work, please check terminal output and its log file /var/log/iredapd/iredapd.log. If you don't understand what the error message saying, please paste in forum.

As I write early:
Tried to start it manually 'service iredapd start' and same error, not finding /opt/iredapd/iredapd.py .
In /opt/iredapd links to /opt/dns.
Now I changed the symlink back to iRedAPD-1.7.0 .

70

Re: iRedMail-0.9.4 has been released.

enderr wrote:

In /opt/iredapd links to /opt/dns.

What's /opt/dns? iRedMail or iRedAPD don't have this directory at all.

----

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

buy me a cup of coffee

71

Re: iRedMail-0.9.4 has been released.

ZhangHuangbin wrote:
enderr wrote:

In /opt/iredapd links to /opt/dns.

What's /opt/dns? iRedMail or iRedAPD don't have this directory at all.

It was created after updating iRedAPD to 1.8.0

72

Re: iRedMail-0.9.4 has been released.

enderr wrote:

It was created after updating iRedAPD to 1.8.0

It's supposed to create directory /opt/iRedAPD-1.8.0, and /opt/iredapd is a symbol link to /opt/iRedAPD-1.8.0.

Please try this:

*) Backup /opt/iredapd/settings.py.
*) Create symbol link /opt/iredapd link to old iRedAPD release, e.g. /opt/iRedAPD-1.7.0.
*) Remove /opt/iRedAPD-1.8.0.
*) Download iRedAPD-1.8.0 again, extract it and run the script "upgrade_iredadmin.sh" to upgrade it.

This time, please pay close attention to the terminal output. Check whether it correctly created directory /opt/iRedAPD-1.8.0 and symbol link /opt/iredapd. If not, paste the output in forum.

----

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

buy me a cup of coffee

73

Re: iRedMail-0.9.4 has been released.

Please, when a new version (iRedMail 0.9.5) will be released?

74

Re: iRedMail-0.9.4 has been released.

kysil wrote:

Please, when a new version (iRedMail 0.9.5) will be released?

Which feature are you expecting in new iRedMail release?

0.9.5 is scheduled to be available in late April, maybe May 1.

----

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

buy me a cup of coffee

75

Re: iRedMail-0.9.4 has been released.

ZhangHuangbin wrote:

Which feature are you expecting in new iRedMail release?

0.9.5 is scheduled to be available in late April, maybe May 1.

Everything is wonderful and with the available functions. I just want to move from Apache to Nginx on clean server.
Thanks!