I upgraded recently from FreeBSD 10 to 11, and then installed iredmail. This issue never occurred on FreeBSD 10...
Did you upgrade all packages with ports tree?
I upgraded recently from FreeBSD 10 to 11, and then installed iredmail. This issue never occurred on FreeBSD 10...
Did you upgrade all packages with ports tree?
/etc/cron.daily/logrotate:
error: syslog:1 unknown option 'add' -- ignoring line
/etc/cron.daily/spamassassin:
Job for spamassassin.service failed. See 'systemctl status spamassassin.service' and 'journalctl -xn' for details.
- Upgrading iRedMail-0.9.6 doesn't touch logrotate settings.
- iRedMail doesn't run spamassassin service. You don't need to run it. Maybe you need to update some parameters in /etc/default/spamassassin to avoid this error.
[ INFO ] Configure MariaDB database server.
tail: /root/.mysql_secret: No such file or directory
BUG.
I will try to reproduce this error later today and come back with a fix.
It's relative path under /var/spool/postfix/. In iRedMail-0.8.6, i suppose it's "./dovecot-auth". You can do a quick check.
- Dear ZHB
OK and thank you, so i think no need to change that path
when i check to dovecot.log with tail -f always show a log
Feb 5 10:12:27 colo postfix/smtpd[14913]: disconnect from unknown[37.xxx.xxx.xxx ]
Feb 5 10:12:30 colo postfix/smtpd[15409]: connect from unknown[37.xxx.xxx.xxx]
Feb 5 10:12:41 colo postfix/smtpd[15409]: warning: unknown[37.xxx.xxx.xxx]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 5 10:12:41 colo postfix/smtpd[15409]: lost connection after AUTH from unkno wn[37.37.xxx.xxx.xxx]
Feb 5 10:12:41 colo postfix/smtpd[15409]: disconnect from unknown[37.37.xxx.xxx.xxx ]
Feb 5 10:12:42 colo postfix/smtpd[14913]: connect from unknown[37.xxx.xxx.xxx]
Feb 5 10:12:52 colo postfix/smtpd[14913]: warning: unknown[37.xxx.xxx.xxx]: SASL LOGIN authentication failed: Connection lost to authentication server
Feb 5 10:12:52 colo postfix/smtpd[14913]: lost connection after AUTH from unknown[37.37.xxx.xxx.xxx]
Feb 5 10:12:52 colo postfix/smtpd[14913]: disconnect from unknown[37.xxx.xxx.xxx]
Feb 5 10:13:03 colo postfix/smtpd[15409]: connect from unknown[37.xxx.xxx.xxx]
The IP address alway changes, and requests are coming in from all over the world. It it more likely a break in attempt or something ?
or just IMAP client tries to connect to a Dovecot server using the SASL LOGIN protocol,
then asked password ?
can i safely ignore this message ?
Did you upgrade Postfix or Dovecot 2 weeks ago? Any other changes 2 weeks ago?
there is no change on postfix / dovecot .. only change main.CF (add some public IP to mynetworks.
thanks
*) Which version of Perl do you have on this server?
*) Does it work if you install "/usr/ports/databases/mysql57-client" manually first, then run iRedMail installer again?
This is not right. Did you see any error in file "iRedMail-0.9.6/runtime/install.log" and "iRedMail-0.9.6/runtime/pkg.install.log"?
Seems your iRedMail installation was not success, it's better to reinstall server OS then install iRedMail again.
Let's Encrypt ssl cert is ok. The problem is you're using the Apache config files modified by LetsEncrypt script.
*) If this is not a production server and reinstalling OS+iRedMail is acceptable, you can reinstall OS+iRedMail first, then request LetsEncrypt ssl cert with its '--webroot' option. Then it just requests cert without modifying any config file. After got the cert, follow our tutorial to modify Apache/Nginx/Postfix/Dovecot config files to use the cert: http://www.iredmail.org/docs/use.a.boug … icate.html
*) If you cannot reinstall OS+iRedMail: Don't use the Apache config files modified by LetsEncrypt, just use the ones generated by iRedMail, and follow our tutorial to use the ssl cert.
For all subdomains, use '@.domain.com'. Not "@.*.domain.com".
Fixed. Please re-download iRedMail-0.9.6 and try it with a fresh FreeBSD OS:
http://www.iredmail.org/download.html
The IP address alway changes, and requests are coming in from all over the world. It it more likely a break in attempt or something ?
it's spammers trying to guess the password. Fail2ban can ban these spammers effectively.
there is no change on postfix / dovecot .. only change main.CF (add some public IP to mynetworks.
No idea.
Try to restart Postfix service and check its log file IMMEDIATELY to see whether it reports any error/warning after restarted.
I managed to get it working! After installing FreeBSD I immediately did the following:
pkg update
freebsd-update fetch install
pkg update upgrade
reboot
I'm not sure if each step/the order is relevant since I'm new to FreeBSD
Note, after following the steps at http://www.iredmail.org/docs/install.ir … eebsd.html
I still encountered an error like:
<< ERROR >> security/amavisd-new: Port was not successfully installed (stopped in archivers/arj)
so I did:
cd /usr/ports/security/amavisd-new && make install
then I re-ran the iRedMail.sh and got:
<< ERROR >> security/amavisd-new: Port was not successfully installed:
===> Installing for amavisd-new-2.11.0_1,1
===> Checking if amavisd-new already installed
===> amavisd-new-2.11.0_1,1 is already installed
so then I did:
setenv FORCE_PKG_REGISTER
Then I again, re-ran iRedMail.sh and it worked.
Thanks for the feedback and help. Repacked iRedMail-0.9.6 with this fix, also updated upgrade tutorial.
Can you tell me what has changed in the amavisd.conf for this fix? As far as I can see there is no difference in what is on the upgrade tutorial page compared to what I had previously. I have refreshed my browser page.
Can you tell me what has changed in the amavisd.conf for this fix? As far as I can see there is no difference in what is on the upgrade tutorial page compared to what I had previously. I have refreshed my browser page.
Me too, I would like to know what is changed in update tutorial, but can't find a difference.
Seems "amavisd-release" doesn't read setting in Amavisd config file to understand where the quarantined mails are stored. In this case, you need to write a simple script to release email with command like 'telnet or other tools.
Check its doc below, you need "quar_type=Q" to tell Amavisd to release email from SQL db, not from local file system:
https://amavis.org/README.protocol.txtBTW, with iRedAdmin-Pro, just few clicks. Besides, you can view mail headers and mail body of quarantined emails.
The reason is there is an error in amavisd-release. There is no "quar_type='Q'" in the script.
I created a new file "amavisd-release-sql" and changed the line following line:
my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : ' ';
The new line is
my $quar_type = $fn_suffix eq '.gz' ? 'Z' : $fn_path ne '' ? 'F' : 'Q';
Now it's working fine.
doesn't work becasue
I have rule
| 4 | @.domain.pl | outbound | 10 | 86400 | 0 | 5 | 0 |
and if I send 5 email from
test@sub1.domain.pl
i can't send from
test@sub2.domain.pl
2017-02-05 11:20:17 INFO 193.187.64.108 RCPT, test@jakub7.domain.pl => mail@jakubmail.domain.pl, REJECT Quota exceeded (number of mails in total) [0.0034s]
2017-02-05 11:20:17 INFO [193.187.65.15] [test@jakub3.domain.pl] Exceeds sender throttle for max_msgs, current: 5. (max_msgs=5/id=4/account=@.domain.pl; )
2017-02-05 11:20:17 INFO 193.187.65.15 RCPT, test@jakub3.domain.pl => mail@jakubmail.domain.pl, REJECT Quota exceeded (number of mails in total) [0.0029s]
So with "@.domain.com", you expect each domain can send X messages, not all sun-domains can send X in total, am I right?
iRedAPD doesn't support this with latest release, I will try to implement it in future release.
Oops, I changed doc but forgot to commit, will commit later (out of office now).
The changes are:
- don't block "zip"
- don't block "wmf"
<< ERROR >> security/amavisd-new: Port was not successfully installed (stopped in archivers/arj)
we have a problem to install port "archivers/arj" by iRedMail script, but install it manually works just fine.
wimvandijck wrote:I upgraded recently from FreeBSD 10 to 11, and then installed iredmail. This issue never occurred on FreeBSD 10...
Did you upgrade all packages with ports tree?
Yes I did.
==== Required information ====
- iRedMail version: 0.9.6
- Linux/BSD distribution name and version: OpenBSD 6.0
- Store mail accounts in which backend: PGSQL
- Web server: Nginx
- Manage mail accounts with iRedAdmin-Pro: Yes
====
Hey!
Does the iRedMail installer work on OpenBSD 6.0 yet? The official download page only seems to go up to 5.9 currently!
Also after installation is complete may I remove the existing PHP 5.x installation and replace it with PHP 7.0?