Ok i replaced my jail.conf file.
and it's running again.
Only i have a question about restarting
sudo /etc/init.d/fail2ban status
or
sudo service fail2ban start
is this the same ?
Ok i replaced my jail.conf file.
and it's running again.
Only i have a question about restarting
sudo /etc/init.d/fail2ban status
or
sudo service fail2ban start
is this the same ?
Thanks Zhang, do you have any idea why would any MUAs mark these emails as deleted? Our users definitely didn't delete these emails as they didn't know about them or couldn't even open them. Our users never use RoundCube or the web-interface to check email, only on their iPhone, Android, Macbook and Outlook.
Even more strange... The same emails were in different folders in RoundCube and SOGo. In RoundCube they were in the inbox and grayed out but in SOGo they were in the Junk folder and not greyed out.
With this specific user in the example and screenshot, the user is using and iPhone and mail app on Macbook to read emails. The configuration on the Macbook is IMAP and Exchange on the iPhone.
I updated the packages.sh as below but still got error:
ALL_PKGS="${ALL_PKGS} php70u-common-7.0.7-1.ius.centos7.x86_64 php70u-cli-7.0.7-1.ius.centos7.x86_64 php70u-fpm-7.0.7-1.ius.centos7.x86_64 php70u-mysqlnd-7.0.7-1.ius.centos7.x86_64 php70u-fpm-nginx-7.0.7-1.ius.centos7.noarch"
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-327.18.2.el7 will be installed
--> Processing Conflict: php70u-common-7.0.7-1.ius.centos7.x86_64 conflicts php-common < 7.0
--> Processing Conflict: php70u-fpm-7.0.7-1.ius.centos7.x86_64 conflicts php-fpm < 7.0
--> Finished Dependency Resolution
Error: php70u-common conflicts with php-common-5.4.16-36.1.el7_2.1.x86_64
Error: php70u-fpm conflicts with php-fpm-5.4.16-36.1.el7_2.1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://www.iredmail.org/forum/
[root@webser-test iRedMail-0.9.5-1]#
Solved.
Enjoy your cofee.
Best.
I was using the Percona MySQL
5.6 too, and experienced exactly the same issue.
I'm not sure there is some sort of incompatibility with Percona, but I nevertheless replaced Percona with regular Mysql.
I also reinstalled all other packages following the /functions/packages_freebsd.sh script.
So far the problem seems solved
======== Required information ====
- iRedMail version 0.9.5-1:
- Linux/BSD Ubuntu 14.04:
- Store mail accounts MySQL:
- Web server Apache:
- Manage mail accounts with iRedAdmin-Pro? No
====
Good morning, I have a problem with login to roundcube, it write me IMAP Error
dovecot.log
Jun 11 00:48:15 auth-worker(19674): Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
Jun 11 00:48:15 auth-worker(19674): Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
Jun 11 00:48:15 imap-login: Info: Login: user=<postmaster@troia-studio.cz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=19676, secured, session=<fruRVfQ0KgB/AAAB>
Jun 11 00:48:15 imap(postmaster@troia-studio.cz): Error: chdir(/var/vmail/vmail1/troia-studio.cz/p/o/s/postmaster-2016.06.10.23.23.38//) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail, dir owned by 333:5000 mode=0700)
Jun 11 00:48:15 imap(postmaster@troia-studio.cz): Error: chdir(/var/vmail/vmail1/troia-studio.cz/p/o/s/postmaster-2016.06.10.23.23.38/) failed: Permission denied
Jun 11 00:48:15 imap(postmaster@troia-studio.cz): Error: user postmaster@troia-studio.cz: Initialization failed: Namespace '': stat(/var/vmail/vmail1/troia-studio.cz/p/o/s/postmaster-2016.06.10.23.23.38//Maildir) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail, dir owned by 333:5000 mode=0700)
Jun 11 00:48:15 imap(postmaster@troia-studio.cz): Error: Invalid user settings. Refer to server log for more information.
Jun 11 00:48:33 imap-login: Info: Login: user=<jan.galek@troia-studio.cz>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=19680, secured, session=<buCiVvQ0LQB/AAAB>
Jun 11 00:48:33 imap(jan.galek@troia-studio.cz): Error: chdir(/var/vmail/vmail1/troia-studio.cz/j/a/n/jan.galek-2016.06.11.00.01.36//) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail, dir owned by 333:5000 mode=0700)
Jun 11 00:48:33 imap(jan.galek@troia-studio.cz): Error: chdir(/var/vmail/vmail1/troia-studio.cz/j/a/n/jan.galek-2016.06.11.00.01.36/) failed: Permission denied
Jun 11 00:48:33 imap(jan.galek@troia-studio.cz): Error: user jan.galek@troia-studio.cz: Initialization failed: Namespace '': stat(/var/vmail/vmail1/troia-studio.cz/j/a/n/jan.galek-2016.06.11.00.01.36//Maildir) failed: Permission denied (euid=2000(<unknown>) egid=2000(<unknown>) missing +x perm: /var/vmail, dir owned by 333:5000 mode=0700)
Jun 11 00:48:33 imap(jan.galek@troia-studio.cz): Error: Invalid user settings. Refer to server log for more information.
Jun 11 00:54:13 auth: Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
Jun 11 00:54:13 auth: Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
Jun 11 00:54:13 auth-worker(19840): Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
Jun 11 00:54:13 auth-worker(19840): Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
Jun 11 00:54:13 auth-worker(19843): Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
Jun 11 00:54:13 auth-worker(19843): Error: passwd-file /etc/dovecot/dovecot-master-users: User sogo_sieve_master@not-exist.com exists more than once
~
mail.log
Jun 11 00:49:13 mail postfix/error[19706]: 983AF3B76DB: to=<sogo@mail.troia-studio.cz>, relay=none, delay=5771, delays=5771/0.19/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jun 11 00:49:13 mail postfix/error[19709]: A51343B76CA: to=<sogo@mail.troia-studio.cz>, relay=none, delay=8231, delays=8231/0.19/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jun 11 00:49:13 mail postfix/error[19705]: 9E44F3B76CF: to=<root@mail.troia-studio.cz>, relay=none, delay=6012, delays=6012/0.19/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jun 11 00:52:33 mail postfix/scache[19703]: statistics: start interval Jun 11 00:49:13
Jun 11 00:52:33 mail postfix/scache[19703]: statistics: domain lookup hits=0 miss=2 success=0%
Jun 11 00:54:13 mail postfix/qmgr[13956]: 27AE33B77BF: from=<root@mail.troia-studio.cz>, size=3607, nrcpt=1 (queue active)
Jun 11 00:54:13 mail postfix/qmgr[13956]: D00963B77CA: from=<root@mail.troia-studio.cz>, size=3607, nrcpt=1 (queue active)
Jun 11 00:54:13 mail postfix/pipe[19834]: 27AE33B77BF: to=<postmaster@troia-studio.cz>, relay=dovecot, delay=4512, delays=4512/0.04/0/0.07, dsn=4.3.0, status=deferred (temporary failure)
Jun 11 00:54:13 mail postfix/pipe[19835]: D00963B77CA: to=<postmaster@troia-studio.cz>, relay=dovecot, delay=912, delays=912/0.01/0/0.11, dsn=4.3.0, status=deferred (temporary failure)
What I need do to fix it please ?
RESOLVED - I change permision to /var/vmail and now its ok.
All entries in the Roundcube LDAP address book configured by iRedMail are loaded automatically from LDAP server. That means if you add a new user, it will appear in all users' LDAP address book automatically. Is it ok for you?
Jun 11 01:44:13 mail postfix/smtp[21345]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Amavisd service is not running. Please start it first.
Also, how much memory does this server have?
--> Processing Conflict: php70u-fpm-7.0.7-1.ius.centos7.x86_64 conflicts php-fpm < 7.0
Replace 'php-fpm' in functions/packages.sh.
Does this end user have option "Enable Junk mail filtering" enabled in Apple Mail.app (Preferences -> Junk Mail)?
/etc/init.d/fail2ban status
'status' is used to check service status. To restart a service, you need 'restart':
service fail2ban restart
+----+---------------------------+----------+----------+--------+----------+----------+-----------+
| id | account | kind | priority | period | msg_size | max_msgs | max_quota |
+----+---------------------------+----------+----------+--------+----------+----------+-----------+
| 2 | email1@domain.ltd | inbound | 100 | 86400 | -1 | 1 | -1 |
| 6 | @domain.ltd | outbound | 5 | 3600 | 0 | 5 | 0 |
| 7 | email2@domain.ltd | outbound | 10 | 86400 | 0 | 0 | 0 |
| 8 | email3@domain.ltd | outbound | 10 | 86400 | 0 | 23 | 0 |
| 9 | @domain.ltd | inbound | 5 | 86400 | 0 | 150 | 0 |
+----+---------------------------+----------+----------+--------+----------+----------+-----------+
Line 2 is not working.
iRedAdmin Pro SQL and iredADP are the latest versions.
I set only 5 emails per hour for outgoing but users are able to send 150 emails.
WarfaceZ wrote:Jun 11 01:44:13 mail postfix/smtp[21345]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Amavisd service is not running. Please start it first.
Also, how much memory does this server have?
When i start amavis I get error:
Starting amavisd: Error in config file "/etc/amavis/conf.d/50-user": dkim_key: selector dkim for domain troia-studio.cz already in use
(failed).
I found i fix http://www.iredmail.org/forum/topic151- … lenny.html but link to script is broken
Server have 16GB ram.
Starting amavisd: Error in config file "/etc/amavis/conf.d/50-user": dkim_key: selector dkim for domain troia-studio.cz already in use
You have duplicate setting of "dkim_key(...)" in 50-user, fix it and start amavisd again.
Please show me output of commands below, looks like you don't have iRedAPD enabled in both 'smtpd_recipient_restrictions' and 'smtpd_end_of_data_restrictions':
postconf smtpd_recipient_restrictions
postconf smtpd_end_of_data_restrictions
Default setting in iRedMail is:
# Recipient restrictions
smtpd_recipient_restrictions =
reject_unknown_recipient_domain
reject_non_fqdn_recipient
reject_unlisted_recipient
check_policy_service inet:127.0.0.1:7777
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
# END-OF-MESSAGE restrictions
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:7777
WarfaceZ wrote:Starting amavisd: Error in config file "/etc/amavis/conf.d/50-user": dkim_key: selector dkim for domain troia-studio.cz already in use
You have duplicate setting of "dkim_key(...)" in 50-user, fix it and start amavisd again.
There was 3 duplicity, now working sending, but receive not
syslog:
Jun 11 14:47:01 mail CRON[13535]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30; /usr/sbin/sogo-ealarms-notify)
Jun 11 14:47:02 mail postfix/postscreen[13539]: CONNECT from [209.85.218.42]:35023 to [185.8.238.40]:25
Jun 11 14:47:02 mail postfix/postscreen[13539]: cache btree:/var/lib/postfix/postscreen_cache full cleanup: retained=6 dropped=0 entries
Jun 11 14:47:08 mail postfix/postscreen[13539]: PASS NEW [209.85.218.42]:35023
Jun 11 14:47:08 mail postfix/smtpd[13543]: connect from mail-oi0-f42.google.com[209.85.218.42]
Jun 11 14:47:09 mail postfix/smtpd[13543]: Anonymous TLS connection established from mail-oi0-f42.google.com[209.85.218.42]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Jun 11 14:47:09 mail postfix/smtpd[13543]: A44E63B7869: client=mail-oi0-f42.google.com[209.85.218.42]
Jun 11 14:47:09 mail postfix/cleanup[13471]: A44E63B7869: message-id=<CALBtYbT8CCJw1wYPQnhKGF_ZhVfZHDVNtZsVcYNGR7qn=shKPA@mail.gmail.com>
Jun 11 14:47:09 mail postfix/qmgr[2963]: A44E63B7869: from=<ghome.cz@gmail.com>, size=3506, nrcpt=1 (queue active)
Jun 11 14:47:10 mail postfix/smtpd[13543]: disconnect from mail-oi0-f42.google.com[209.85.218.42]
Jun 11 14:47:10 mail postfix/smtpd[13553]: connect from localhost[127.0.0.1]
Jun 11 14:47:10 mail postfix/smtpd[13553]: 82C433B786E: client=localhost[127.0.0.1]
Jun 11 14:47:10 mail postfix/cleanup[13471]: 82C433B786E: message-id=<CALBtYbT8CCJw1wYPQnhKGF_ZhVfZHDVNtZsVcYNGR7qn=shKPA@mail.gmail.com>
Jun 11 14:47:10 mail postfix/smtpd[13553]: disconnect from localhost[127.0.0.1]
Jun 11 14:47:10 mail postfix/qmgr[2963]: 82C433B786E: from=<ghome.cz@gmail.com>, size=4107, nrcpt=1 (queue active)
Jun 11 14:47:10 mail amavis[13428]: (13428-02) Passed CLEAN {RelayedInbound}, [209.85.218.42]:35023 [209.85.218.42] -> , Queue-ID: A44E63B7869, Message-ID: , mail_id: mBy73bwnC38p, Hits: -0.818, size: 3506, queued_as: 82C433B786E, dkim_sd=20120113:gmail.com, 611 ms, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FROM=0.001,HTML_MESSAGE=0.001,RCVD_IN_DNSWL_LOW=-0.7,RCVD_IN_MSPIKE_H3=-0.01,RCVD_IN_MSPIKE_WL=-0.01,SPF_PASS=-0.001,URIBL_BLOCKED=0.001]
Jun 11 14:47:10 mail postfix/smtp[13477]: A44E63B7869: to=<jan.galek@troia-studio.cz>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.94, delays=0.31/0/0.02/0.61, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 82C433B786E)
Jun 11 14:47:10 mail postfix/qmgr[2963]: A44E63B7869: removed
Jun 11 14:47:10 mail postfix/pipe[13527]: 82C433B786E: to=<jan.galek@troia-studio.cz>, relay=dovecot, delay=0.07, delays=0.01/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure)
Jun 11 14:48:01 mail CRON[13563]: (sogo) CMD (/usr/sbin/sogo-tool expire-sessions 30; /usr/sbin/sogo-ealarms-notify)
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Linux Mint XFCE 17.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Unable to correct problems, you have held broken packages.
How to solve? Thanks!
I get new error:
Jun 11 18:43:25 mail postfix/qmgr[3656]: 280003B788C: from=<ghome.cz@gmail.com>, size=3305, nrcpt=1 (queue active)
Jun 11 18:43:25 mail postfix/smtpd[3748]: disconnect from localhost[127.0.0.1]
Jun 11 18:43:25 mail amavis[1830]: (01830-03) Passed CLEAN {RelayedInbound}, [209.85.218.52]:36115 [209.85.218.52] -> , Queue-ID: 61DF43B788B, Message-ID: , mail_id: j2k--6FuvUyD, Hits: -0.819, size: 2703, queued_as: 280003B788C, dkim_sd=20120113:gmail.com, 501 ms, Tests: [DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,FREEMAIL_FROM=0.001,HTML_MESSAGE=0.001,RCVD_IN_DNSWL_LOW=-0.7,RCVD_IN_MSPIKE_H3=-0.01,RCVD_IN_MSPIKE_WL=-0.01,SPF_PASS=-0.001]
Jun 11 18:43:25 mail postfix/smtp[3745]: 61DF43B788B: to=<jan.galek@troia-studio.cz>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.85, delays=0.31/0.02/0.02/0.5, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 280003B788C)
Jun 11 18:43:25 mail postfix/qmgr[3656]: 61DF43B788B: removed
Jun 11 18:43:25 mail postfix/pipe[3749]: 280003B788C: to=<jan.galek@troia-studio.cz>, relay=dovecot, delay=0.06, delays=0.02/0.01/0/0.03, dsn=4.3.0, status=deferred (temporary failure)
SOLVED - I change UID + GID in /etc/passwd 3,4 paramto 2000 and in /etc/group set group id (GID) to 2000 + change permisions for /var/log/dovecot-sieve.log
is catchall account needed in this case?
Is this the only way to solve my problem?
Thanks!