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

Spamcop filtering

$
0
0

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

After having all my email rejected for a time yesterday due to the spamcop.net domain expiration I started investigating how to prevent this in the future.  The recommendation was to verify the IP returned from bl.spamcop.net was 127.0.0.2 and not just any valid IP.

How would I best implement this?


forwardings and alias not working

$
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? download installer
- Linux/BSD distribution name and version: centos 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

When I try to froward email to gmail it doesn't work, I made a filter in roundcube and nowthing.

Also when I add alias I get mail back userunknown or when I try to send email on alias from user account I get
Recipient address rejected: User unknown (Code: 550) in /opt/www/roundcubemail-1.4.9/program/lib/Roundcube/rcube.php on line 1702

Can't access mail after Ubuntu upgrade to 20.04 from 18.04

$
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? Manually upgraded from 0.9.8
- Linux/BSD distribution name and version: Ubuntu 20.04
- 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 had a working installation under Ubuntu 18.04 and upgraded the distro to 20.04.2.  Now I'm unable to access any mail with Sogo (Roundcube is not installed).  The basic error seems to be the following:

Feb 01 23:32:42 sogod [3010]: <0x55d51210fbc0[SOGoMailAccount]:0> renewing imap4 password
Feb 01 23:32:42 sogod [3010]: [ERROR] <0x0x55d511d5daf0[NGImap4ConnectionManager]> IMAP4 login failed:
  host=127.0.0.1, user=joe@antmail.us, pwd=yes
  url=imap://joe%40antmail.us@127.0.0.1/?tls=NO&tlsVerifyMode=default
  base=(null)
  base-class=(null))
  = <0x0x55d5120abfb0[NGImap4Client]: login=joe@antmail.us(pwd) address=<0x0x55d5120aedb0[NGInternetSocketAddress]: host=127.0.0.1 port=143>>
Feb 01 23:32:42 sogod [3010]: [ERROR] <0x55d51210fbc0[SOGoMailAccount]:0> Could not connect IMAP4
Feb 01 23:32:42 sogod [3010]: 192.168.2.242 "POST /SOGo/so/joe@antmail.us/Mail/unseenCount HTTP/1.0" 200 21/31 0.045 - - 0 - 26


I'm not opposed to wiping the whole installation and starting from scratch with a fresh install of Ubuntu / iredmail other than that I would like to preserve the emails if possible.  Any help would be appreciated.

iRedMail and COTS Secure Email Gateway integration

$
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? iRedMail Easy, as per the walkthrough
- Linux/BSD distribution name and version: Ubuntu 20.0.4
- 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.
====

Hi all,

Following the full iRedMail installation on Ubuntu 20.04 as per the awesome walkthrough guide, i am ready to implement a commercial Secure Email Gateway product in order to get additional security features for both incoming and outgoing email.

Can you please guide me to the changes i need to make in order to achieve this incoming/outgoing redirection to the Secure Email Gateway server?

Thanks in advance

Empty dovecot logs

$
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? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04.1 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 guys, i installed  iredmail latest version a weeks ago and dovecot logs are empty from the beginning, however logs in /var/log/syslog are correctly but i need this separate for better visualization. Tried deleting logs and restarting rsyslog but nothing.
I would appreciate if anyone could tell me what's wrong, Thanks in advance.

Here the configs:
# doveconf -n | grep log

deliver_log_format = from=%{from}, envelope_sender=%{from_envelope}, subject=%{subject}, msgid=%m, size=%{size}, delivery_time=%{delivery_time}ms, %$
  lastlogin = mysql:/etc/dovecot/dovecot-last-login.conf
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c %k session=<%{session}>
mail_plugins = quota mailbox_alias acl mail_log notify
  last_login_dict = proxy::lastlogin
  last_login_key = # hidden, use -P to show it
  mail_log_events = delete undelete expunge copy mailbox_create mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size from subject flags
service imap-login {
service managesieve-login {
service pop3-login {
syslog_facility = local5
  mail_plugins = quota mailbox_alias acl mail_log notify sieve
  mail_plugins = quota mailbox_alias acl mail_log notify sieve
  mail_plugins = quota mailbox_alias acl mail_log notify imap_quota imap_acl last_login
  mail_plugins = quota mailbox_alias acl mail_log notify last_login

# cat /etc/rsyslog.d/*dovecot*

# Debug
if $syslogfacility-text == 'local5' and ($msg contains ": Debug:") then -/var/log/dovecot/dovecot.log
& stop

# sieve and LMTP
if $syslogfacility-text == 'local5' and ($msg contains "lmtp(" or $msg contains "lda(") then -/var/log/dovecot/lda.log
& stop

# IMAP
if $syslogfacility-text == 'local5' and ($msg contains "imap(" or $msg contains "imap-login:") then -/var/log/dovecot/imap.log
& stop

# POP3
if $syslogfacility-text == 'local5' and ($msg contains "pop3(" or $msg contains "pop3-login:") then -/var/log/dovecot/pop3.log
& stop

# managesieve
if $syslogfacility-text == 'local5' and ($msg contains "managesieve(" or $msg contains "managesieve-login:") then -/var/log/dovecot/sieve.log
& stop

# All other Dovecot log
if $syslogfacility-text == 'local5' and $programname startswith "dovecot" then -/var/log/dovecot/dovecot.log
& stop

# cat /etc/logrotate.d/dovecot

/var/log/dovecot/*.log {
    weekly
    rotate 10
    missingok
    compress
    delaycompress
    notifempty
    sharedscripts

    postrotate

    endscript
}

#cat /etc/rsyslog.conf

# /etc/rsyslog.conf configuration file for rsyslog
#
# For more information install rsyslog-doc and see
# /usr/share/doc/rsyslog-doc/html/configuration/index.html
#
# Default logging rules can be found in /etc/rsyslog.d/50-default.conf


#################
#### MODULES ####
#################

module(load="imuxsock") # provides support for local system logging
#module(load="immark")  # provides --MARK-- message capability

# provides UDP syslog reception
#module(load="imudp")
#input(type="imudp" port="514")

# provides TCP syslog reception
#module(load="imtcp")
#input(type="imtcp" port="514")

# provides kernel logging support and enable non-kernel klog messages
module(load="imklog" permitnonkernelfacility="on")

###########################
#### GLOBAL DIRECTIVES ####
###########################

#
# Use traditional timestamp format.
# To enable high precision timestamps, comment out the following line.
#
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat

# Filter duplicated messages
$RepeatedMsgReduction on

#
# Set the default permissions for all log files.
#
$FileOwner syslog
$FileGroup adm
$FileCreateMode 0640
$DirCreateMode 0755
$Umask 0022
$PrivDropToUser syslog
$PrivDropToGroup syslog

#
# Where to place spool and state files
#
$WorkDirectory /var/spool/rsyslog

#
# Include all config files in /etc/rsyslog.d/
#
$IncludeConfig /etc/rsyslog.d/*.conf

# ls -la /var/log/ | grep dovecot

drwxr-xr-x   2 syslog    adm                  4096 dic 12 09:29 dovecot

# ls -la /var/log/dovecot

total 8
drwxr-xr-x  2 syslog adm    4096 dic 12 09:29 .
drwxr-xr-x 21 root   syslog 4096 feb  2 00:00 ..
-rw-r-----  1 syslog adm       0 dic 10 19:50 dovecot.log
-rw-r--r--  1 syslog adm       0 dic 12 09:29 imap.log
-rw-r-----  1 syslog adm       0 dic 10 19:50 lda.log
-rw-r-----  1 syslog adm       0 dic 10 19:50 pop3.log
-rw-r-----  1 syslog adm       0 dic 10 19:50 sieve.log

How can I ignore the local directory when I send emails?

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 4.4
- Deployed with iRedMail Easy or the downloadable installer?: downloadable installer
- Linux/BSD distribution name and version: Ubuntu
- 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.
====

I have a domain with iredmail and gsuite accounts.

from gmail I can send mails to iredmail accounts, but in iredmail I can't send mails to gsuite

I get an error on unknown user

How can I ignore the local directory when I send emails?

Thanks

iredadmin 1.2 domain and account list 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? downloadable installer
- Linux/BSD distribution name and version: ubuntu 18.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,

I upgraded iredmail from 1.3.1 to 1.3.2.

After upgrading iredadmin, domains and accounts list are empty.

Is there a know issue about this ?

Gregory

FreeBSD ports instead of pkgs?

$
0
0

Hi,

is there any reason why on FreeBSD ports are used instead of packages? Are custom build option needed?

From "Absolute FreeBSD" by Michael W. Lucas:

Ports and Production
I would strongly encourage you to build your own package repository with
poudriere and manage your servers’ ports from that repository. Upgrading
ports directly installed on a host is annoying and difficult. Tools like port-
master and portupgrade are obsolete at this moment, and while they might
get updated or rewritten, poudriere is the eternal method. You have been
warned. Explore ports on a disposable test system.


Master imap access

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (/etc/iredmail-release doesn't exist): iRedAdmin 0.1.6, dovecot 1.2.16.
- Deployed with iRedMail Easy or the downloadable installer? Unknown
- Linux/BSD distribution name and version:  CentOS release 5.6 (Final)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): apache (httpd-2.2.3-45.el5.centos.1)
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, I have to migrate the content of an iRedMail server by imapsync.
Is there a way to have a master account that can have access to the other mailboxes so to use it for --authuser1 imapsync option?

This way I do not have to know all the account passwords.
I know very little about this server.
Sure it's old!!!
I have access to iRedAdmin and the shell as root user.

Thank you for any advice.

iRedmail Admin 500 internal server error

$
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: 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? New install
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
New installation on fresh Ubuntu 20.04 with fresh iRedmail 1.3.2.
Cannot login to iredadmin page, receivind 500 internal server error.
Tried to run iredadmin.py from /opt/www/iredadmin and receiving following stacktrace :

Traceback (most recent call last):
  File "iredadmin.py", line 8, in <module>
    from libs import iredbase
  File "/opt/www/iRedAdmin-1.2/libs/iredbase.py", line 18, in <module>
    from . import iredutils
  File "/opt/www/iRedAdmin-1.2/libs/iredutils.py", line 54
    def is_auth_email(s) -> bool:
                         ^
SyntaxError: invalid syntax

Not sure about the next steps. Anybody?

554 5.7.1 Relay access denied

$
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? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 20.04.2 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,

I have a system with public IP with custom software (we cannot use authentication), from which I would like to send emails to our partners. I have created an mail account for that system and I have configured the mail address of our mail server, which is on the same public IP as this system. I have added the public ip of that system into /opt/iredapd/settings.py with MYNETWORKS = [ 'public ip' ], into this file /etc/postfix/helo_access.pcre the actual hostname of the machine, using the examples, which I found.

I have also added in here /etc/postfix/sender_access.pcre  the IP address of the system and the email address again using the formats mentioned into iredmail documentations.

I have whitelisted also the public IP into /etc/postfix/main.cf mynetworks parameter.

Also, permit_mynetworks was added on top of various sender restrictions.

No matter all that, when I try to send an email from that system, inside the mail server i see this:

Feb 11 11:19:45 mail postfix/smtpd[18068]: NOQUEUE: reject: RCPT from FQDN[public ip of the system]: 554 5.7.1 <partnermeil@domain.com>: Relay access denied; from=<mailadress@mydomain.com> to=<partnermeil@domain.com> proto=ESMTP helo=<FQDN of the system from where i am seding mails>

Please advise what can be done, so that systems, for which we cannot use smtp auth and tls, to be able to send email outside to our organizations?

BR,
Stan

Can´t open Iredadmin

$
0
0

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

Hello , I tried every solution here regarding this topic but I keep getting the Gateway-Timeout 504 in 99% of my logins...

2021/02/11 12:46:02
[error] 21991#21991: *138 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 213.1x..., server: _, request: "GET /iredadmin/dashboard?checknew HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "xxx", referrer: "https://xxx/iredadmin"

Default permissions for personal calendars

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2021020901 (Backend: mariadb, Date: 2021-02-10 13:36:19) iRedMail Easy
====

Hi,

is it possible to set default permissions to personal calendars in SOGo? For all authenticated users I'd like to have:

* show all for public entries
* show date & time for private entries

Setting should apply for all existing users and all newly created users.

SOGo: set a default email signature for all mailboxes

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2021020901 (Backend: mariadb, Date: 2021-02-10 13:36:19) iRedMail Easy
- Linux/BSD distribution name and version: Ubuntu 20.04
====

Hi,

I'm trying to set a default email signature for all users. Therefore I've found this command:

sogo-tool user-preferences set defaults 'myuser@example.com' SOGoMailSignature '{"SOGoMailSignature":"Greetings from iRedMail"}'

It runs without error and the following command:

sogo-tool user-preferences get defaults 'myuser@example.com' SOGoMailSignature

also returns:

<0x0x55c718b5e890[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0x55c718b5e890[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
SOGoMailSignature: "Greetings from iRedMail"

But I cannot see the signature when writing a new email. Also I cannot see it in the SOGo web settings (settings->e-mail->IMAP).

Any idea what's wrong?

How to create a send only email account

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version :  1.3.2
- Deployed with the downloadable installer?
- Linux/BSD distribution name and version: ubuntu 20.04
- Store mail accounts in which backend : MySQL
- Web server : Nginx
- Manage mail accounts with iRedAdmin-Pro? yes

====

How can i create an email address that can only send out emails but cannot receive... in that if some one sends an email to it gets a bounce back message with custom mail saying that this adress can't receve any mail  ?

Thanks


postmaster@mydomain.xy

$
0
0

Is it necessary to have DSN A record for postmaster leading to mail server IP?
Cause I have a postmaster@mydomain.xy which A record leads to another server which hosts my web server. so A record is not the same as other e.g. MX records. Is it ok or not? On first look it works. I can send and receive emails but I am not sure if it is correct. Thanks for any help.

iRedAPD's 'CHANGE_PASSWORD_NEVER_EXPIRE_USERS' list *must* exist!

$
0
0

I'm not sure this qualifies as a bona fide 'bug report', but as I have just spent the better part of two days troubleshooting, it deserves some attention!

Symptom: iRedAPD module 'ldap_force_change_password' seems to have no effect, no matter how invoked.

Solution: I found (strictly by accident) that one MUST NOT delete the line defining this empty python list ('CHANGE_PASSWORD_NEVER_EXPIRE_USERS') at the bottom of iRedAPD's 'settings.py' file. Since our organization doesn't really care to expire passwords on a regular basis, no one needs exclusion. Expiry is only used for new accounts, and occasional forced changes. So I deleted that line some time ago in the interest of brevity.

It was only after hours of troubleshooting that I copied the whole iRedAPD directory from another test server, compared several files, and noticed this difference. Thinking I might actually want it after all (someday?), I copied it back into the settings.py...and upon restarting, suddenly 'ldap_force_change_password' module worked! (:facepalm:)

@devs: Seems to me it really should be possible to have a default value in your code, which is overridden by this value in 'settings.py'. That would have saved me a LOT of time...and some hair! ;-)

noreplay@domain.xy

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.3.2
- Deployed: downloadable installer
- Linux/BSD distribution: Ubuntu 20.04
- Store mail accounts in which backend: MySQL
- Web server: Nginx
- iRedAdmin-Pro: NO
====
I have created account noreplay@domain.xy. Sending/Recieving emails is ok. But I need to block sending messages to this account and I don't see any option to do this in iRedMail admin nor in RoudCube. How can I do it?

allow apache server to display roundcubemail

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2020041601
- Deployed with iRedMail Easy or the downloadable installer? iRedMail easy
- 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
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hi,
how can i  make apache load roundcubemail? i have managed to get nginx to run on IP1 & apache to run on IP2. what would i need to configure in apache virtual host conf to allow roundcubemail to load?

thanks

update only OS?

$
0
0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian GNU/Linux 8.11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
hello,
if you can see - on server installed old OS and now i have a trouble with it )
question: if i upgrade OS (debian 8) to new release (debian 9 and when to debian 10) - do I need to update iRedMail at the same time?
or iRedMail still working and can I update it later?
thanks

Viewing all 12095 articles
Browse latest View live


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