Since you added it after, you may want to make sure that directory is owned by Apache instead of root.
Re: Access forbiden to iredadmin
Re: Access forbiden to iredadmin
Since you added it after, you may want to make sure that directory is owned by Apache instead of root.
Folder /var/www/admin" or "/opt/www/iredadmin/"?
I changed both ownership and it did not worked.
Nginx -How to redirect HTTP to another server IP and HTTPS to iRedmail
==== 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: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I just completed a working new iRedmail server and all working fine. I also got Let's encrypt working for Roundcube Webmail and IMAP/SMTP.
Before I had port 80 forwarded to another host IP and 433 to iRedmail server. But I had to forward port 80 to iRedmail server because Let's encrypt did not work without it.
Let's encrypt domain/host is set to mail.mydomain.com and it is working fine.
Now my question is that I want forward www.mydomain.com which comes to iRedmail to another server IP on the same LAN/IP subnet. How can I achieve this with the Nginx configurations?
I see currently Nginx forward all port 80 - HTTP traffic to HTTPS and I want forward HTTP to another server IP instead.
in 00-default.conf:
# HTTP
server {
# Listen on ipv4
listen 80;
# Listen on ipv6.
# Note: this setting listens on both ipv4 and ipv6 with Nginx release
# shipped in some Linux/BSD distributions.
#listen [::]:80;
server_name _;
# Redirect all insecure http:// requests to https://
return 301 https://$host$request_uri;
I want to change above to forward to another server IP.
Please help on this.
Mathew
Error while doing automated backup
==== 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: Ubuntu 18.04
- 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, I just installed iRedMail and so far I love it! I just found an error when cron is running the backups jobs, each one suceeds but throws an error about an table not found.
Any way to fix this? I assume it's because I haven't installed iredAdmin, since I wrote myself an CLI tool to administrate my server.
here are the logs:
5c8c58a1 The first database does not allow slapcat; using the first available one (2)
* Starting backup at 2019-03-16-03-00-01
* Backup directory: /var/vmail/backup/ldap/2019/03.
* Dumping LDAP data into file: /var/vmail/backup/ldap/2019/03/2019-03-16-03-00-01.ldif...
* Compressing LDIF file with command: 'bzip2 -9' ...
* [DONE]
* Removing plain LDIF file: /var/vmail/backup/ldap/2019/03/2019-03-16-03-00-01.ldif... [DONE]
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
* File size:
=================
4.0K /var/vmail/backup/ldap/2019/03/2019-03-16-03-00-01.ldif.bz2
=================
* [ OK ] Backup completes successfully.
sql backup:
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
==> Backup completed successfully.
==> Detailed log (/var/vmail/backup/mysql/2019/03/16/2019-03-16-03-30-01.log):
=========================
* Starting backup: 2019-03-16-03-30-01.
* Backup directory: /var/vmail/backup/mysql/2019/03/16.
* Backing up databases: mysql vmail roundcubemail amavisd iredadmin sogo iredapd.
* File size:
----
12K amavisd-2019-03-16-03-30-01.sql.bz2
4.0K iredadmin-2019-03-16-03-30-01.sql.bz2
8.0K iredapd-2019-03-16-03-30-01.sql.bz2
184K mysql-2019-03-16-03-30-01.sql.bz2
8.0K sogo-2019-03-16-03-30-01.sql.bz2
----
* Backup completed (Success? YES).
Sogo backup:
* Backup all users' data under /var/vmail/backup/sogo/2019/03/16
<0x0x5575d57e0a20[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0x5575d57e0a20[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
2019-03-16 04:01:01.772 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.787 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.790 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.792 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.803 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.813 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.821 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
2019-03-16 04:01:01.828 sogo-tool[29220:29220] Creating NGLdapConnection instance for bindDN 'cn=vmail,dc=v22018112979977771,dc=ultrasrv,dc=de'
* Compress backup files.
ERROR 1146 (42S02) at line 1: Table 'iredadmin.log' doesn't exist
ClamAV outdated
==== 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 installer
- Linux/BSD distribution name and version: Ubuntu 18.04
- 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.
====
Hey,
shouldn't be ClamAV automaticly updated or do I need to update it by myself?
See log below.
Thank you.
jeouz
Last Status:
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.100.2 Recommended version: 0.101.1
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
daily.cld is up to date (version: 25389, sigs: 1518483, f-level: 63, builder: raynman)
bytecode.cvd is up to date (version: 328, sigs: 94, f-level: 63, builder: neo)
Re: app.mydomain.com directly to sogo?
don't worry. The code works. Problem was elsewhere
Postfix doing something
===
- iRedMail version 0.9.9
- downloadable installer
- Centos 7
- MySQL
- Nginx
- No
- Ok
====
Hi guys !
Tell me what happens to the server there are only 10 mailboxes and are not yet used at the moment.
But some strange letters are processed.
And the letters inside are delivered for 2 hours or more.
for other domains for 2-3 hours too
Re: SoGo post install after setup
If you're running MySQL/MariaDB backend, table "vmail.mailbox" MUST be present, because it's used to store mail domains and accounts.
Re: Two iRedMail servers: They keep rejecting each other's email
You know the servers are legit, but the software programs don't. So we just add relevant configurations to tell them.
Re: Can't get to roundcube login after installing letsencrypt
I don't understand why there's such mess by following our tutorial
Our tutorial uses command `certbot certonly ...` to just get the cert without modify any Nginx config files.
- your /etc/nginx/nginx.conf is totally messed, this is not what iRedMail generated.
- Did you backup old nginx config files? any chance to restore them?
Re: MySQL SSL with letsencrypt certificates
Check permission of directories below:
- /etc/letsencrypt/live/
- /etc/letsencrypt/archive/
Can MySQL daemon user access them?
Re: Migrating to new server
1. Can you please confirm that the below rsync command should be run on new iRedmial server?
It doesn't hurt to run it for testing.
2. Also does this rsync preserve the timestamp?
Yes, with the "-a" option. (If you check rsync manual page: "-a" is same as "-rlptgoD", and "-p" preserves permissions, "-t" preserves timestamp).
Re: some email does not arrive
Instead of disable HELO checks, you'd better whitelist it like this:
- Prepend below in to head of file /etc/postfix/helo_access.pcre:
/^post\.out\.com$/ OK
- Reload postfix service.
Re: How to remove SOGo from URL
- It's still a good idea to post to mailing list to get help from other SOGo users.
- Let's back to your original request, what's the issue of keep /SOGo in url?
Re: mail for customlogostuff.com loops back to myself
In Postfix "main.cf", replace "mydomain = customlogostuff.com" by "mydomain = webmail.customlogostuff.com".
Re: Unable to send emails from google using SMTP
After researching why the smtp connection can be slow I've found another post in this forum talking about the DNS resolution in server (resolv.conf). I've checked that file and susprise!!, the file is wrong and points first to localhost (too bad for the cloud provider), so the dns resolution is slow and make the SMTP connection slow too.
It's very possible that your system was using the DNS service provided by systemd-resolved.
FYI: https://www.freedesktop.org/software/sy … rvice.html
Re: DKIM key
I am about to enter my dkim into my DNS server settings. Do I enter in all 4 of these rows of text? Or is it just the first row in quotes? Like this (taking out the quotes):
It's clearly mentioned in our tutorial:
https://docs.iredmail.org/setup.dns.htm … kim-record
Re: too many connections on a single imap accound
It's normal IMO because it's used by multiple MUAs.
Re: Access forbiden to iredadmin
What's the problem to use Nginx directly?
I am used to using apache.
Re: Installation failed with error
- Was this a fresh/clean server OS before installing iRedMail?
- You better try Ubuntu 18.04 LTS.