certificates in env file

This commit is contained in:
temasky
2020-08-04 11:09:55 +00:00
parent e8335908c9
commit 087165c979
8 changed files with 320 additions and 22 deletions
@@ -0,0 +1,199 @@
From: root@mail.recsds.spbsut.ru
To: postmaster@recsds.spbsut.ru
Date: Tue, 04 Aug 2020 11:06:24 +0000
Subject: Details of this iRedMail installation
#
# File generated by iRedMail (2020.08.04.11.04.59):
#
# Version: 1.3.1
# Project: https://www.iredmail.org/
#
# Community: https://forum.iredmail.org/
#
* Enabled services: rsyslog firewalld postfix slapd mysql nginx php7.2-fpm dovecot clamav-daemon amavis clamav-freshclam cron
SSL cert keys (size: 4096):
- /etc/ssl/certs/iRedMail.crt
- /etc/ssl/private/iRedMail.key
Mail Storage:
- Mailboxes: /var/vmail/vmail1
- Mailbox indexes:
- Global sieve filters: /var/vmail/sieve
- Backup scripts and backup copies: /var/vmail/backup
OpenLDAP:
* LDAP suffix: dc=testdomain,dc=ru
* LDAP root dn: cn=Manager,dc=testdomain,dc=ru, password: HdLhmRjj8pLEIsRCjZCj
* LDAP bind dn (read-only): cn=vmail,dc=testdomain,dc=ru, password: Ojb8f3i1szHlanhnLCMg
* LDAP admin dn (read-write): cn=vmailadmin,dc=testdomain,dc=ru, password: HPPHBNva3RU1PByQ4tLd
* LDAP base dn: o=domains,dc=testdomain,dc=ru
* LDAP admin base dn: o=domainAdmins,dc=testdomain,dc=ru
* Configuration files:
- /etc/ldap
- /etc/ldap/slapd.conf
- /etc/ldap/ldap.conf
- /etc/ldap/schema/iredmail.schema
* Log file related:
- /etc/rsyslog.d/iredmail.conf
- /var/log/openldap/openldap.log
- /etc/logrotate.d/openldap
* Data dir and files:
- /var/lib/ldap
- /var/lib/ldap/testdomain.ru
- /var/lib/ldap/testdomain.ru/DB_CONFIG (available if backend is bdb or hdb)
* RC script:
- /etc/init.d/slapd
* See also:
- /iredmail/runtime/ldap_init.ldif
Backup LDAP data:
* Script: /var/vmail/backup/backup_openldap.sh
* See also:
# crontab -l -u root
MySQL:
* Root user: root, Password: "123qweASD" (without quotes)
* Bind account (read-only):
- Username: vmail, Password: XgF6qhMP2LeoFVgVxn1C
* Vmail admin account (read-write):
- Username: vmailadmin, Password: RoYa4vpTg9LGc88IK8h1
* Config file: /etc/mysql/my.cnf
* RC script: /etc/init.d/mysql
Backup MySQL database:
* Script: /var/vmail/backup/backup_mysql.sh
* See also:
# crontab -l -u root
Postfix:
* Configuration files:
- /etc/postfix
- /etc/postfix/aliases
- /etc/postfix/main.cf
- /etc/postfix/master.cf
* SQL/LDAP lookup config files:
- /etc/postfix/ldap
Dovecot:
* Configuration files:
- /etc/dovecot/dovecot.conf
- /etc/dovecot/dovecot-ldap.conf (For OpenLDAP backend)
- /etc/dovecot/dovecot-mysql.conf (For MySQL backend)
- /etc/dovecot/dovecot-pgsql.conf (For PostgreSQL backend)
- /etc/dovecot/dovecot-used-quota.conf (For real-time quota usage)
- /etc/dovecot/dovecot-share-folder.conf (For IMAP sharing folder)
* Syslog config file:
- /etc/rsyslog.d/1-iredmail-dovecot.conf (present if rsyslog >= 8.x)
* RC script: /etc/init.d/dovecot
* Log files:
- /var/log/dovecot/dovecot.log
- /var/log/dovecot/sieve.log
- /var/log/dovecot/lmtp.log
- /var/log/dovecot/lda.log (present if rsyslog >= 8.x)
- /var/log/dovecot/imap.log (present if rsyslog >= 8.x)
- /var/log/dovecot/pop3.log (present if rsyslog >= 8.x)
- /var/log/dovecot/sieve.log (present if rsyslog >= 8.x)
* See also:
- /var/vmail/sieve/dovecot.sieve
- Logrotate config file: /etc/logrotate.d/dovecot
Nginx:
* Configuration files:
- /etc/nginx/nginx.conf
- /etc/nginx/sites-available/00-default.conf
- /etc/nginx/sites-available/00-default-ssl.conf
* Directories:
- /etc/nginx
- /var/www/html
* See also:
- /var/www/html/index.html
php-fpm:
* Configuration files: /etc/php/7.2/fpm/pool.d/www.conf
PHP:
* PHP config file for Nginx:
* Disabled functions: posix_uname,eval,pcntl_wexitstatus,posix_getpwuid,xmlrpc_entity_decode,pcntl_wifstopped,pcntl_wifexited,pcntl_wifsignaled,phpAds_XmlRpc,pcntl_strerror,ftp_exec,pcntl_wtermsig,mysql_pconnect,proc_nice,pcntl_sigtimedwait,posix_kill,pcntl_sigprocmask,fput,phpinfo,system,phpAds_remoteInfo,ftp_login,inject_code,posix_mkfifo,highlight_file,escapeshellcmd,show_source,pcntl_wifcontinued,fp,pcntl_alarm,pcntl_wait,ini_alter,posix_setpgid,parse_ini_file,ftp_raw,pcntl_waitpid,pcntl_getpriority,ftp_connect,pcntl_signal_dispatch,pcntl_wstopsig,ini_restore,ftp_put,passthru,proc_terminate,posix_setsid,pcntl_signal,pcntl_setpriority,phpAds_xmlrpcEncode,pcntl_exec,ftp_nb_fput,ftp_get,phpAds_xmlrpcDecode,pcntl_sigwaitinfo,shell_exec,pcntl_get_last_error,ftp_rawlist,pcntl_fork,posix_setuid
ClamAV:
* Configuration files:
- /etc/clamav/clamd.conf
- /etc/clamav/freshclam.conf
- /etc/logrotate.d/clamav
* RC scripts:
+ /etc/init.d/clamav-daemon
+ /etc/init.d/clamav-freshclam
Amavisd-new:
* Configuration files:
- /etc/amavis/conf.d/50-user
- /etc/postfix/master.cf
- /etc/postfix/main.cf
* RC script:
- /etc/init.d/amavis
* SQL Database:
- Database name: amavisd
- Database user: amavisd
- Database password: C2Q3WQjtNiiLvWLawfvs
DNS record for DKIM support:
; key#1 2048 bits, i=dkim, d=recsds.spbsut.ru, /var/lib/dkim/recsds.spbsut.ru.pem
dkim._domainkey.recsds.spbsut.ru. 3600 TXT (
"v=DKIM1; p="
"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2/9AqwUiK7AodniG2FT7"
"CRKzgdzdqdS9Gk+WueIB3lEybWSTvmOHkycZ0gyYR9SS6e60UkzCKlgxAwXik6tz"
"tb3GzccWJvyNzOZb4v5Vv7epJUHqi5KqWDt4WuObXY4R6xtiWy0xQkI+dBIa1V/s"
"Tl9Ed6aiZw+HMIWXaf1Tt1nZRnlEQp8E7DLo+6cLB69ouA0eHr1bEKGFNqxq4N/6"
"zAUFUgBmndQ1ogVw+hvC6kf7acqfc1KcMlXXUggIuKjnaCQbutAtFE5VpSWKYwgK"
"XyLsC9x8vXZfDSisRAOWGhgJBR62N8A2pMiwlyGISJHBLj7xUH4cVEgoPNe6HRx+"
"pQIDAQAB")
SpamAssassin:
* Configuration files and rules:
- /etc/mail/spamassassin
- /etc/mail/spamassassin/local.cf
iRedAPD - Postfix Policy Server:
* Version: 4.3
* Listen address: 127.0.0.1, port: 7777
* SQL database account:
- Database name: iredapd
- Username: iredapd
- Password: 68CYQo5CS8tjn7IbiGhK
* Configuration file:
- /opt/iredapd/settings.py
* Related files:
- /opt/iRedAPD-4.3
- /opt/iredapd (symbol link to /opt/iRedAPD-4.3
iRedAdmin - official web-based admin panel:
* Version: 1.0
* Root directory: /opt/www/iRedAdmin-1.0
* Config file: /opt/www/iRedAdmin-1.0/settings.py
* Web access:
- URL: https://mail.recsds.spbsut.ru/iredadmin/
- Username: postmaster@recsds.spbsut.ru
- Password: CAQ7s4JY0dTMPyETe9R9
* SQL database:
- Database name: iredadmin
- Username: iredadmin
- Password: kK1di6Vb9XOIObXpYrQ6
Roundcube webmail: /opt/www/roundcubemail-1.4.7
* Config file: /opt/www/roundcubemail-1.4.7/config
* Web access:
- URL: http://mail.recsds.spbsut.ru/mail/ (will be redirected to https:// site)
- URL: https://mail.recsds.spbsut.ru/mail/ (secure connection)
- Username: postmaster@recsds.spbsut.ru
- Password: CAQ7s4JY0dTMPyETe9R9
* SQL database account:
- Database name: roundcubemail
- Username: roundcube
- Password: 6x2gefRBWhcrMu0RJHmw
* Cron job:
- Command: "crontab -l -u root"
@@ -0,0 +1,10 @@
From: root@mail.recsds.spbsut.ru
To: postmaster@recsds.spbsut.ru
Date: Tue, 04 Aug 2020 11:06:24 +0000
Subject: Useful resources for iRedMail administrator
* iRedMail web site: https://www.iredmail.org/
* Documentations: https://docs.iredmail.org/
* Support Forum: https://forum.iredmail.org/
* iRedMail upgrade tutorials: https://docs.iredmail.org/iredmail.releases.html
* iRedAdmin upgrade tutorials: https://docs.iredmail.org/migrate.or.upgrade.iredadmin.html
@@ -0,0 +1,15 @@
From: root@mail.recsds.spbsut.ru
To: postmaster@recsds.spbsut.ru
Date: Tue, 04 Aug 2020 11:06:24 +0000
Subject: How to configure your mail client applications (MUA)
* POP3 service: port 110 over STARTTLS (recommended), or port 995 with SSL.
* IMAP service: port 143 over STARTTLS (recommended), or port 993 with SSL.
* SMTP service: port 587 over STARTTLS.
If you need to support old mail clients with SMTP over SSL (port 465),
please check our tutorial: https://docs.iredmail.org/enable.smtps.html
* CalDAV and CardDAV server addresses: https://<server>/SOGo/dav/<full email address>
For more details, please check detailed documentations:
https://docs.iredmail.org/#mua