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

Urgent, get installer to re-apply configuration changes not skip them

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- 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? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I apologize for the urgent tag in the subject, this is a production server though and my email is down pending your response.

I installed with the wrong webserver, I'm not attempting to correct it, however the script is skipping the configurations at the end of installation, is there a flag I can pass that forces it to run through the configurations again? specifically the web server and any related configurations.

Everything is a fresh install except for a few days of usage under Nginx

All I need to do is reapply the configuration changes I made by selecting Apache instead of Nginx, there is no predefined configuration, I acknowledge that everything will be overwritten etc.

-Edit- an Uninstall parameter would also work


Dkim invalid public key: not available

$
0
0

======== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I noticed a problem today on my server, the output of  amavisd-new testkeys:

TESTING#1: dkim._domainkey.domain1.com    => invalid (public key: not available)
TESTING#2: dkim._domainkey.domain2.com    => invalid (public key: not available)

Two years ago I setup dkim for my  server and it worked.

Two month ago I  changed the full hostname for my server(in  /etc/host /etc/amavis/conf.d/50-user /etc/postfix/main.cf)  and setup some ssl. And no errors occurred. At that moment I did not tested the amavis keys.

I'm using bind for my dns and I regenerated those keys but they are still invalid.


dns records

; key#1, domain domain1.com, /var/lib/dkim/domain1.com.pem
dkim._domainkey.domain1.com.    3600 TXT (
  "v=DKIM1; p="
  "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbJBfaB4FeuCRDC0rvMxUOLYPW"
  "sK5m1DA0e6SzM9jVhCycsIBDgXHPjBKC+IWaZkFnH2GaxgFJ2VUaL4r5Ep1S/ses"
  "5vahGjUbsFmnT7bGdHx7crpdZx15PqSQHZL+tCkcjU+7PUrReCjyz+w9tukTVZdO"
  "hV32LjDcaKG1XQk8KwIDAQAB")




; key#2, domain domain2.com, /var/lib/dkim/domain2.com.pem
dkim._domainkey.domain2.com.    3600 TXT (
  "v=DKIM1; p="
  "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwtyoO5xDIXft/6uVux4dHpD4o"
  "2sxLG0/jZGEj1+gjQPMIGxO9pi0x7+c7ydEvxFM0NEjhMhfXYNMexk+xXvt9KkL7"
  "PrvsBAlL6jbCxvmHCFUPqV2cs5ClZla+NX6xB4dxymnf4jLnEABFft5SJPUUhNHD"
  "TB+6deiICNkFU7IYswIDAQAB")

List of all e-mail accounts in a domain via RESTAPI

$
0
0

Hello,


   Is there any way to get a list of all e-mail accounts in a domain via REST API?

   There is something like that for domains:
 
    curl -k -X GET -i -b cookie.txt -d "" https://<server>/iredadmin/api/domains

   But is there any for user accounts too?


Thank you!
Best regards,

Tom
--

Subdomain

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04.4 LTS (GNU/Linux 2.6.32-042stab127.2 x86_64)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, how can I set up to go from example.com/mail to mail.example.com for NGINX. I have searched the forum but didn't find exactly what I needed.

I saw on another post this link: https://www.nginx.com/resources/wiki/st … er_blocks/ but I don't know how to use it. Thank you.

I also saw a subdomain template in the roundcube folder, if that is usable, how do you use it?

Thanks.

Help me out please!

$
0
0

======== Required information ====
- iRedMail version (check /etc/iredmail-release):
Latest; 0.9.8
- Linux/BSD distribution name and version:
Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
MariaDB
- Web server (Apache or Nginx):
NGiNX
- Manage mail accounts with iRedAdmin-Pro?
Nope
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi there,
I am completely new to mailservers and setting them up, there fore I choose iredmail cause it looked so easy...

However after completing the install, and set the dns records it doesn't let me go to the admin nor the other pages for webmail and so on.

Can someone please help me out?
The end user e-mail should be something@easyvoiceonline.nl the mail server should be mail.easyvoicemail.nl etc. the systems ip is 185.95.31.30
All services seems to run fine.

Thanks a lot!

N.B.; I can set my e-mail client (Mac) using the IPadress And postmaster received the default send mails by iredmail.

Restrict "Any Authenticated User" sharing permissions in SOGo

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Debian 9.4 (stretch)
- 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.
====

The 0.9.8 update includes a great feature to limit the Global Address Book to the current domain. Thanks for that!

I was hoping that the update would separate the domains fully but when you "add subscription" in the addressbook, any user on any domain is searchable. Can this be limited to the current domain too?

Dovecot 2.3 FreeBSD

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
0.9.8 MARIADB edition
- Linux/BSD distribution name and version:
FreeBSD  11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: amd64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
MariaDB
- Web server (Apache or Nginx):
Nginx
- Manage mail accounts with iRedAdmin-Pro?
No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
First Stage:
Apr  3 20:18:49 mx01 dovecot: doveconf: Warning: Obsolete setting in /usr/local/etc/dovecot/dovecot.conf:43: ssl_protocols has been replaced by ssl_min_protocol
Apr  3 20:18:49 mx01 dovecot: doveconf: Error: Could not find a minimum ssl_min_protocol setting from ssl_protocols = !SSLv2 !SSLv3: Unrecognized protocol 'SSLv2'
Apr  3 20:18:49 mx01 dovecot: doveconf: Warning: Obsolete setting in /usr/local/etc/dovecot/dovecot.conf:55: ssl_dh_parameters_length is no longer needed
Second Stage:
Apr  3 20:25:07 mx01 dovecot: imap-login: Login: user=<postmaster@xxxxxx.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=3332, secured, session=<SzaagPdo8MN/AAAB>
Apr  3 20:25:07 mx01 dovecot: imap(postmaster@xxxxxx.com): Error: Plugin 'imap_stats' not found from directory /usr/local/lib/dovecot
Apr  3 20:27:38 mx01 dovecot: lda: Fatal: Plugin 'stats' not found from directory /usr/local/lib/dovecot

First issue:
1)Need to comment out ssl_protocols line
2) Optional add ssl_min_protocol = !TLSv1
3) need to provide dh.pem file ( in my case I added:  ssl_dh = </etc/ssl/dh.pem )
Second issue:
imap_stats and stats plugins not found because of deprecation in new version and needs to be changed in
/usr/local/etc/dovecot/dovecot.conf imap_stats to imap_old_stats and stats to old_stats

Links used for troubleshooting:
https://wiki2.dovecot.org/Upgrading/2.3

I believe you will fix this things asap. Thank you.

P.S Dovecot version: 2.3.1 (8e2f634)

Netdata

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- 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? Pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I have followed the steps to install Netdata. However, I'm getting a 404 Not Found when I try to access https://my-server/netdata/

From logs netdat error.log I see this:

2018-04-04 10:53:34: apps.plugin ERROR : MAIN : Cannot process /proc/14195/io (command 'postqueue') (errno 13, Permission denied)                                               │
2018-04-04 10:59:28: apps.plugin ERROR : MAIN : Cannot process /proc/14455/io (command 'postqueue') (errno 13, Permission denied)

Where else to look to debug this?


Authenticated client (Thunderbird) blocked by barracudacentral.org

$
0
0

Some of my client can't send emails from their homes. They use standard mail clients like outlook or Thunderbird. They are logged in and use TLS.
The use public internet providers so their IP are dynamic.
They can download emails with no problems (IMAP).

But when they want to send the email they receive Error 5.7.1 client blocked using b.barracudacentral.org like on screenshot attached. When they change the location (eg. they go to the office) it all works fine.

When I turn off the iRadAPD it works but obviously I receive tons of spam.

Shouldn't be logged in client allowed to send the email even when he/she happened to have blacklisted IP?
How to allow them to work without compromising server security?


==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MYSQL edition
- Linux/BSD distribution name and version: 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? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

Cannot start iRedAdminPro 2.9.0

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version:  FreeBSD
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache24
- Manage mail accounts with iRedAdmin-Pro? Yys
====

After upgrading I get these errors:

Traceback (most recent call last):
   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 239, in process
     return self.handle()
   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 230, in handle
     return self._delegate(fn, self.fvars, args)
   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 458, in _delegate
     mod = __import__(mod, None, None, [''])
   File "/usr/local/www/iredadmin/controllers/sql/basic.py", line 15, in <module>
     from libs.sqllib import utils as sql_lib_utils
   File "/usr/local/www/iredadmin/libs/sqllib/utils.py", line 11, in <module>
     from libs.sqllib import user as sql_lib_user
   File "/usr/local/www/iredadmin/libs/sqllib/user.py", line 17, in <module>
     from libs import mlmmj
   File "/usr/local/www/iredadmin/libs/mlmmj/__init__.py", line 12, in <module>
     api_headers = {settings.MLMMJADMIN_API_AUTH_HEADER: settings.mlmmjadmin_api_auth_token}
AttributeError: 'module' object has no attribute 'mlmmjadmin_api_auth_token'

What is wrong?

How to whitelist IP range

$
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?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

I would like to ask if how does whitelisting of IP range can be done. We have a salesforce account in our company which uses about 30 different IP's and are getting blocked.

Tried doing test email deliverability in Salesforce to a certain email, salesforce sends 30 emails to that user coming from 15 different IP's and all are blocked in the first attempt as can be seen in the logs.

Any idea how can this be done.

We are using 0.9.5-1

Thanks,
NNN

Cannot send mail with php mail using wordpress

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.8 MARIADB edition.
- 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
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Some additional info
PHP : php7.0-fpm

In php.ini I have:
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = "/usr/sbin/sendmail -t -i"

I am able to send an receive email with rounddcube.

When wordpress is trying to send an email via  wp_mail I get an error message:
The email could not be sent.
Possible reason: your host may have disabled the mail() function.

v0.9.8 upgrade / SOGo update v3.x > 4.x / service fails to start

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Centos 7.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

following your update docs to upgrade sogod from v3.x > 4.x, and now service fails to start. according to journalctl:

kernel: sogod[25074]: segfault at 7ffec6050c78 ip 00007f1b69c139cf sp 00007ffec6050c60 error 6 in libgnustep-base.so.1.24.9[7f1b69881000+4dc000]

also, not sure if this matters, but when running sogo's mysql db update script, it states that it will ask for your password twice, but it only did so once. probably nothing but wanted to mention it.

v0.9.8 upgrade / Unknown column 'local_part'

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

After my upgrade from 0.9.7 to 0.9.8 I receive the error below when adding a new domain user in iRedAdmin.

Error: (1054, "Unknown column 'local_part' in 'field list'")

The dropping of the column is in https://bitbucket.org/zhb/iredmail/raw/ … ail.mysql, but I can't find where the insert statement is to remove it.

SOLVED: Sogo mail filter rules not working (after Dovecot update)

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 MySQL
- Linux/BSD distribution name and version: FreeBSD 11.1-RELEASE-p9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi list,

yesterday I've upgraded some packages on my iRedMail system, one of them was Dovecot. See also https://forum.iredmail.org/topic14084-d … eebsd.html
This morning I found out that now also the Sogo mail filter rules are not working anymore. I've looked at the different log files and found the following log items which are worrying (from dovecot.log and dovecot-sieve.log):
Debug: acl vfile: file /var/vmail/vmail1/domain.com/l/i/s/mailbox-2017.08.31.15.14.43//Maildir/dovecot-acl not found
Error: sieve: Failed to initialize script execution: Invalid postmaster_address: invalid address `root' specified for the postmaster_address setting

I see a setting 'postmaster_address = root' in the 'protocol lda' section of the dovecot.conf. Is this setting wrong?

Where do I have to look to troubleshoot this further?

Thank you in advance.

With kind regards,
Lars Wittebrood


Login to Sogo Failing after restoring iRedMail to a new server

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Y
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Install a new server for iRedMail and migrated all settings and emails accounts to the new server as per documentatiion found at https://docs.iredmail.org/migrate.to.ne … rver.html.
All services are up and running on the new server except sogo where no user can login. If we create a new user, the new user also cannot login to the Sogo Interface.

Error in /var/log/sogo/sogo.log is:

Apr 05 06:29:59 sogod [5178]: <0x0x563435ba2d80[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Apr 05 06:29:59 sogod [5178]: <0x0x563435ba2d80[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
Apr 05 06:29:59 sogod [5178]: [ERROR] <0x0x563435bcf180[SQLSource]> could not run SQL 'c_uid = 'test@email.com'': <PostgreSQL72Exception: 0x563435bd3170> NAME:PostgreSQL72FatalError REASON:fatal pgsql error (channel=<0x0x563435898de0[PostgreSQL72Channel]: connection=<0x0x563435961e50[PGConnection]:  connection=0x0x563435854dc0>>): ERROR:  could not establish connection
DETAIL:  FATAL:  password authentication failed for user "vmail"
FATAL:  password authentication failed for user "vmail"


Apr 05 06:29:59 sogod [5178]: <0x0x563435bc7e30[SOGoDAVAuthenticator]> tried wrong password for user 'test@email.com'!
Apr 05 06:29:59 sogod [5178]: 13.89.226.135 "OPTIONS /SOGo/Microsoft-Server-ActiveSync?User=hq.cmt.mu%5Ctest%40hq.cmt.mu&DeviceId=2439037788409952&DeviceType=Outlook HTTP/1.1" 401 12/0 0.023 - - 492K


The password for the user test@email.com  is OK as login to web-mail with the same password is fine.

DKIM and SPF issues

$
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?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.8 MARIADB edition.
- 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
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I cant make DKIM and SPF to work for my test domain robotic-hair.com

amavisd-new testkeys
TESTING#1 robotic-hair.com: dkim._domainkey.robotic-hair.com => fail (bad RSA signature)

My DNS records are:

dkim._domainkey          IN TXT     "v=DKIM1;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDbCdym1UTEOADQ+bPHEypvP27RPJzcNEu+WxYBds7n3259xGxO294UKQ1iabHa/s/gttQ/SNeGWSpRhlX+Okb4Eemvuca8oSimb8Zrm0dVsuDeiEXmBAoirmSjRCjOWE4/XzdeigxjAJTnodNBusAqSM4xArOZvU/p7lwPteoOrwIDAQAB"
_dmarc                   IN TXT     "v=DMARC1; p=none; rua=mailto:postmaster@robotic-hair.com; ruf=mailto:postmaster@robotic-hair.com"
webserver                IN TXT     "v=spf1 a mx ip4:195.201.126.249 ~all"

I think I have everything right, but still no luck.
Additionally, http://dkimvalidator.com cannot detect my spf record. The error I get there is "No applicable sender policy available"

notify_quarantined_recipients.py error

$
0
0

======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8-Pro
- Linux/BSD distribution name and version: Ubuntu 16.04.4 LTS
- 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.
====

After the upgrade to 0.9.8 I am getting the below error from my cronjob.  Below is the output:

/usr/bin/python /opt/www/iredadmin/tools/notify_quarantined_recipients.py --force-all
* 11 users are willing to receive notification email.
Traceback (most recent call last):
  File "/opt/www/iredadmin/tools/notify_quarantined_recipients.py", line 339, in <module>
    mail_body = mail_body_template % {'quar_mail_info': quar_mail_info.encode('utf-8'),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 393: ordinal not in range(128)

This was working fine before the upgrade. Any ideas?
-Ron

Contacts don't sync and don't show up on Webbrowser

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.7
- 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? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== 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?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, the contacts don't sync anymore from my iOS device.

When I am opening the web interface with SOGo, then the contacts don't load but they constantly have a "loading bar" without any results.

See attached picture.

What could be going on?

Greetings, Chris

where is the SoGo folder listed on ssh?

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
Latest; 0.9.8
- Linux/BSD distribution name and version:
Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
MariaDB
- Web server (Apache or Nginx):
NGiNX
- Manage mail accounts with iRedAdmin-Pro?
Nope
====

Hi there, on round cube I set a custom logo wan't to do the same on SOGO but can't find the map using ssh..
Please tel me the location?

Viewing all 12102 articles
Browse latest View live


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