1

Topic: FreeBSD 12 clear install

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): zhb-iredmail-004163d8d85c
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: FreeBSD 12 i386
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- 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.
====

root@test:~/iRedMail # bash iRedMail.sh
[ INFO ] Checking configuration file: /root/iRedMail/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/iRedMail/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail/runtime/install.status.
[ INFO ] Ports tree: /usr/ports
[ INFO ] Fetching all distfiles for required ports (make fetch-recursive)
< SKIP > Fetching all distfiles for port devel/py-Jinja2 and dependencies
< SKIP > Fetching all distfiles for port net/py-netifaces and dependencies
< SKIP > Fetching all distfiles for port security/py-bcrypt and dependencies
< SKIP > Fetching all distfiles for port databases/postgresql10-server and dependencies
< SKIP > Fetching all distfiles for port databases/postgresql10-contrib and dependencies
< SKIP > Fetching all distfiles for port mail/dovecot and dependencies
< SKIP > Fetching all distfiles for port mail/dovecot-pigeonhole and dependencies
< SKIP > Fetching all distfiles for port mail/spamassassin and dependencies
< SKIP > Fetching all distfiles for port security/amavisd-new and dependencies
< SKIP > Fetching all distfiles for port mail/postfix and dependencies
< SKIP > Fetching all distfiles for port www/nginx and dependencies
< SKIP > Fetching all distfiles for port www/uwsgi and dependencies
< SKIP > Fetching all distfiles for port lang/php72 and dependencies
[ INFO ] Fetching all distfiles for port: mail/php72-imap
===> Fetching all distfiles for php72-imap-7.2.20 and dependencies
===>  php72-imap-7.2.20 cannot be installed: doesn't work with lang/php73
port (doesn't support PHP 7.1 7.3).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/php72-imap
*** Error code 1

2

Re: FreeBSD 12 clear install

Try this:

- Open file "functions/packages_freebsd.sh", find line below:

export PREFERRED_PHP_VER='72'

- Replace "72" by "73" (which means php 7.3):

export PREFERRED_PHP_VER='73'

- Run "bash iRedMail.sh" again.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: FreeBSD 12 clear install

===>  Staging for spamassassin-3.4.2_3
===>   spamassassin-3.4.2_3 depends on package: p5-Encode-Detect>=0 - found
===>   spamassassin-3.4.2_3 depends on package: p5-HTML-Parser>=3.46 - found
===>   spamassassin-3.4.2_3 depends on package: p5-HTTP-Date>=0 - found
===>   spamassassin-3.4.2_3 depends on package: p5-Net-DNS>=0.63 - found
===>   spamassassin-3.4.2_3 depends on package: p5-NetAddr-IP>=4.010 - found
===>   spamassassin-3.4.2_3 depends on package: p5-Net-CIDR-Lite>=0 - found
===>   spamassassin-3.4.2_3 depends on package: p5-Net-IDN-Encode>=0 - found
===>   spamassassin-3.4.2_3 depends on package: p5-Net-LibIDN>=0 - found
===>   spamassassin-3.4.2_3 depends on package: p5-URI>=0 - found
===>   spamassassin-3.4.2_3 depends on package: re2c>=.12.0 - found
===>   spamassassin-3.4.2_3 depends on package: dcc-dccd>=1.3.111 - not found
===>  dcc-dccd-2.3.167_1 License DCC needs confirmation, but BATCH is defined.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/dcc-dccd
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/spamassassin
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.

4

Re: FreeBSD 12 clear install

I had this same problem. I added the line below in /etc/make.conf

LICENSES_ACCEPTED+=DCC

5

Re: FreeBSD 12 clear install

Ok! It works

6

Re: FreeBSD 12 clear install

********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Generate self-signed SSL cert (2048 bits, expire in 10 years).
[ INFO ] Generate Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system accounts.
[ INFO ] Configure Nginx web server.
[ INFO ] Configure PHP.
/root/iRedMail/conf/core: line 387: /usr/local/bin/python2: No such file or directory
/root/iRedMail/conf/core: line 387: /usr/local/bin/python2: No such file or directory
/root/iRedMail/conf/core: line 387: /usr/local/bin/python2: No such file or directory
/root/iRedMail/conf/core: line 387: /usr/local/bin/python2: No such file or directory
[ INFO ] Configure LDAP server: OpenLDAP.
[ INFO ] Setup daily cron job to backup LDAP data with /var/vmail/backup/backup_openldap.sh
[ INFO ] Configure MariaDB database server.
tail: /root/.mysql_secret: No such file or directory
Enter password:

7

Re: FreeBSD 12 clear install

2019/07/29 06:17:04 [warn] 918#100152: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /usr/local/etc/nginx/templates/ssl.tmpl:1

8

Re: FreeBSD 12 clear install

3m wrote:

/root/iRedMail/conf/core: line 387: /usr/local/bin/python2: No such file or directory

I'm working on FreeBSD support.

This issue could be fixed with this patch:

diff -r 32b706d26a5c iRedMail/conf/global
--- a/iRedMail/conf/global      Sat Jul 27 17:13:33 2019 +0800
+++ b/iRedMail/conf/global      Mon Jul 29 17:10:41 2019 +0800
@@ -306,8 +306,8 @@
     export DIR_RC_SCRIPTS='/usr/local/etc/rc.d'
     export RC_CONF_LOCAL='/etc/rc.conf.local'
 
-    export CMD_PYTHON2='/usr/local/bin/python2'
-    export CMD_PYTHON3='/usr/local/bin/python3'
+    export CMD_PYTHON2='/usr/local/bin/python2.7'
+    export CMD_PYTHON3='/usr/local/bin/python3.7'
     export PERL_BIN='/usr/local/bin/perl'
 
     # Unsupported releases: 7, 8.
3m wrote:

[ INFO ] Configure MariaDB database server.
tail: /root/.mysql_secret: No such file or directory
Enter password:

Will fix this soon, testing.

3m wrote:

2019/07/29 06:17:04 [warn] 918#100152: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /usr/local/etc/nginx/templates/ssl.tmpl:1

Will fix this soon.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

9

Re: FreeBSD 12 clear install

********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Generate self-signed SSL cert (2048 bits, expire in 10 years).
[ INFO ] Generate Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system accounts.
[ INFO ] Configure Nginx web server.
[ INFO ] Configure PHP.
[ INFO ] Configure PostgreSQL database server.
Can't open /var/db/postgres/data10/pg_hba.conf: No such file or directory.
Can't open /var/db/postgres/data10/pg_hba.conf: No such file or directory.
/root/iRedMail/functions/postgresql.sh: line 95: /var/db/postgres/data10/pg_hba.conf: No such file or directory
/root/iRedMail/functions/postgresql.sh: line 97: /var/db/postgres/data10/pg_hba.conf: No such file or directory
/root/iRedMail/functions/postgresql.sh: line 98: /var/db/postgres/data10/pg_hba.conf: No such file or directory
cp: directory /var/db/postgres/data10 does not exist
cp: /var/db/postgres/data10/iredmail.sql: No such file or directory
cp: directory /var/db/postgres/data10 does not exist
cp: directory /var/db/postgres/data10 does not exist
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/*.sql: No such file or directory.
Can't open /var/db/postgres/data10/iredmail.sql: No such file or directory.
Can't open /var/db/postgres/data10/iredmail.sql: No such file or directory.
Can't open /var/db/postgres/data10/iredmail.sql: No such file or directory.
chmod: /var/db/postgres/data10/*sql: No such file or directory
mv: rename /var/db/postgres/data10/*sql to /root/iRedMail/runtime/*sql: No such file or directory
chmod: /root/iRedMail/runtime/*sql: No such file or directory
[ INFO ] Setup daily cron job to backup PostgreSQL databases with /var/vmail/backup/backup_pgsql.sh
[ INFO ] Configure Postfix (MTA).
[ INFO ] Configure Dovecot (POP3/IMAP/Managesieve/LMTP/LDA).
[ INFO ] Configure mlmmj (mailing list manager).
[ INFO ] Configure ClamAV (anti-virus toolkit).
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
chmod: /var/db/postgres/data10/tmp/*sql: No such file or directory
[ INFO ] Configure iRedAdmin (official web-based admin panel).
cp: directory /var/db/postgres/data10 does not exist
chmod: /var/db/postgres/data10/iredadmin.pgsql: No such file or directory
[ INFO ] Configure Roundcube webmail.

*************************************************************************
* iRedMail-1.0-beta1 installation and configuration complete.
*************************************************************************

[ INFO ] Updating SpamAssassin rules (sa-update), please wait ...
[ INFO ] Compiling SpamAssassin rulesets (sa-compile), please wait ...
[ INFO ] Updating ClamAV database (freshclam), please wait ...
ClamAV update process started at Fri Aug  2 18:37:46 2019
Downloading main.cvd [100%]
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 25529, sigs: 1694663, f-level: 63, builder: raynman)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 330, sigs: 94, f-level: 63, builder: neo)
Database updated (6261006 signatures) from database.clamav.net (IP: 104.16.219.84)
********************************************************************

10

Re: FreeBSD 12 clear install

Could you please try the latest development edition? It switches to PostgreSQL 11.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

11 (edited by yerkin 2019-08-13 17:59:25)

Re: FreeBSD 12 clear install

Error when installing on a clean FreeBSD 12

===> Fetching all distfiles required by p0f-3.09b for building
===>  altermime-0.3.11.a1 is marked as broken: unfetchable.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/altermime
*** Error code 1

Stop.
make: stopped in /usr/ports/security/amavisd-new
<< ERROR >> Tarballs were not downloaded correctly, please fix it manually and then re-execute iRedMail.sh.
root@mail:~/iRedMail-0.9.9 #

12

Re: FreeBSD 12 clear install

Strange, altermime is still available for download here: https://pldaniels.com/altermime/#download
Could you help contact port maintainer to fix it?

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

13

Re: FreeBSD 12 clear install

Initially there was such an error:

mariadb103-client-10.3.16_1 You are using OpenSSL from ports and have
selected GSSAPI from base, please select another GSSAPI value.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mariadb103-client
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mariadb103-client
<< ERROR >> Tarballs were not downloaded correctly, please fix it manually and then re-execute iRedMail.sh.

I corrected /etc/make.conf

# iRedMail-WANT_OPENLDAP_VER
WANT_OPENLDAP_VER=24
# iRedMail-WANT_MYSQL
WANT_MYSQL=55m
# iRedMail-WANT_PGSQL_VER
WANT_PGSQL_VER=10
# iRedMail-WANT_BDB_VER
WANT_BDB_VER=5
# iRedMail-DEFAULT_VERSIONS
DEFAULT_VERSIONS=ssl=libressl python=2.7 python2=2.7 pgsql=9.5 php=7.1
# iRedMail-OPTIONS_SET-SASL
OPTIONS_SET+=SASL GSSAPI_NONE
# iRedMail-OPTIONS_UNSET-X11
OPTIONS_UNSET+=X11 GSSAPI_BASE
# iRedMail-LICENSES_ACCEPTED-NONE
LICENSES_ACCEPTED+=NONE
security_p5-GSSAPI_SET=GSSAPI_MIT

14

Re: FreeBSD 12 clear install

https://www.freshports.org/mail/altermime

15 (edited by javi31b 2019-08-15 18:11:29)

Re: FreeBSD 12 clear install

yerkin wrote:

Initially there was such an error:

mariadb103-client-10.3.16_1 You are using OpenSSL from ports and have
selected GSSAPI from base, please select another GSSAPI value.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mariadb103-client
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mariadb103-client
<< ERROR >> Tarballs were not downloaded correctly, please fix it manually and then re-execute iRedMail.sh.

I corrected /etc/make.conf

# iRedMail-WANT_OPENLDAP_VER
WANT_OPENLDAP_VER=24
# iRedMail-WANT_MYSQL
WANT_MYSQL=55m
# iRedMail-WANT_PGSQL_VER
WANT_PGSQL_VER=10
# iRedMail-WANT_BDB_VER
WANT_BDB_VER=5
# iRedMail-DEFAULT_VERSIONS
DEFAULT_VERSIONS=ssl=libressl python=2.7 python2=2.7 pgsql=9.5 php=7.1
# iRedMail-OPTIONS_SET-SASL
OPTIONS_SET+=SASL GSSAPI_NONE
# iRedMail-OPTIONS_UNSET-X11
OPTIONS_UNSET+=X11 GSSAPI_BASE
# iRedMail-LICENSES_ACCEPTED-NONE
LICENSES_ACCEPTED+=NONE
security_p5-GSSAPI_SET=GSSAPI_MIT

I ran into this problem and your modded /etc/make.conf solved it for me.

However i keep running into another error when it tries to fetch altermime.

In another post someone suggested i:

cd /usr/ports/security/amavisd-new/
make config
uncheck altermime and 'save' and try again.

Did the change, however it seems the change of unchecking altermime gets overwritten somehow because when i re-run the iRedMail.sh to try again it checks it again and tries to fetch ending in error again.

still stumped.

16

Re: FreeBSD 12 clear install

All hope for Zhang

17

Re: FreeBSD 12 clear install

zhb-iredmail-0e1b1e421edd

********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Generate self-signed SSL cert (2048 bits, expire in 10 years).
[ INFO ] Generate Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system accounts.
[ INFO ] Configure Nginx web server.
[ INFO ] Configure PHP.
[ INFO ] Configure LDAP server: OpenLDAP.
[ INFO ] Setup daily cron job to backup LDAP data with /var/vmail/backup/backup_openldap.sh
[ INFO ] Configure MariaDB database server.
[ INFO ] Setup daily cron job to backup SQL databases with /var/vmail/backup/backup_mysql.sh
[ INFO ] Configure Postfix (MTA).
[ INFO ] Configure Dovecot (POP3/IMAP/Managesieve/LMTP/LDA).
[ INFO ] Configure mlmmj (mailing list manager).
[ INFO ] Configure ClamAV (anti-virus toolkit).
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
[ INFO ] Configure OpenDMARC.
[ INFO ] Configure iRedAdmin (official web-based admin panel).
[ INFO ] Configure Roundcube webmail.
chown: /usr/local/etc/netdata/python.d/*.conf: No such file or directory

*************************************************************************
* iRedMail-1.0-beta1 installation and configuration complete.
*************************************************************************

[ INFO ] Updating SpamAssassin rules (sa-update), please wait ...
[ INFO ] Compiling SpamAssassin rulesets (sa-compile), please wait ...
[ INFO ] Updating ClamAV database (freshclam), please wait ...
ClamAV update process started at Sat Aug 17 18:56:21 2019
Downloading main.cvd [100%]
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 25544, sigs: 1725545, f-level: 63, builder: raynman)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 330, sigs: 94, f-level: 63, builder: neo)
Database updated (6291888 signatures) from database.clamav.net (IP: 104.16.218.84)
********************************************************************
* URLs of installed web applications:
*
* - Roundcube webmail: https://test.com/mail/
* - netdata (monitor): https://test.com/netdata/
*
* - Web admin panel (iRedAdmin): https://test.com/iredadmin/
*
* You can login to above links with below credential:
*
* - Username: postmaster@test.ua
* - Password: 74M8531mm
*
*
********************************************************************
* Congratulations, mail server setup completed successfully. Please
* read below file for more information:
*
*   - /root/iRedMail/iRedMail.tips
*
* And it's sent to your mail account postmaster@test.ua.
*
********************* WARNING **************************************
*
* Please reboot your system to enable all mail services.
*
********************************************************************


Aug 17 19:26:36 test dovecot[872]: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, session=<H7cXklKQAunAqABp>
Aug 17 19:26:42 test dovecot[872]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS: SSL_read failed: error:1404C418:SSL routines:ST_OK:tlsv1 alert unknown ca: SSL alert number 48, session=<D6V7klKQBOnAqABp>
Aug 17 19:26:51 test dovecot[872]: imap-login: Login: user=<admin@polly.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1249, TLS, session=<7w3/klKQBenAqABp>
Aug 17 19:26:51 test dovecot[872]: imap(admin@polly.ua)<1249><7w3/klKQBenAqABp>: Logged out in=8 out=473 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 17 19:26:51 test dovecot[872]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS, session=<NIoFk1KQBunAqABp>
Aug 17 19:27:12 test dovecot[872]: imap-login: Login: user=<admin@polly.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1253, TLS, session=</6w4lFKQC+nAqABp>
Aug 17 19:27:14 test dovecot[872]: imap-login: Login: user=<admin@polly.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1255, TLS, session=<aV1TlFKQDOnAqABp>
Aug 17 19:28:55 test dovecot[872]: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS handshaking: SSL_accept() failed: error:1402610B:SSL routines:ACCEPT_SR_CLNT_HELLO:wrong version number, session=<9lldmlKQDunAqABp>
Aug 17 19:29:00 test dovecot[872]: imap-login: Disconnected (auth failed, 1 attempts in 0 secs): user=<postmaster@test.ua>, rip=192.168.0.105, lip=192.168.0.102, session=<rxu2mlKQD+nAqABp>
Aug 17 19:29:12 test dovecot[872]: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS handshaking: SSL_accept() failed: error:1402610B:SSL routines:ACCEPT_SR_CLNT_HELLO:wrong version number, session=<vPJpm1KQFOnAqABp>
Aug 17 19:29:20 test dovecot[872]: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS handshaking: SSL_accept() failed: error:1402610B:SSL routines:ACCEPT_SR_CLNT_HELLO:wrong version number, session=</m3im1KQFenAqABp>
Aug 17 19:29:21 test dovecot[872]: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS handshaking: SSL_accept() failed: error:1402610B:SSL routines:ACCEPT_SR_CLNT_HELLO:wrong version number, session=<0VPum1KQFunAqABp>
Aug 17 19:29:21 test dovecot[872]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS handshaking: SSL_accept() failed: error:1402610B:SSL routines:ACCEPT_SR_CLNT_HELLO:wrong version number, session=<n9X2m1KQF+nAqABp>
Aug 17 19:30:53 test dovecot[872]: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, session=<NrhxoVKQG+nAqABp>
Aug 17 19:30:53 test dovecot[872]: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, session=<doZxoVKQGunAqABp>
Aug 17 19:31:15 test dovecot[872]: imap-login: Disconnected (auth failed, 3 attempts in 14 secs): user=<postmaster>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, TLS, session=<pDLfoVKQIOnAqABp>
Aug 17 19:31:19 test dovecot[872]: imap-login: Login: user=<postmaster@test.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1283, TLS, session=<K1e9olKQJenAqABp>
Aug 17 19:31:20 test dovecot[872]: imap(postmaster@test.ua)<1283><K1e9olKQJenAqABp>: Logged out in=8 out=473 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 17 19:31:20 test dovecot[872]: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS, session=<wIQCo1KQJunAqABp>
Aug 17 19:31:24 test dovecot[872]: imap-login: Login: user=<postmaster@test.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1287, TLS, session=<E3NBo1KQJ+nAqABp>
Aug 17 19:32:43 test dovecot[872]: imap-login: Login: user=<postmaster@test.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1292, TLS, session=<ZKnwp1KQM+nAqABp>
Aug 17 19:33:54 test dovecot[872]: imap(postmaster@test.ua)<1287><E3NBo1KQJ+nAqABp>: Logged out in=755 out=13451 deleted=0 expunged=0 trashed=0 hdr_count=3 hdr_bytes=423 body_count=3 body_bytes=9612
Aug 17 19:33:54 test dovecot[872]: imap(postmaster@test.ua)<1292><ZKnwp1KQM+nAqABp>: Logged out in=14215 out=15731 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=260 body_count=1 body_bytes=13780
Aug 17 19:34:12 test dovecot[872]: imap(admin@polly.ua)<1255><aV1TlFKQDOnAqABp>: Logged out in=323 out=1696 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 17 19:34:12 test dovecot[872]: imap(admin@polly.ua)<1253></6w4lFKQC+nAqABp>: Logged out in=590 out=2607 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Aug 17 19:34:16 test dovecot[872]: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=192.168.0.105, lip=192.168.0.102, TLS: SSL_read failed: error:1404C418:SSL routines:ST_OK:tlsv1 alert unknown ca: SSL alert number 48, session=<7ZmHrVKQOOnAqABp>
Aug 17 19:34:20 test dovecot[872]: imap-login: Login: user=<postmaster@test.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1305, TLS, session=<vaTErVKQOenAqABp>
Aug 17 19:34:24 test dovecot[872]: imap-login: Login: user=<postmaster@test.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1307, TLS, session=<+Pz9rVKQOunAqABp>
Aug 17 19:34:46 test dovecot[872]: imap-login: Login: user=<admin@polly.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1309, TLS, session=<JGdEr1KQPOnAqABp>
Aug 17 19:40:14 test dovecot[872]: imap-login: Login: user=<admin@polly.ua>, method=PLAIN, rip=192.168.0.105, lip=192.168.0.102, mpid=1331, TLS, session=<MyXXwlKQVOnAqABp>


Aug 17 19:38:01 test postfix/cleanup[1320]: fatal: 127.0.0.1:: missing service information
Aug 17 19:38:02 test postfix/master[956]: warning: process /usr/local/libexec/postfix/cleanup pid 1320 exit status 1
Aug 17 19:38:02 test postfix/pickup[958]: warning: maildrop/469lJJ0y42z4D0J: error writing 469m894V5cz4D2D: queue file write error
Aug 17 19:38:02 test postfix/master[956]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling
Aug 17 19:38:02 test postfix/submission/smtpd[1321]: connect from unknown[192.168.0.105]
Aug 17 19:38:02 test postfix/submission/smtpd[1321]: fatal: 127.0.0.1:: missing service information
Aug 17 19:38:03 test postfix/master[956]: warning: process /usr/local/libexec/postfix/smtpd pid 1321 exit status 1
Aug 17 19:38:03 test postfix/master[956]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
Aug 17 19:39:02 test postfix/pickup[958]: 469m9L6bcZz4D2D: uid=0 from=<root>
Aug 17 19:39:02 test postfix/cleanup[1322]: fatal: 127.0.0.1:: missing service information
Aug 17 19:39:03 test postfix/master[956]: warning: process /usr/local/libexec/postfix/cleanup pid 1322 exit status 1
Aug 17 19:39:03 test postfix/pickup[958]: warning: maildrop/469lJJ0y42z4D0J: error writing 469m9L6bcZz4D2D: queue file write error
Aug 17 19:39:03 test postfix/master[956]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling
Aug 17 19:39:03 test postfix/submission/smtpd[1323]: connect from unknown[192.168.0.105]
Aug 17 19:39:03 test postfix/submission/smtpd[1323]: fatal: 127.0.0.1:: missing service information
Aug 17 19:39:05 test postfix/master[956]: warning: process /usr/local/libexec/postfix/smtpd pid 1323 exit status 1
Aug 17 19:39:05 test postfix/master[956]: warning: /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
Aug 17 19:40:03 test postfix/pickup[958]: 469mBW0Xc0z4D2D: uid=0 from=<root>
Aug 17 19:40:03 test postfix/cleanup[1328]: fatal: 127.0.0.1:: missing service information
Aug 17 19:40:04 test postfix/pickup[958]: warning: maildrop/469lJJ0y42z4D0J: error writing 469mBW0Xc0z4D2D: queue file write error
Aug 17 19:40:04 test postfix/master[956]: warning: process /usr/local/libexec/postfix/cleanup pid 1328 exit status 1
Aug 17 19:40:04 test postfix/master[956]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling
Aug 17 19:40:45 test postfix/anvil[1316]: statistics: max connection rate 1/60s for (submission:192.168.0.105) at Aug 17 19:36:00
Aug 17 19:40:45 test postfix/anvil[1316]: statistics: max connection count 1 for (submission:192.168.0.105) at Aug 17 19:36:00
Aug 17 19:40:45 test postfix/anvil[1316]: statistics: max cache size 1 at Aug 17 19:36:00
Aug 17 19:41:04 test postfix/pickup[958]: 469mCh0Px0z4D2D: uid=0 from=<root>
Aug 17 19:41:04 test postfix/cleanup[1332]: fatal: 127.0.0.1:: missing service information
Aug 17 19:41:05 test postfix/pickup[958]: warning: maildrop/469lJJ0y42z4D0J: error writing 469mCh0Px0z4D2D: queue file write error
Aug 17 19:41:05 test postfix/master[956]: warning: process /usr/local/libexec/postfix/cleanup pid 1332 exit status 1
Aug 17 19:41:05 test postfix/master[956]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling
Aug 17 19:42:05 test postfix/pickup[958]: 469mDs1ff3z4D2D: uid=0 from=<root>
Aug 17 19:42:05 test postfix/cleanup[1335]: fatal: 127.0.0.1:: missing service information
Aug 17 19:42:06 test postfix/pickup[958]: warning: maildrop/469lJJ0y42z4D0J: error writing 469mDs1ff3z4D2D: queue file write error
Aug 17 19:42:06 test postfix/master[956]: warning: process /usr/local/libexec/postfix/cleanup pid 1335 exit status 1
Aug 17 19:42:06 test postfix/master[956]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling

18

Re: FreeBSD 12 clear install

Did you succeed?

javi31b wrote:
yerkin wrote:

Initially there was such an error:

mariadb103-client-10.3.16_1 You are using OpenSSL from ports and have
selected GSSAPI from base, please select another GSSAPI value.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/mariadb103-client
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/mariadb103-client
<< ERROR >> Tarballs were not downloaded correctly, please fix it manually and then re-execute iRedMail.sh.

I corrected /etc/make.conf

# iRedMail-WANT_OPENLDAP_VER
WANT_OPENLDAP_VER=24
# iRedMail-WANT_MYSQL
WANT_MYSQL=55m
# iRedMail-WANT_PGSQL_VER
WANT_PGSQL_VER=10
# iRedMail-WANT_BDB_VER
WANT_BDB_VER=5
# iRedMail-DEFAULT_VERSIONS
DEFAULT_VERSIONS=ssl=libressl python=2.7 python2=2.7 pgsql=9.5 php=7.1
# iRedMail-OPTIONS_SET-SASL
OPTIONS_SET+=SASL GSSAPI_NONE
# iRedMail-OPTIONS_UNSET-X11
OPTIONS_UNSET+=X11 GSSAPI_BASE
# iRedMail-LICENSES_ACCEPTED-NONE
LICENSES_ACCEPTED+=NONE
security_p5-GSSAPI_SET=GSSAPI_MIT

I ran into this problem and your modded /etc/make.conf solved it for me.

However i keep running into another error when it tries to fetch altermime.

In another post someone suggested i:

cd /usr/ports/security/amavisd-new/
make config
uncheck altermime and 'save' and try again.

Did the change, however it seems the change of unchecking altermime gets overwritten somehow because when i re-run the iRedMail.sh to try again it checks it again and tries to fetch ending in error again.

still stumped.

19

Re: FreeBSD 12 clear install

[ INFO ] Configure LDAP server: OpenLDAP.

20

Re: FreeBSD 12 clear install

2019/08/17 21:23:54 [error] 988#100096: *3 user "root" was not found in "/usr/local/etc/nginx/netdata.users", client: 192.168.0.105, server: _, request: "GET /netdata/ HTTP/1.1", host: "192.168.0.102"
2019/08/17 21:24:42 [error] 988#100096: *3 connect() to 127.0.0.1:19999 failed (61: Connection refused) while connecting to upstream, client: 192.168.0.105, server: _, request: "GET /netdata/ HTTP/1.1", upstream: "http://127.0.0.1:19999/", host: "192.168.0.102"

21

Re: FreeBSD 12 clear install

Aug 17 22:00:04 test postfix/pickup[969]: warning: maildrop/469lJJ0y42z4D0J: error writing 469qJ32Gzvz4D0Z: queue file write error
Aug 17 22:00:04 test postfix/master[967]: warning: process /usr/local/libexec/postfix/cleanup pid 1255 exit status 1
Aug 17 22:00:04 test postfix/master[967]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling
Aug 17 22:01:04 test postfix/pickup[969]: 469qKD2yPcz4D0Z: uid=0 from=<root>
Aug 17 22:01:04 test postfix/cleanup[1262]: fatal: 127.0.0.1:: missing service information

22

Re: FreeBSD 12 clear install

hi @3m,

Please do not paste log only without any description, it requires me to go through every single line to guess what the issue is, it's brutal to me.

Back to the issues:

- Any error in Postfix main.cf and master.cf?
- Seems you didn't choose to install netdata, but the installer output contains some netdata related error.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

23

Re: FreeBSD 12 clear install

Aug 18 10:59:23 test postfix/cleanup[1138]: fatal: 127.0.0.1:: missing service information
Aug 18 10:59:24 test postfix/pickup[984]: warning: maildrop/469lJJ0y42z4D0J: error writing 46B8bH37jhz4D0K: queue file write error
Aug 18 10:59:24 test postfix/master[982]: warning: process /usr/local/libexec/postfix/cleanup pid 1138 exit status 1
Aug 18 10:59:24 test postfix/master[982]: warning: /usr/local/libexec/postfix/cleanup: bad command startup -- throttling


Aug 18 10:55:20 test php-fpm[992]: [NOTICE] ready to handle connections
Aug 18 10:55:20 test root[1005]: /etc/rc: WARNING: /usr/local/etc/netdata/netdata.conf is not readable.
Aug 18 10:55:20 test root[1006]: /etc/rc: WARNING: failed precmd routine for netdata
Aug 18 10:55:22 test kernel: .
Aug 18 10:56:20 test postfix/cleanup[1128]: fatal: 127.0.0.1:: missing service information
Aug 18 10:57:21 test postfix/cleanup[1136]: fatal: 127.0.0.1:: missing service information

24

Re: FreeBSD 12 clear install

Im choose to install netdata!

25

Re: FreeBSD 12 clear install

this option installed   zhb-iredmail-0e1b1e421edd
clear FreeBSD, fresh ports!