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

Fail2Ban Filter SQL Error

$
0
0

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

Good afternoon,

I'm running the current iRedMail on Ubuntu 20.04 (which I love, thank you for the awesome product!)  The integrated filter for fail2ban works great overall, but I've gotten a crash with some garbage input... I'm looking either for some help sanitizing this or hopefully to pass this on to make the filter more robust.  Here's the offending connection and log.  Thank you for your help and time!

mail.log:

Apr 13 13:53:25 mail postfix/postscreen[93571]: PREGREET 142 after 0 from [209.141.33.145]:35062: GET / HTTP/1.1\r\nUser-Agent: Wget/1.20.3 (linux-gnu)\r\nAccept: */*\r\nAccept-Encoding: identity\r\


fail2ban.log:

2021-04-13 13:53:26,275 fail2ban.utils          [2344]: ERROR   7f3f4c251640 -- exec: ['f2bV_ipjailmatches=$0 \n/usr/local/bin/fail2ban_banned_db ban 209.141.33.145 http,https,sop3,pop3s,imap,imaps,sieve tcp postfix-pre 1 $f2bV_ipjailmatches', 'Apr 13 13:53:25 mail postfix/postscreen[93571]: PREGREET 142 after 0 from [209.141.33.145]:35062: GET / HTTP/ Wget/1.20.3 (linux-gnu)\\r\\nAccept: */*\\r\\nAccept-Encoding: identity\\r\\']

2021-04-13 13:53:26,275 fail2ban.utils          [2344]: ERROR   7f3f4c251640 -- stderr: "ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual thar MariaDB server version for the right syntax to use near ''Apr 13 13:53:25 mail postfix/postscreen[93571]: PREGREET 142 after 0 from [2...' at line 8"

2021-04-13 13:53:26,275 fail2ban.utils          [2344]: ERROR   7f3f4c251640 -- returned 1

2021-04-13 13:53:26,276 fail2ban.actions        [2344]: ERROR   Failed to execute ban jail 'postfix-pregreet' action 'banned_db' info 'ActionInfo({'ip': '209.141.33.145', 'famil<function Actions.ActionInfo.<lambda> at 0x7f3f4d87b9d0>, 'ipjailmatches': 'Apr 13 13:53:25 mail postfix/postscreen[93571]: PREGREET 142 after 0 from [209.141.33.145]:35062: GETr-Agent: Wget/1.20.3 (linux-gnu)\\r\\nAccept: */*\\r\\nAccept-Encoding: identity\\r\\', 'ipjailfailures': 1, 'raw-ticket': <function Actions.ActionInfo.<lambda> at 0x7f3f4d87c0d 209.141.33.145


sogo_cache_folder database table growing fast

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2
- Deployed with iRedMail Easy or the downloadable installer? no
- Linux/BSD distribution name and version: Ubuntu16 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi dear people outside,

we have trouble with our postgresql Database in combination with sogo.
The Database table 'sogo_cache_folder' is growing strongly.
the partition has not grown in recent years.

But now from 10 GB to 150GB in a few days.

sogo=# SELECT pg_size_pretty( pg_total_relation_size('sogo_cache_folder') );
pg_size_pretty
----------------
156 GB
(1 row)

How can we identify which datatype and kind is this? Do we need this cache data?

Best wishes
Vincent

[SOLVED] migration to new server and mysql access denied

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: debian buster 10.9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- 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.
====
hello everyone,
i'm running some pre-migration tests and i followed the guide (https://docs.iredmail.org/migrate.to.ne … l-accounts) regarding the mysql part.

i have an iredmail installation on a proxmox ve container and, given the amount of mails (about 200gb), incremental backups take about 6 hours because the software has to re-read the whole disk every time looking for differences. i decided to migrate to a proxmox vm because backups are faster.

now i have a debian buster 10.9 container, iredmail 1.3.2 mysql with roundcube, sogo, fail2ban, etc. (complete installation) and an identical vm with the same mysql passwords.

I copied from the new server the mail archive (vmail1) with rsync (rsync -apt root@xxx.xxx.xxx.xxx:/var/vmail/vmail1 /var/vmail) and I copied from the old server the backups of the mysql database and imported them.

when I restart the server I get from roundcube a connection error to the database

DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.

in the log are reported access denied:

Access denied for user 'vmail'@'localhost' (using password: YES)
Access denied for user 'netdata'@'localhost' (using password: YES)
Access denied for user 'iredadmin'@'localhost' (using password: YES)
Access denied for user 'fail2ban'@'localhost' (using password: YES)
Access denied for user 'sogo'@'localhost' (using password: YES)
Access denied for user 'roundcube'@'localhost' (using password: YES)

what and where am i wrong?
thanks for your help, if I can post or attach other data let me know.

/etc/php/7.3/fpm/pool.d/www.conf

$
0
0

After running "apt update && apt dist-upgrade" selected "Y" to the following:

Configuration file '/etc/php/7.3/fpm/pool.d/www.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation

Was a mistake made and does something need to fixed now?

I will answer my own question. Yes a mistake was made because Roundcube is now giving a 502 Bad Gateway error. iRedAdmin login still works.

Resolved the issue by restoring www.conf.dpkg-old.

So if prompted for the above click "N" keeping the currently installed version.


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

How to install web.py on FreeBSD?

$
0
0

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

Hourly cron emails:
Cron <root@plankton> /usr/local/bin/python3 /opt/iredapd/tools/spf_to_greylist_whitelists.py >/dev/null

Traceback (most recent call last):
  File "/opt/iredapd/tools/spf_to_greylist_whitelists.py", line 60, in <module>
    import web
ModuleNotFoundError: No module named 'web'

I had this with 1.3.9 and 1.4.0 where web.py is not installed. Besides the above spf_to_greylist_whitelists.py the error also occurs with /opt/iredapd/tools/cleanup_db.py and /usr/local/www/iredadmin/tools/delete_mailboxes.py.

How to install the missing module on FreeBSD?

Upgrade and ssh ban forever and fail2ban.log empty

$
0
0

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

Good evening experts,

It has taken me two weeks, but I have successfully removed myself from Zimbra over to iRedMail.  Thank you for such a fantastic product.  If I may, I have a few questions ...

Upgrade:  Based upon what I just read on these forums, I should have installed iRedMail Easy as it performs the upgrades automatically?  Is that the case?  And if so, can I easily upgrade from the downloaded installed to iRedMail Easy?  Any tutorials available?  I am not an expert so it would have to be a fairly strait forward how-to document.  If I mess anything up my businesses emails could be lost (all 4 years of them).

ssh:  I have fail2ban running on all of my servers and it's a fantastic product, so I was happy to find that it's installed as part of iRedMail.  However, I would prefer that IP addresses that make multiple attempts to ssh in to the server be banned forever.  I added "bantime = 0" to /etc/fail2ban/jail.d/sshd.local and restarted fail2ban.  Not only does this not seem to work but now /var/log/fail2ban.log has been empty since that change.  I have removed that entry and restarted and it's still not working.

fail2ban.log:  As stated above the /var/log/fail2ban.log file is always empty.  I send this file to my email nightly so I can see what is going on with all of my servers.  This is working perfectly on all 5 of my other servers, but not this one.

Please advise.

Respectfully,

Martin

TlsV1 is not supported after Version no. 2020021001

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hi,
I have read that TLS V1 has not supported since 2020.02.10  and I decided to install latest version(1.3.2) while current IredMail is 0.9.9 .  I want to know how client would be affected from this change(TLS v1)? Should I check if outlook support TLS V1.2?

what is adminer

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,
What is adminer and how Iredmail use adminer? Can I use it for managing content in MySQL databases? how is accessible to use?


[status=deferred (temporary failur]AD + Dovecot + Postfix + RoundCube

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

*NEED YOUR HELP PLEASE*


I have status=deferred (temporary failure) error when i'm trying to send an email for an user@domain.com

On roundcube we can login with couple user@domaine.com/pwd but couldn't send or received mail.

Please see below the log and configuration files :


###Postfix mail log

Apr 15 14:27:17 <hostname> postfix/qmgr[233748]: 9E866281805: from=<user2@example.domain.c
om>, size=593, nrcpt=2 (queue active)
Apr 15 14:27:17 <hostname> postfix/pipe[275094]: 9E866281805: to=<user2@domain.com
>, relay=dovecot, delay=1185, delays=1185/0/0/0, dsn=4.3.5, status=deferred (mail system confi
guration error)
Apr 15 14:27:17 <hostname> postfix/pipe[275094]: 9E866281805: to=<user1@domain.com>, rela
y=dovecot, delay=1185, delays=1185/0/0/0, dsn=4.3.5, status=deferred (mail system configuratio
n error)
Apr 15 14:27:17 <hostname> postfix/pipe[275094]: warning: pipe flag `D' requires dovecot_destin
ation_recipient_limit = 1
Apr 15 14:27:38 <hostname> postfix/postfix-script[275468]: fatal: the Postfix mail system is al
ready running
Apr 15 14:28:07 <hostname> postfix/pickup[271872]: 8FB87281824: uid=0 from=<root@<hostname>>
Apr 15 14:28:07 <hostname> postfix/cleanup[275091]: 8FB87281824: message-id=<20210415142807.8FB
87281824@localhost.domain.com>
Apr 15 14:28:07 <hostname> postfix/qmgr[233748]: 8FB87281824: from=<root@<hostname>>, size=360,
nrcpt=1 (queue active)
Apr 15 14:28:07 <hostname> postfix/pipe[275094]: 8FB87281824: to=<user2@domain.com
>, relay=dovecot, delay=0.04, delays=0.01/0/0/0.03, dsn=4.3.0, status=deferred (temporary fail
ure)

### Dovecot Log
Apr 15 14:24:58 imap-login: Info: Login: user=<user1@domain.com>, method=PLAIN, rip=127.
0.0.1, lip=127.0.0.1, mpid=275051, secured, session=<LEfLoAPAcoV/AAAB>
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Debug: Added userdb se
tting: mail=maildir:~/Maildir/
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Debug: Effective uid=5
000, gid=5000, home=/var/mail/vhosts/path/user1@domain.com
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Debug: Namespace inbox
: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mail
dir:~/Maildir/
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Debug: maildir++: root
=/var/mail/vhosts/path/user1@domain.com/Maildir, index=, indexpvt=, control=
, inbox=/var/mail/vhosts/path/user1@domain.com/Maildir, alt=
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Debug: Namespace : typ
e=private, prefix=#mbox/, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes location=mbo
x:~/mail:INBOX=/var/mail/vhosts/path/user1@domain.com
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Debug: fs: root=/var/m
ail/vhosts/path/user1@domain.com/mail, index=, indexpvt=, control=, inbox=/v
ar/mail/vhosts/path/user1@domain.com, alt=
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Debug: Mailbox INBOX:
Mailbox opened because: STATUS
Apr 15 14:24:58 imap(user1@domain.com)<275051><LEfLoAPAcoV/AAAB>: Info: Logged out in=50
out=546 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

## RoundCube log
[15-Apr-2021 11:00:53 +0000]: <4eafak0n> IMAP Error: Login failed for user3@domain.com ag
ainst localhost from 10.209.143.145. AUTHENTICATE PLAIN: Temporary authentication failure. [ic
rd-mail:2021-04-15 11:00:53] in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on l
ine 204 (POST /?_task=mail&_action=refresh)


[15-Apr-2021 12:59:02 +0000]: <4eafak0n> IMAP Error: Login failed for user3@domain.com ag
ainst localhost from 10.209.143.145. Could not connect to localhost:143: Connection refused in
/usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 204 (POST /?_task=mail&_act
ion=refresh)


#Dovecot -n
# 2.3.7.2 (3c910f64b): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.7.2 ()
# OS: Linux 5.4.0-70-generic x86_64 Ubuntu 20.04.1 LTS ext4
# Hostname: <hostname>
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login
auth_verbose = yes
disable_plaintext_auth = no
first_valid_gid = 5000
first_valid_uid = 5000
imap_client_workarounds = tb-lsub-flags
lda_mailbox_autocreate = yes
listen = *
log_path = /var/log/dovecot.log
mail_debug = yes
mail_gid = vmail
mail_location = maildir:/var/mail/vhosts/%d/%n/
mail_privileged_group = mail
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress
comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify env
ironment mailbox date index ihave duplicate mime foreverypart extracttext
namespace {
  hidden = yes
  list = no
  location = mbox:~/mail:INBOX=/var/mail/vhosts/%d/%u
  prefix = "#mbox/"
  separator = /
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf
  driver = ldap
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
}
postmaster_address = postmaster@domain.com
protocols = imap pop3 lmtp
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service imap-login {
  inet_listener imap {
    port = 143
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service stats {
  unix_listener stats-reader {
    group = vmail
    mode = 0660
    user = vmail
  }
  unix_listener stats-writer {
    group = vmail
    mode = 0660
    user = vmail
  }
}
ssl = no
ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
userdb {
  args = uid=5000 gid=5000 home=/var/mail/vhosts/%Ld/%Lu allow_all_users=yes
  driver = static
}

#Postfix -n
lias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
compatibility_level = 2
default_transport = smtp
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps =
mail_owner = postfix
mailbox_command = /usr/lib/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
mailbox_size_limit = 0
mydestination = $my<hostname>, localhost.$mydomain, localhost
mydomain = domain.com
my<hostname> = <hostname>
myorigin = /etc/mailname
queue_directory = /var/spool/postfix
readme_directory = no
recipient_bcc_maps =
recipient_delimiter = +
relay_domains =
relay_recipient_maps =
relayhost =
sender_bcc_maps =
sender_dependent_relayhost_maps =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $my<hostname> ESMTP $mail_name (Ubuntu)
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destinatio
n
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = domain.com
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ad_sender_login_maps.cf
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_ciphers = medium
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_protocols = TLSv1 TLSv1.1 TLSv1.2
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail/vhosts/path
virtual_mailbox_domains = domain.com
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf
virtual_minimum_uid = 5000
virtual_transport = dovecot
virtual_uid_maps = static:5000

#Master.cf

smtp      inet  n       -       -     -       -       smtpd -v
#smtp      inet  n       -       y       -       1       postscreen
#smtpd     pass  -       -       y       -       -       smtpd
#dnsblog   unix  -       -       y       -       0       dnsblog
#tlsproxy  unix  -       -       y       -       0       tlsproxy
#submission inet n       -       y       -       -       smtpd
submission inet n       -       -       -       -       smtpd
#  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_tls_auth_only=yes
#  -o smtpd_reject_unlisted_recipient=no
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
smtps     inet  n       -       -       -       -       smtpd
#  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}


Please anyone help me, i've wast a lot of time for this particular issue.


Thank you

Allow internal network devices to send email with insecure connection

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
My setup
iRedMail version .1.3.2, downloadable installer, Ubuntu 20.01LTS, MariaDB, Nginx, No
My setup is Proxmox MGW on 25 port only for incoming mail, outgoing is sent directly via iredmail server in 587 port.

Hi, IredMail masters. I have a following problem. I need to enable send mails from internal lan via my mail server. I followed this documentation - https://docs.iredmail.org/additional.smtp.port.html for enabling 2525 port. Its work like a charm.
After that this one doc - https://docs.iredmail.org/allow.send.wi … auth.html.
This is not working.
In my /etc/postfix/sender_access.pcre I have a these records
/^backup@example\.bg$/ OK
/^10\.x\./ OK
/^10\.x\./ OK

This is my settings in /opt/iredapd/settings.py
MYNETWORKS = ['10.10.x.x','10.10.x.x','10.x.x.x']
ALLOWED_FORGED_SENDERS = ['backup@example.bg']

My goal is to send mail trought backup@example.bg to my mailbox a.dimitrov@example.bg in internal lan without SMTP auth and via 2525 port.
I have a backup software (is not support tls and ssl connection) and MS SQL from which I need to recieve notification.

AttributeError: 'add_subscribers'

$
0
0

OS: Ubuntu 20.04.2 LTS - up to date
DB: 10.3.25-MariaDB-0ubuntu0.20.04.1
webserver: nginx/1.18.0
iRedMail-1.4.0 - installed without any issues (downloaded installer)
No iRedAdmin-Pro

I'm getting the following error when I'm trying to add a subscriber to a mailing list

#sudo python3 /opt/mlmmjadmin-3.1/tools/maillist_admin.py add_subscribers list@domain.com user1@domain.com user2@domain.com

Traceback (most recent call last):
  File "/opt/mlmmjadmin-3.1/tools/maillist_admin.py", line 218, in <module>
    qr = backend.add_subscribers(mail=mail, subscribers=_subscribers)
AttributeError: module 'bk_iredmail_sql' has no attribute 'add_subscribers'

Could someone please help me with this issue?

Many thanks in forward.

prot 25 blocked by my isp. No outgoi9ng mails, only incoming working.

$
0
0

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

Hi Iread Team.
I have configured a new iredmail server and things are fine except no outbound mails are going. Since ISP has blocked port 25. incoming mails are coming fine. Kindly request you to give me a solution for this. Kindly excuse me if its duplicate issue, searched a lot and dint find any. i have only one mail server to change things. no forwarders. Thanks in advance.

Where is iRedMail heading?

$
0
0

What are the next few important features which will come in one of the next releases?

Unofficial Docker image for iRedAdmin

$
0
0

Hi,

For a lot of reasons, I dockerized almost everything on my server. But when it comes to the iRedMail components (iRedAdmin, iRedAPD, mlmmjadmin, etc), I didn't find any Docker image.

I know there is a big official image with everything in it, but imho it does not respect the Docker's philosophy, so I started to write Docker images myself for each components.

The first one is for iRedAdmin, it's an all-in-one image (nginx + uwsgi + cron) fully configurable by env variables.

You can find the project and the instruction to run the image on Github : https://github.com/colibris-xyz/iredadmin-docker/

I hope it will be useful for someone else! Please feel free to comment, ask for help or new features, fork it, etc, etc...

Connection errors in MySQL -logs after clean install of 1.4.0

$
0
0

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

I've completed a fresh install of iRedMail 1.4.0 on Ubuntu 20.04 LTS and am seeing some errors that worries me.

Out of the box I did add a LE SSL and set it up according to documentation on this site and added a few e-mail accounts. Other than that, it's untouched.

/var/log/mysql/error.log
2021-04-18  9:02:05 661 [Warning] Aborted connection 661 to db: 'iredapd' user: 'iredapd' host: 'localhost' (Got an error reading communication packets)
2021-04-18  9:15:23 675 [Warning] Aborted connection 675 to db: 'vmail' user: 'vmailadmin' host: 'localhost' (Got an error reading communication packets)
2021-04-18  9:45:22 708 [Warning] Aborted connection 708 to db: 'vmail' user: 'vmailadmin' host: 'localhost' (Got an error reading communication packets)
2021-04-18  9:45:23 707 [Warning] Aborted connection 707 to db: 'vmail' user: 'vmailadmin' host: 'localhost' (Got an error reading communication packets)
2021-04-18 10:01:01 726 [Warning] Aborted connection 726 to db: 'iredadmin' user: 'iredadmin' host: 'localhost' (Got an error reading communication packets)
2021-04-18 10:01:01 727 [Warning] Aborted connection 727 to db: 'iredapd' user: 'iredapd' host: 'localhost' (Got an error reading communication packets)
2021-04-18 10:01:01 728 [Warning] Aborted connection 728 to db: 'vmail' user: 'vmailadmin' host: 'localhost' (Got an error reading communication packets)
2021-04-18 10:02:05 730 [Warning] Aborted connection 730 to db: 'iredapd' user: 'iredapd' host: 'localhost' (Got an error reading communication packets)
2021-04-18 10:15:23 751 [Warning] Aborted connection 751 to db: 'vmail' user: 'vmailadmin' host: 'localhost' (Got an error reading communication packets)
2021-04-18 10:15:24 750 [Warning] Aborted connection 750 to db: 'vmail' user: 'vmailadmin' host: 'localhost' (Got an error reading communication packets)

On Ubuntu systems running MariaDB 10.3, the root MariaDB user is set to authenticate using the unix_socket plugin by default rather than with a password. Is that the issue here?


Thank you.


Can not connect to IMAP Server using Outlook and android Gmail

$
0
0

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

Hi, ZhangHuangbin

I have a problem with the connection to IMAP, I tried to connect my email to the server using outlook but an error occurred, the error that appears is
"We couldn't connect to the incoming IMAP server using the specified encryption method."
it's also the same as I'm using Gmail MUA on android
now I'm using 1 certificate with multiple SAN, and the certificate was created using certbot,I have used this certificate for 2 months and previously had no problems with Outlook , but when I tried to use Thunderbird or Roundcube no errors appeared.

[Caldav] Duplicate contacts

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? downlodable
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

i have a huge problem with Sogo and Caldav. I've imported 1000+ contacts for a customer and when I sync with an iPad and an iPhone, multiple contacts are duplicated, several times. So i have almost 5000 contacts in the customer account.
I tought it was a bug with caldav sync for outlook, but even if I desactivate the sync "two ways" and set only "duplicate" from server, some entries are duplicated. So my conclusion is there is a problem with caldav server (i don't know if i am clear big_smile)

If you have an idea ... smile

ActiveSync Not Working

$
0
0

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

Trying to configure autoconfig and autodiscover. When connecting w/ Outlook, I get this in the server access log:

"OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1" 401 33 "-" "-"

Why would it be giving a 401 response to an OPTIONS request to to /Microsoft-Server-ActiveSync?

Any help will be appreciated.

Stuck SOGo Calendar Event

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4
- Deployed with iRedMail Easy or the downloadable installer? Download
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
====

It looks like I have a malformed event stuck in my SOGo calendar. I cannot interact with the event from the SOGo web interface, is there a way to remove these things server-side with access to filesystem, tools, database?

Thanks!

[SOLVED] Stuck SOGo Calendar Event

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4
- Deployed with iRedMail Easy or the downloadable installer? Download
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
====

It looks like I have a malformed event stuck in my SOGo calendar. I cannot interact with the event from the SOGo web interface, is there a way to remove these things server-side with access to filesystem, tools, database?

Thanks!

Viewing all 12087 articles
Browse latest View live


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