26

Re: iRedMail-0.9.6 has been released

nemp wrote:

After update to 0.9.6 , when user's send *.JPG in attach have sometime this messages.


Banned name: .image,.jpg,IMG_4902.JPG
Content type: Banned
Internal reference code for the message is 24946-04/QjKhcbyVOC6d
...

The message WAS NOT relayed to:
<some_local_user@****************>:
   554 5.7.0 Bounce, id=24946-04 - BANNED: .image,.jpg,IMG_4902.JPG

If you added

$banned_namepath_re = new_RE(
    [qr'T=(rar|arc|arj|zoo|gz|bz2)(,|\t)'xmi => 'DISCARD'],     # Compressed file types
...

and have a rar-, arc- or gz-archive containing a jpg image you get this message.

----

Get fast and professional support from iRedMail developers:

27

Re: iRedMail-0.9.6 has been released

ZhangHuangbin wrote:
James86 wrote:

Hey, I installed 0.9.6 today on Centos 7 but MySQL allows root user to login without a password. I'm not sure how to fix this. Does anyone know how?

We store MySQL root password in file /root/.my.cnf, that's why it doesn't require a password. This file is also used by backup script (/var/vmail/backup/backup_mysql.sh).

do we have to update the backup script to use this file?

28 (edited by Luke6283 2017-02-24 00:32:02)

Re: iRedMail-0.9.6 has been released

Luke6283 wrote:
ZhangHuangbin wrote:
James86 wrote:

Hey, I installed 0.9.6 today on Centos 7 but MySQL allows root user to login without a password. I'm not sure how to fix this. Does anyone know how?

We store MySQL root password in file /root/.my.cnf, that's why it doesn't require a password. This file is also used by backup script (/var/vmail/backup/backup_mysql.sh).

do we have to update the backup script to use this file?

I did try to update the script using the changes I found on bitbucket. but when i manually run the backupscript it still tells me the user or pass is incorrect in the backupscript.

29

Re: iRedMail-0.9.6 has been released

Luke6283 wrote:

do we have to update the backup script to use this file?

It's not necessary. But if you want, you can download the latest backup script from iRedMail repository:
https://bitbucket.org/zhb/iredmail/src/ … ail/tools/

----

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

buy me a cup of coffee

30

Re: iRedMail-0.9.6 has been released

ZhangHuangbin wrote:
Luke6283 wrote:

do we have to update the backup script to use this file?

It's not necessary. But if you want, you can download the latest backup script from iRedMail repository:
https://bitbucket.org/zhb/iredmail/src/ … ail/tools/

What permissions does the backup script need to have, copied to the server it had permissions for "my user" should I make it root or iredmail??

31

Re: iRedMail-0.9.6 has been released

Luke6283 wrote:
ZhangHuangbin wrote:
Luke6283 wrote:

do we have to update the backup script to use this file?

It's not necessary. But if you want, you can download the latest backup script from iRedMail repository:
https://bitbucket.org/zhb/iredmail/src/ … ail/tools/

What permissions does the backup script need to have, copied to the server it had permissions for "my user" should I make it root or iredmail??

Also per the instructions in the backup.sh I added "1   4   *   *   *  bash /var/vmail/backup/backup_mysql.sh" to crontab

should I remove the different looking one that was already in the crontab "30   3   *   *   *  /bin/bash /var/vmail/backup/backup_mysql.sh" ??

32

Re: iRedMail-0.9.6 has been released

Luke6283 wrote:

should I remove the different looking one that was already in the crontab "30   3   *   *   *  /bin/bash /var/vmail/backup/backup_mysql.sh" ??

Not necessary.
The purpose of this task is daily backup, you're free to pick up the preferred time to run this task. So "30 3 ..." (3:30AM) is ok.

----

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

buy me a cup of coffee

33

Re: iRedMail-0.9.6 has been released

Hello.
Fresh install 0.9.6 centos7.
Little bug in /etc/php-fpm.d/www.conf
php_value[session.save_path] = /var/lib/php/session ->
php_value[session.save_path] = /var/lib/php/sessions.
Or remove it totally.
Thank you.

34

Re: iRedMail-0.9.6 has been released

Hello. How can one install postfixadmin? There was a link in the wiki (http://iredmail.org/wiki/index.php?titl … QL.Backend) but now it's gone. Thank you.

35

Re: iRedMail-0.9.6 has been released

ilia wrote:

Little bug in /etc/php-fpm.d/www.conf
php_value[session.save_path] = /var/lib/php/session ->
php_value[session.save_path] = /var/lib/php/sessions.
Or remove it totally.

Why is it a bug? we created /var/lib/php/sessions with proper owner and permissions.
This directory is used to use same directory on all supported linux/bsd distributions.

----

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

buy me a cup of coffee

36

Re: iRedMail-0.9.6 has been released

ngeo.adrian wrote:

How can one install postfixadmin?

You have to do it yourself.
We have a lot SQL structure differences with PostfixAdmin, so it's not recommended to use it to manage iRedMail server.

----

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

buy me a cup of coffee

37

Re: iRedMail-0.9.6 has been released

ZhangHuangbin wrote:
ilia wrote:

Little bug in /etc/php-fpm.d/www.conf
php_value[session.save_path] = /var/lib/php/session ->
php_value[session.save_path] = /var/lib/php/sessions.
Or remove it totally.

Why is it a bug? we created /var/lib/php/sessions with proper owner and permissions.
This directory is used to use same directory on all supported linux/bsd distributions.

In my /etc/php-fpm.d/www.conf I had had "php_value[session.save_path] = /var/lib/php/session"
without trailing "s".

38

Re: iRedMail-0.9.6 has been released

ilia wrote:

Fresh install 0.9.6 centos7.
Little bug in /etc/php-fpm.d/www.conf
php_value[session.save_path] = /var/lib/php/session ->
php_value[session.save_path] = /var/lib/php/sessions.

Fixed moment ago:
https://bitbucket.org/zhb/iredmail/comm … 9416ca553b

Thanks for the feedback. smile

----

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

buy me a cup of coffee

39

Re: iRedMail-0.9.6 has been released

Upgrading from 0.9.5-1, few notes:
- in Apache2 mod_headers might need to be enabled (a2enmod headers) in order for RequestHeader unset Proxy early to work, it wasn't in my setup, which is why restarting Apache2 failed, should be added to upgrade guide
- http://www.iredmail.org/docs/upgrade.ir … in-postfix - 0.9.6 release actually contains incorrect line in corresponding file, also in my setup (initially 0.8.7) I don't have such line at all, maybe suggest to replace with file from newer release altogether?

40

Re: iRedMail-0.9.6 has been released

nazar-pc wrote:

Upgrading from 0.9.5-1, few notes:
- in Apache2 mod_headers might need to be enabled (a2enmod headers) in order for RequestHeader unset Proxy early to work, it wasn't in my setup, which is why restarting Apache2 failed, should be added to upgrade guide

Updated doc.

nazar-pc wrote:

- http://www.iredmail.org/docs/upgrade.ir … in-postfix - 0.9.6 release actually contains incorrect line in corresponding file, also in my setup (initially 0.8.7) I don't have such line at all, maybe suggest to replace with file from newer release altogether?

If no such file, please ignore it.

----

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

buy me a cup of coffee

41 (edited by ice8 2017-05-11 20:15:29)

Re: iRedMail-0.9.6 has been released

Just reinstalled 0.9.6 on Ubuntu 16.04.2. I can receive mails but not send using Thunderbird with same settings (Port 587 normal password STARTTLS). This is the message received:

Sending of the message failed.
An error occurred while sending mail: Unable to establish a secure link with Outgoing server (SMTP) vertechs-llc.com using STARTTLS since it doesn't advertise that feature. Switch off STARTTLS for that server or contact your service provider.

In roundcube, I get this message:
SMTP Error (454): Authentication failed.

Ideas?
********************
UPDATE/SOLVED: Discovered that I entered incorrect directory values while configuring postfix - /etc/ssl vs /etc/pki/tls

42

Re: iRedMail-0.9.6 has been released

There's a new version of roundcube (1.2.5) with a security patch. It was released already in April 2017.

43

Re: iRedMail-0.9.6 has been released

We're going to release iRedMail-0.9.7 soon.

----

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

buy me a cup of coffee