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

Re: Amavisd crashes (almost) daily on FreeBSD 11.

$
0
0
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?


Re: Anacron job error

$
0
0
Thierry wrote:

/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.

Re: Installation/configuration broken on FreeBSD 11 jail

$
0
0
pylox wrote:

[ 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.

Re: Dovecot-auth problem

$
0
0

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

Re: Problem installing iRedMail on FreeBSD 11 ZFS

$
0
0

*) 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?

Re: Mail exchange did not work

$
0
0

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.

Re: Can Only Access /iredadmin from 127.0.0.1

$
0
0

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.

Re: throttle problem

$
0
0

For all subdomains, use '@.domain.com'. Not "@.*.domain.com".


Re: Installation/configuration broken on FreeBSD 11 jail

Re: Dovecot-auth problem

$
0
0
rajahutan wrote:

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.

rajahutan wrote:

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.

Re: Problem installing iRedMail on FreeBSD 11 ZFS

$
0
0

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.

Re: Amavisd Blocked BANNED

$
0
0
ZhangHuangbin wrote:

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.

Re: Amavisd Blocked BANNED

$
0
0
dsp3 wrote:

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.

Re: Amavis quarantine, release email with amavisd-release

$
0
0
ZhangHuangbin wrote:

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.txt

BTW, with iRedAdmin-Pro, just few clicks. Besides, you can view mail headers and mail body of quarantined emails. smile

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.

Re: throttle problem

$
0
0

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]

Re: throttle problem

$
0
0

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.

Re: Amavisd Blocked BANNED

$
0
0

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"

Re: Problem installing iRedMail on FreeBSD 11 ZFS

$
0
0
jasonwoodland wrote:

<< 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.

Re: Amavisd crashes (almost) daily on FreeBSD 11.

$
0
0
ZhangHuangbin wrote:
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.

PHP 7.0 (PHP-FPM) and OpenBSD 6.0 support?

$
0
0

==== 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?

Viewing all 43486 articles
Browse latest View live


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