Quantcast
Channel: iRedMail — iRedMail Support
Viewing all 12112 articles
Browse latest View live

Roundcube password change form fails after upgrade to iRedMail 0.9.1

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PostgreSQL 9.3
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: (see below)
====

I installed Roundcube via iRedMail 0.9.0. Yesterday, in an effort to catch up on the iRedMail updates, I upgraded from Roundcube 1.0.4 to 1.1.5 using the Roundcube update script as instructed in the iRedMail upgrade instructions for 0.9.0 to 0.9.1. Unfortunately, it seems that the password plugin no longer works: a valid to change the password results in an error popup saying that the password could not be changed. Checking the logs, I get an error message such as this one:

May  4 15:08:20 mail roundcube: <2o9vkuia> DB Error: [7] ERROR:  syntax error at or near "{"#012LINE 1: ...dbname=\'vmail\'', E'UPDATE mailbox SET password='{SSHA512}+...#012                                                             ^ (SQL Query: SELECT * from dblink_exec(E'host=\'127.0.0.1\' user=\'roundcube\' password=\'Redacted\' dbname=\'vmail\'', E'UPDATE mailbox SET password='{SSHA512}+MO/redacted/iM=',passwordlastchange=NOW() WHERE username='redacted@example.com'')) in /usr/share/apache2/roundcubemail-1.0.4/program/lib/Roundcube/rcube_db.php on line 543 (POST /mail/?_task=settings&_action=plugin.password-save?_task=&_action=)

This is the first part of my plugins/password/config.inc.php file, excluding the later unused driver options:

<?php

// Password Plugin options
// -----------------------
// A driver to use for password change. Default: "sql".
// See README file for list of supported driver names.
$config['password_driver'] = "sql";

// Determine whether current password is required to change password.
// Default: false.
$config['password_confirm_current'] = true;

// Require the new password to be a certain length.
// set to blank to allow passwords of any length
$config['password_minimum_length'] = 8;

// Require the new password to contain a letter and punctuation character
// Change to false to remove this check.
$config['password_require_nonalpha'] = false;

// Enables logging of password changes into logs/password
$config['password_log'] = true;

// Comma-separated list of login exceptions for which password change
// will be not available (no Password tab in Settings)
$config['password_login_exceptions'] = true;

// Array of hosts that support password changing. Default is NULL.
// Listed hosts will feature a Password option in Settings; others will not.
// Example:
//$config['password_hosts'] = array('mail.example.com', 'mail2.example.org');
$config['password_hosts'] = null;

// Enables saving the new password even if it matches the old password. Useful
// for upgrading the stored passwords after the encryption scheme has changed.
$config['password_force_save'] = false;


// SQL Driver options
// ------------------
// PEAR database DSN for performing the query. By default
// Roundcube DB settings are used.
$config['password_db_dsn'] = "pgsql://roundcube:Redacted@127.0.0.1/vmail";

// The SQL query used to change the password.
// The query can contain the following macros that will be expanded as follows:
//      %p is replaced with the plaintext new password
//      %c is replaced with the crypt version of the new password, MD5 if available
//         otherwise DES. More hash function can be enabled using the password_crypt_hash 
//         configuration parameter.
//      %D is replaced with the dovecotpw-crypted version of the new password
//      %o is replaced with the password before the change
//      %n is replaced with the hashed version of the new password
//      %q is replaced with the hashed password before the change
//      %h is replaced with the imap host (from the session info)
//      %u is replaced with the username (from the session info)
//      %l is replaced with the local part of the username
//         (in case the username is an email address)
//      %d is replaced with the domain part of the username
//         (in case the username is an email address)
// Escaping of macros is handled by this module.
// Default: "SELECT update_passwd(%c, %u)"
$rcmail_config['password_query'] = "SELECT * from dblink_exec(E'host=\'127.0.0.1\' user=\'roundcube\' password=\'Redacted\' dbname=\'vmail\'', E'UPDATE mailbox SET password=%D,passwordlastchange=NOW() WHERE username=%u')";

// By default the crypt() function which is used to create the '%c' 
// parameter uses the md5 algorithm. To use different algorithms 
// you can choose between: des, md5, blowfish, sha256, sha512.
// Before using other hash functions than des or md5 please make sure
// your operating system supports the other hash functions.
$config['password_crypt_hash'] = 'md5';

// By default domains in variables are using unicode.
// Enable this option to use punycoded names
$config['password_idn_ascii'] = false;

// Path for dovecotpw (if not in $PATH)
$config['password_dovecotpw'] = "/usr/bin/doveadm pw";

// Dovecot method (dovecotpw -s 'method')
$config['password_dovecotpw_method'] = "SSHA512";

// Enables use of password with crypt method prefix in %D, e.g. {MD5}$1$LUiMYWqx$fEkg/ggr/L6Mb2X7be4i1/
$config['password_dovecotpw_with_method'] = true;

// Using a password hash for %n and %q variables.
// Determine which hashing algorithm should be used to generate
// the hashed new and current password for using them within the
// SQL query. Requires PHP's 'hash' extension.
$config['password_hash_algorithm'] = 'sha1';

// You can also decide whether the hash should be provided
// as hex string or in base64 encoded format.
$config['password_hash_base64'] = false;

// Iteration count parameter for Blowfish-based hashing algo.
// It must be between 4 and 31. Default: 12.
// Be aware, the higher the value, the longer it takes to generate the password hashes.
$config['password_blowfish_cost'] = 12;

I have not edited it by hand other than to change the value of $config['password_require_nonalpha'].

What should I do to fix this problem? Thank you!


User's login not working in SOGo

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? YES
- Related log if you're reporting an issue: sogo.log
====

Hi,

I have just completed my new fresh installation of new iRedMail server with Admin-Pro. Everything is working fine, however SOGO only accepts login of postmaster email ID and rejecting every other IDs by saying: Authentication Faild Wrong Username or Password.

Same ID passwords are working in roundcube but not in SOGo.

I also wanted to change default URL to SOGo and did change following line in sogo.conf

Default: ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0

Changed: ProxyPass /mail http://127.0.0.1:20000/SOGo retry=0

Default URL gets changed perfectly fine but it do not accepts any login. not even of postmaster.

Require help here.

Gmail couldn't verify that (domain) actually sent this message...

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.8.7
- Linux/BSD distribution name and version: Mint 17.3 (MATE 32 bit)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? nope
- Related log if you're reporting an issue:
====
When I send an email to a Gmail address, it always says "Gmail couldn't verify that (domain) actually sent this message (and not a spammer). (The email goes to the inbox, but it shows this message if you hover over the sender picture). Is there any way to fix this? I think this might have to do with DNS or Reverse DNS.

No Presto metadata available for iRedMail

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

cron.daily logrotate

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Debian 8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

good afternoon.
I received an email in my master has an error, follows:

/etc/cron.daily/logrotate:
error: dovecot:9 bad compress path $(which bzip2)
error: found error in /var/log/dovecot.log
/var/log/dovecot-sieve.log
/var/log/dovecot-lmtp.log , skipping
/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript spamassassin, action "reload" failed.

how to solve this?
thanks!

throttle is not working properly

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====


Our server has the latest updates.
throttle has been set to 7 emails per hour.
But someone was able to login and send 200 emails.

On the log, max_msgs (0/7) stayed in same and did not increased.

I have removed the email in this example log:

2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@gmail.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remaxultimate.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@topremax.ca, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remax.net, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remax.net, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@gmail.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd ->@remax.net, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd -> mireille@, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_msgs (0/7)
2016-05-05 09:47:13 INFO [127.0.0.1] RCPT, => jleh@domail.ltd -> mmurphy@.com, DUNNO
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> msg_size (217294/0)
2016-05-05 09:47:13 INFO [127.0.0.1] sender throttle, jleh@domail.ltd -> max_quota (0/0)
2016-05-05 09:47:13 INFO [127.0.0.1] END-OF-MESSAGE, => jleh@domail.ltd -> , DUNNO

Please advise!

Which port? amavis: Blocked MTA-BLOCKED {TempFailedInbound}

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- 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? no
- Related log if you're reporting an issue:

In mail.log

amavis[44101]: (44101-06) Blocked MTA-BLOCKED {TempFailedInbound}, [127.0.0.1] <www-data@domian.com> -> <root@domain.com>, Message-ID: <20160506082329
.2DE0580EB2@passat.lipetsk.ru>, mail_id: TyxUynCIDJCI, Hits: 0, size: 2000, 8625 ms                                                                                                       

====
Hi!


sudo netstat -plntu | grep 1002                                                                                                                                             

tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      44097/amavisd-new (
tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN      44097/amavisd-new (


In master.cf

# Amavisd integration.                                                                                                                                                                     
smtp-amavis unix -  -   -   -   2  smtp                                                                                                                                                   
    -o smtp_data_done_timeout=1200                                                                                                                                                         
    -o smtp_send_xforward_command=yes                                                                                                                                                     
    -o disable_dns_lookups=yes                                                                                                                                                             
    -o max_use=20                                                                                                                                                                         
                                                                                                                                                                                           
127.0.0.1:10025 inet n  -   -   -   -  smtpd                                                                                                                                               
    -o content_filter=                                                                                                                                                                     
...


Which port master.sf need to adjust? 10024 or 100026 or or any other ?

Let's Encrypt Auto Install Breaks iredadmin

$
0
0

==== Required information ====
- iRedMail version 0.9.5
- Linux/BSD distribution name and version: Ubuntu 14.04, Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Just noticed when you do an auto install of a Let's Encrypt certificate on iRedMail 0.9.5 Apache2 sever, you get a 404 error when trying to access the iredadmin panel.


Cannot get PHP to work

$
0
0

iRedMail version: 0.9.4
OS: Debian 4.8.4-1, Linux version 3.16.0-4-amd64 (2016-04-08)
Mail accounts storage: MySQL
Web Server: Nginx
No iRedMail Pro

I've just got a server from linode, I've update debian then went straight for the iredmail install, everything is fresh.

Now the problem is that I created a file called phptest.php in the /var/www directory, usually this works but for some reason it doesn't show the <?php phpinfo(); ?>.

Side note: I've chowned to root:www-data and chmoded 775 on phptest.php

where does the /iredadmin build from?

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Xubuntu 14.10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? nope
- Related log if you're reporting an issue:
====

where is the example.com/iredadmin directory built from?
i would like to move/rename it if possible, i tried copying and or renaming iredadmin in /opt/www/ but it just results in a 404 by the server. where is the config file that specifies /opt/www/iredadmin is: example.com/iredadmin

and is it possible to change it? or add in a redirect to a new url location

Merging email servers

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: FreeBSD 10.3-RELEASE
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache 2.4
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

iRedMail is working so well that I am considering migrating other domains on other email servers onto my iRedMail server.

I have a question about migrating messages. The other servers use Maildir format, same as iRedMail. Once I create the domains and users in iRedAdmin-Pro, can I just rsync users' messages into place on the iRedMail server, or should I use a tool like imapsync to make this work?

Thanks!

error in ldap

$
0
0

When I import a ldif in ldap, it starts importing but when it has passed several entries shows an LDAP error: error code 80 - entry index create failed and aborts. any suggestions. Thank you

unsecure smtp 25

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Centos 7.2
- 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)
- Related log if you're reporting an issue:
====
How can I enable a unsecure smtp 25 port? It's important for me. I do not want to reconfigure 100 user computers.

Rewrite mail header charset

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: CentOS 6.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: sieve.log
====

Hi,

Some mail clients add charset value to emails depending on the content but some charsets aren't supported by the SMTP smarthost i use.

Is there anyway to rewrite the "charset=cp932" to "charset=utf-8" on all outbound mail?

Thanks

[SOLVED] [BUG] Roundcube 500 Server error on Ubuntu 16.04 LTS

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Hello guys,

there is a bug in roundcube on ubuntu 16.04 LTS (PHP-7) when trying to read incoming emails. After the click on the email subject, a 500 error is returned back by the web server.

As you can read from the log (mail.log), the error is a missing PHP Class on rcube_washtml.php:

http://nopaste.linux-dev.org/?1098685


iRedmail custom install

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Hello

Firstly, thanks for the great software. Made my life whole much easier.
I have a question. Is it possible to change what iRedmail will install?
I mean, right now I manually disable Clamav, amavis, iredapd + other stuff after the installation.
Let's say that I want to disable amavis+clamav (they are resourcehungry). Where can I do that so when I install iRedmail, that it does not install those packages/configuration/cron/etc?

Thanks in advance
Maario

no incoming mail

$
0
0

==== Required information ====
- iRedMail version 0.9.5
- Linux ubuntu
- MysqlL):


Hi Guy

I wonder if any one can help me. I have buit a iredmail server using ubuntu 14.04LTS  the mail server is able to sent mail to anyone e.g.. gmail e.c.t.  however i am not receiving email. i have not added a PTR records for this server will this be the cause ?  this mail server had a public address and can be reached.

also i am having issue attaching mail clients like outlook or android phones to pop and imap mail from the server ?


Kind Regards

whitelisting IPs

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): RedMail    v0.9.2 and iRedAdmin-Pro    v2.4.0 (MySQL)
- Linux/BSD distribution name and version: Ubuntu
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====

This happens time to time. Our support system has more than 50 support email addresses configured which it logins to check every minute or so. So thats about 50 connections every minute, lets say.

For some reason IRedMail or some software that comes with it is blocking the support system server IP and refusing the connection. We are guessing its probably because we connect to it way too often. Can you please tell us how to whitelist IPs that we often connect through so it doesn't think we are trying to spam or connect multiple times.

Regards,
RJ

upgrade iRedmail from version 0.9.4 to 0.9.5

$
0
0

Refer to step to upgrade step below. I already download file into root and follow step but I not found upgrade_Iredadmin.sh in folder tools. How can I upgrade? Please correct me. Thank you.

# cd /root/
# tar xjf iRedAdmin-x.y.z.tar.bz2
# cd iRedAdmin-x.y.z/tools/
# bash upgrade_iredadmin.sh







==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

iRedAdmin: Password Generator use iPhone compatible charcaters

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Debian 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====

Hello Zhang,

we are using your passwort generator feature in iRedAdmin-Pro (i dunno if this is present in iRedAdmin as well).
We have often problems when using these passwords on Apple devices.
For example the iPhone is uable to use passwords with the ^ character etc.
You can enter the password but then you will be unable to connect to the server due to a bad password.
Probably fail2ban will finally block you.
Removing the special characters and replacing it with e.g. hash-sign #, it works immediately.

Is there an option to select "allowed" characters for the password generator?
Like "0-9,a-z,A-Z,#,-,*,+" etc?

Best regards,

Bernhard

Viewing all 12112 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>