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

SSH doesn't seem to restart on boot

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Deployed with iRedMail Easy or the downloadable installer? No
- 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.
====

each time I restart my VPS, I'm locked out and ssh doesn't seem to be running (the hosting service 'fixes' it for me).
What can I set from my side to make sure ssh starts at each reboot?

Thanks.

andrew


ClamAV false positive, amavisd-release bugfix

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Centos 7.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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.
====
Hello,
Today we discovered that after last clamav update we have many false positive emails. Basicly all pdf atttachements where tagged as virus - Blocked INFECTED (Win.Exploit.CVE_2019_0903-6966169-0) {DiscardedInternal,Quarantined})

freshclam
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cld is up to date (version: 25462, sigs: 1582158, f-level: 63, builder: raynman)
bytecode.cld is up to date (version: 328, sigs: 94, f-level: 63, builder: neo)

This was first time we needed to restore mails from amavisd quarantine (mails are stored in sql database), we used amavisd-release tool whitch is included by default. Tool does't work out of box and needs several fixes. Please include them in future releases.
/usr/bin/amavisd-release
- $socketname = '/var/run/amavisd/amavisd.sock';
+ $socketname = '/var/run/amavisd/amavisd.socket';
- my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : '';
+ my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : 'Q';

Virtual email aliases with a traditional flat-file

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): v0.9.9
- Deployed with iRedMail Easy or the downloadable installer?  Installer
- Linux/BSD distribution name and version: FreeBSD
- 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, alot of the threads/posts about email aliases results in using either MySQL or LDAP backend to do it. If you are like me using the free version of iRedMail, this can be tricky. Adding an email alias or a bunch of them via SQL/LDAP can be a tedious thing. Luckily there is an alternate way using the old traditional method of adding virtual aliases.

Only thing you need is a to create a new virtual alias maps file and add in the virtual aliases in there. E.g:

INFO:
virtual domain = abc.com
virtual alias file = /usr/local/etc/postfix/yada_maps
yada_maps:
tom@abc.com tom@xyc.com
jane@abc.com jane@someemail.com

Then 'postmap yada_maps' so it creates the hash db file called 'yada_maps.db'

Next edit the main.cf file and look for this line:

virtual_alias_maps =
    proxy:mysql:/usr/local/etc/postfix/mysql/virtual_alias_maps.cf

Change it to look like this:
virtual_alias_maps =
    proxy:mysql:/usr/local/etc/postfix/mysql/virtual_alias_maps.cf,hash:/usr/local/etc/postfix/yada_maps

Then reload postfix with 'postfix reload'

Now you can test by sending an email from an external source and while doing it check the mail logs.

Good luck.
- Zod

roundcube gives me 502 Bad Gateway and can't log in SoGo

$
0
0

iRedMail  0.9.9 downloadable on Debian 9 with MariaDB and Nginx

1./mail/ gives me 502 Bad Gateway :
2019/05/27 21:17:29 [error] 1033#1033: *124 connect() failed (111: Connection refused) while connecting to upstream, client:1.1.1.1, server: _, request: "GET /mail/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999"
Everything else is working.

2. Can't log in to SOGo - Wrong username or password:

SOGoRootPage Login from '1.1.1.1' for user 'sogo_sieve_master@not-exist.com' might not have worked - password policy: 65535  grace: -1  expire: -1  bound: 0

roundcube gives me 502 Bad Gateway and can't login in SoGo

$
0
0

iRedMail  0.9.9 downloadable on Debian 9 with MariaDB and Nginx

1./mail/ gives me 502 Bad Gateway :
2019/05/27 21:17:29 [error] 1033#1033: *124 connect() failed (111: Connection refused) while connecting to upstream, client:1.1.1.1, server: _, request: "GET /mail/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999"
Everything else is working.

2. Can't log in to SOGo - Wrong username or password:

SOGoRootPage Login from '1.1.1.1' for user 'sogo_sieve_master@not-exist.com' might not have worked - password policy: 65535  grace: -1  expire: -1  bound: 0

failed to receive activation mail from Sina Weibo

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

I failed to receive activation mail from Sina Weibo. The postfix log is:

NOQUEUE: reject: RCPT from mail182-229.sinamail.sina.com.cn[202.106.182.229]: 450 4.7.1 <smtp-5-138.sinamail.sina.com.cn>: Helo command rejected: Host not found; from=<noreply@service.weibo.com> to=<123@abc.com> proto=ESMTP helo=<smtp-5-138.sinamail.sina.com.cn>

123@abc.com is a dummy address, the actual address is my own email address.

Could anyone help?

SMTP Auth rejected in maillist

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 OPENLDAP edition
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Debian Stretch
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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 have a strange issue with sending a mail to a maillist containing a person in another iredmail system. So I have two different iRedMail installations with different mail domains. Lets call them mail01.com and mail02.com.

On mail01.com, I have a maillist. Mainly containing users that has mail01.com addresses, and one that has mail02.com address. The strange part is that when I send a mail from a mail02.com address, to this maillist in mail01.com. I recieve an error for that particular user that has mail02.com address.

So you can send to that maillist from mail01.com without any errors. And you can also send to it from an third mailservice without any errors.

This is the error that I recieve:

This is the mail system at host mail.mail01.com.

I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can delete your own text from the attached returned message.

                   The mail system

<john.doe@mail02.com>: host mail.mail02.com[1.2.3.4]
    said: 554 5.7.1 <john.doe@mail02.com>: Recipient address
    rejected: SMTP AUTH is required for users under this sender domain (in
    reply to RCPT TO command)

I've tried to add the mail01.com mailserver to MYNETWORKS in /opt/iredapd/settings.py. But that didn't help. So any other ideas on how I can solve this issue?

PHPLDAPAdmin

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

This has probably been addressed before but I cannot get PHPLDAPAdmin to work.

At the moment, https://myserver/phpldapadmin brings up a 404 error. What do I need to do?


Rsyslog crash on weekly logrotate iRedMail 0.9.9 and Ubuntu 18.04

$
0
0

New install (not upgraded from 0.9.8)
Similar to https://forum.iredmail.org/topic15256-s … ian-9.html

Every week the files in /var/log are rotated and new empty files created, but the rsyslog service fails to start. 

root@moroni:/var/log# service rsyslog status
● rsyslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Sun 2019-05-26 06:25:27 UTC; 4 days ago
     Docs: man:rsyslogd(8)
           http://www.rsyslog.com/doc/
  Process: 12854 ExecStart=/usr/sbin/rsyslogd -n (code=exited, status=0/SUCCESS)
Main PID: 12854 (code=exited, status=0/SUCCESS)

May 26 06:25:26 moroni rsyslogd[12854]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.32.0]
May 26 06:25:26 moroni rsyslogd[12854]: rsyslogd's groupid changed to 106
May 26 06:25:26 moroni rsyslogd[12854]: rsyslogd's userid changed to 102
May 26 06:25:26 moroni rsyslogd[12854]:  [origin software="rsyslogd" swVersion="8.32.0" x-pid="12854" x-info="http://www.rsyslog.com"] start
May 26 06:25:27 moroni systemd[1]: Stopping System Logging Service...
May 26 06:25:27 moroni rsyslogd[12854]:  [origin software="rsyslogd" swVersion="8.32.0" x-pid="12854" x-info="http://www.rsyslog.com"] exiting on signal 15.
May 26 06:25:27 moroni systemd[1]: Stopped System Logging Service.
May 26 06:25:27 moroni systemd[1]: rsyslog.service: Start request repeated too quickly.
May 26 06:25:27 moroni systemd[1]: rsyslog.service: Failed with result 'start-limit-hit'.
May 26 06:25:27 moroni systemd[1]: Failed to start System Logging Service.

Manually executing service rsyslog start restarts it just fine.

Ideas?

domain relay to other server if user don`t exist on local server

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  v0.9.8
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- 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.
====

Hi,
i have a full working server with 5 domains. ONLY for ONE domain, when the email arrive, i need to check locally if destination user exists. If exists, deliver mail, if not exists, send to alternate host. can you guide me to make this changes?
Thanks

CardDav synchronization eror 501

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  iRedMail 0.9.9
- Deployed with iRedMail Easy or the downloadable installer?downloadable installer
- 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? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Error in CalDav Synchronizer only with the domain address book, personal address book works excellent.
CalDavSynchronizer.DataAccess.WebDavClientException: Response status code does not indicate success: '501' ('Request Failed').

The same error in linux mail client evolution. Add new address book:
type: CardDav
Name: Domail Address Book
URL:  https://mail.server.local/SOGo/dav/user … cts/users/

Error
"The address book backend servicing "Domain Address Book" encountered an error.
The reported error was "Failed to issue REPORT: HTTP error code 501 (Request Failed)"

Upgrade PHP version from 7.0 to 7.2

$
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? installer
- Linux/BSD distribution name and version: Debian 9.9
- 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.
====

Hello,
I've a VirtualBox virtual machine running Debian 9.9 I use as little mail server (configured from scratch with iRedMail) and web server too with a WordPress website. It works like a charme but, for WordPress development purposes, I need to upgrade the version of PHP from 7.0 (Debian 9 default) to 7.2. I installed 7.2 using Sury.org repository and now if I check with

php -v

it shows

PHP 7.2.19-1+0~20190531112637.22+stretch~1.gbp75765b (cli) (built: May 31 2019 11:26:38) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.19-1+0~20190531112637.22+stretch~1.gbp75765b, Copyright (c) 1999-2018, by Zend Technologies

but web server still using default 7.0.33 version.

I read HERE is suggested do not use third-party repository but do a manual upgrade: how manually upgrade from default 7.0 to 7.2?

Please, help, thank you!

Any ETA on IRedMail 1.0?

$
0
0

Hello ZhangHuangbin,

I want to reinstall my personnal mail server from scratch but since 0.99 is theorically close to 1.0 i'd like to avoid a big upgrade step from 0.99 to 1.0 if possible.

So do you have any ETA for the 1.0? Should i wait for it or should i go with the 0.99 and upgrade after if it won't be too hard to do?

If you have an unrealeased beta 1.0 version and looking for testers i can help as well smile

TIA and have a nice day smile

LDAP + mlmmj user unknown

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: FreeBSD 11.2-RELEASE
- Store mail accounts in which backend: LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
====

I recently did an upgrade to 0.9.9 manually (started on 0.9.7). I created mailing lists and ran into the same problem that is described in this other post.

The solution offered by Waschl works. I had to change my transport_maps_user.cf file to get mlmmj to work.

Should the default change? As installed, the ldap transport_maps_user.cf doesn't work, does it? Doesn't everyone need to make this change if they're using LDAP and mlmmj? Or is this an unusual situation where only some users need to make this change? I'm just thinking this needs better documentation or it needs to become the default. It's been a year since that forum post was made, but I did the 0.9.9 upgrade just last month and it was broken. Or maybe I've missed something somewhere?

Moving into another mail domain

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- 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.
====

What we have: iRedmail with AD integration. Mail domain is @first.com. User adress: user@first.com
What we want: we want to change mail domain, so user adress become user@second.com
and can we somehove save user's mailboxes?


Iredadmin internal server error

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- 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.
====

Hello,
I just finished installing redmail in a fresh Debian installation.  After finished I checked netdata and iredadmin and both worked fine.  Then I follow the instructions for using letsencrypt, after that the iredadmin was not available anymore.  Al services are running. I noticed that postgres also uses a cert but there is no mention of changing it in the tutorial.  Any ideas?  Thank you very much.

No access to iredadmin anymore

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? Downloaded from bitbucket
- Linux/BSD distribution name and version: CentOS Linux release 7.6.1810 (Core)
- 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,

I've a mailserver with 3 global admins on it.
All 3 admins are not able to login into iredadmin anymore.
I get the message that the credentials aren't correct, so I followed the procedure (https://docs.iredmail.org/reset.user.password.html) to reset the password of one of the accounts, but I still cannot login.
I've removed the ip from fail2ban, because after a while it got blocked by the many login attempts.
The user I resetted also has a mailaccount and also logging in into roundcube doesn't work.

Line from imap.log
Jun  4 09:35:14 systemname dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<email>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<fmVjhXqKPKJ/AAAB>

Could you advice me on where to look or what to do/test?

Whitelist incoming email addresses

$
0
0

I'm considering setting up a iRedMail server using a whitelist to restrict incoming email.

eg: andrew@mydomain.com (on my iRedMail server) has a whitelist of (allowed) emails: 'joe@newgmail.com,fred@newyahoo.com'
The requirement is any email not in that list will get returned to sender as not received,
so in above example only joe@newgmail.com and fred@newyahoo.com would be able to send email to andrew@mydomain.com (which is using iRedMail), any other email addresses would be rejected.

Assuming this is possible, can I set up individual whitelists for each users email address (on my iRedMail server) and is this data stored in a table that I as administrator of iRedMail can access/edit etc?

Could you confirm that this can be done?

Many thanks.

Removing an account with iredadmin doesn't delete sogo contacts

$
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? downloadable
- Linux/BSD distribution name and version: Centos 7.6
- 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.
====

Hey ZhangHuangbin,

Just wanted to let you know that I found out that when you delete an account through iredadmin it doesn't delete the associated contacts to this account in "sogo_quick_contact" table from sogo database.

So if you delete an account then create it back the old sogo contacts are still here ^^

You have to manually remove them from the above table to get a clean new account.

It's not a big deal but just wanted to let you know if you didn't already smile

Thanks and have a nice day.

Kev

securityheaders.com的Security header 檢查

$
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? download
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? 3.6(LDAP)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi 版主:
經由 securityheaders.com 網站做 header 檢查 出現3個不好訊息:
Missing Headers : Strict-Transport-Security 及 Feature-Policy
Warnings    : Content-Security-Policy

此網站檢查可靠性如何 ? 上面的訊息有需要排除? 如何排除 ?

在 /etc/nginx/conf-enabled/headers.conf  我試過修改及新增下面:
add_header Strict-Transport-Security includeSubdomains;

#add_header Content-Security-Policy "default-src https: data: 'unsafe-inline' 'unsafe-eval'";
add_header Content-Security-Policy "default-src https: data: ; script-src 'self'";

add_header Feature-Policy "accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment 'none'; usb 'none'";

經由上面修改 , 是可得到A+ ; 但我的phpLDAPadmin 在操作上"左半面無法正常顯示" , 但功能還可操作.
iRedAdmin-Pro 後端 ,roundcube 皆可正常操作.

感謝.

Viewing all 12123 articles
Browse latest View live


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