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

ACM SSL Cert vs LetsEncrypt

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
====

I have switched to using AWS for my server needs, and I have minimal cloud experience. I decided to use Amazon's ACM to server my SSL certificate through a load balancer for my domain. Now, is this certificate able to provide the SSL encryption for my mail server as well? Or will LetsEncrypt be enough? Which option would be better? Is it even possible to use the ACM provided certificate for this purpose?


SQL Structure & Apache VHost Conf

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
====

I installed iRedMail on a running server, and everything went fine. The only problem was that, for some reason, none of the SQL users or tables were created, thus, preventing anything from working. If there was an updated list of users to create with the permissions needed as well as a single SQL file with the tables and structure needed, I think that should fix the problem. This would be a nice addition to have in the Docs.

Also, I'm using CodeIgniter for my website. So, aliases work (such as /mail for RoundCube), but services such as the iredadmin panel do not because CodeIgniter thinks /iredadmin is a route within the system that needs to be sent to a controller. When I add an alias to iRedAdmin's conf in Apache, I get a 403 Forbidden error.

Block senders domains like .tk

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: linux Ubuntu 14.04
- 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.
====

Is possible block domais like .tk .info ?
How ?

Clamav 0.99.3 needed because of security fix?

use iRedmail as relay for web server

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition.
- Linux/BSD distribution name and version: ubuntu 16,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,

I run iredmail to manage a handful of client domains and addresses. I also run a webserver where php sends out emails. Currently, the webserver has exim set up with dkim support etc. to send out emails directly from itself.

I'd like to transition to relaying all emails through my iredmail server, using it as a "smarthost", to simplify my management. I've tested this already, and it works ok after adding my webserver to "mynetworks", however it will only relay mail for addresses that actually exist on the system.

Is there a way to make iredmail/postfix relay all messages regardless of if the domain/address is present on the system?

Also, the messages being relayed didn't have the dkim signature appended by iredmail like other mail do sent through authenticated smtp. Can this be enabled too?

empty sieve log - sieve not working

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubunto 16.04
- 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.
====

I have sieve rules in standard location but they don't seem to be loading
I turned on debug but /var/log/dovecot/sieve.log is empty
But /var/log/dovecot/dovecot.log shows this.

My understanding is that sieve in iredmail does not need compiling so not sure how to resolve this

====
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: Pigeonhole version 0.4.13 (7b14904) initializing
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: file storage: Storage path `/var/vmail/vmail1/xxxx.com/m/a/i/mail-2018.01.14.00.16.41//sieve' not found
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: file storage: Failed to normalize active script directory (path=/var/vmail/vmail1/xxxx.com/m/a/i/mail-2018.01.14.00.16.41//sieve): Part of the path does not exist (yet)
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: file storage: Using Sieve script path: /var/vmail/vmail1/xxxx.com/m/a/i/mail-2018.01.14.00.16.41//sieve/dovecot.sieve
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: file storage: Storage path `/var/vmail/vmail1/xxxx.com/m/a/i/mail-2018.01.14.00.16.41//sieve/dovecot.sieve' not found
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: storage: No default script location configured
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: User has no personal script
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: file storage: Using Sieve script path: /var/vmail/sieve/dovecot.sieve
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: file script: Opened script `dovecot' from `/var/vmail/sieve/dovecot.sieve'
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: Executed before user's personal Sieve script(1): /var/vmail/sieve/dovecot.sieve
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: Loading script /var/vmail/sieve/dovecot.sieve
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: file script: Sieve binary `/var/vmail/sieve/dovecot.svbin' is not newer than the Sieve script `/var/vmail/sieve/dovecot.sieve' (2018-01-18 13:35:34 <= 2018-01-28 08:37:10)
Jan 28 10:00:33 mail dovecot: lda(mail@xxxx.com): Debug: sieve: binary up-to-date: script metadata indicates that binary /var/vmail/sieve/dovecot.svbin is not up-to-date
Jan 28 10:00:33 mail dovecot: lda(mail@firstoption.com): Debug: sieve: Script binary /var/vmail/sieve/dovecot.svbin is not up-to-date
====

iRedMail sieve - add flags

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- 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.
====

I want to add some 'custom' flags and found that setflag does not work unless addflag is used first
So I used this at top of sieve config file
===
require ["fileinto", "reject", "envelope", "variables", "imap4flags", "vacation", "regex", "relational", "comparator-i;ascii-numeric"];

addflag "MyFlags" "\\iRedSieve";

if address :is "From" "[XXXX|xxxx]@\\d+\.club$" {
        setflag "MyFlags" "\\iRedSieve";
}

===

1.  Do I have to leave addflag after initial use?

2.  If I leave it in, will this lead to multiple instances of the custom flag ?

3.  Where are these custom flags stored ? How can I view list of flags in MyFlags ?  Or in default list ?

MarkasJunk2

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 8
- 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.
====
I"m still having spam trouble.  Junk Folder is not being scanned because I'm getting repeated junk.

I wanted to install Amacube but found that it's not supported any longer.  I recently located this article about MarkasJunk2.  Is this something I can install in my existing setup to improve the spam filter?  It says it's still in Draft and should not be used in a production server.  I'm desperate and willing to try anything to stop the junk. 



https://docs.iredmail.org/store.spamass … n.sql.html


How to allow TLS on port 25 (recieve emails from other mail servers)

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- 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,

is it possible to let the iredmail server recieve emails on port 25 via tls?
without authentication, because the mails come from other mail servers, but I also don't want on open relay, so just accept mails for the mailserver itself.

Emails do not arrive - blocked by spam assasin?

$
0
0

==== Required information ====
- iRedMail version newest
- Linux/BSD distribution name and version centos 6.9_x64
- 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.
====

I am sending email from my webshop to my other email address. SMTP settings in webshop are good, eamil is sent.
But it never arrives in the other mailbox.

Both email adddresses are managed in iRedadmin, on the samer server.

In amavisd logs I only found some notices regarding unmatched. I whitelisted all email addresses in config of spam assasin
but still email do not arrive.

When I had different install of email server, the delivery was no problem. But with iredadmin most emails I send never get delivered, and also no bounce message
emails just go into blackk hole.

How should I start debugging this?

Thxs for help!!

Send email on backup script failure

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: CentOS 7.4
- 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,
Is it possible to have an email sent to an admin in the event of the backup script failing backups of the databases? I know the script logs to the Admin log, but I would like it to dispatch an email to me in the event of a failure because I rarely check the admin log. Thanks!

Mysql problem with SOGo (Got an error reading communication packets)

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04.3 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.
====

I started getting an error possibly after a few updates of SOGo nightly builds.

Error from /var/log/mysql/error.log

2018-01-30T16:02:01.570024Z 124 [Note] Aborted connection 124 to db: 'sogo' user: 'sogo' host: 'localhost' (Got an error reading communication packets)

and it keeps on going....

Error from /var/log/sogo/sogo.log

Jan 30 10:57:22 sogod [23480]: IPADDRESS "OPTIONS /SOGo/dav/EMAILADDRESS/ HTTP/1.0" 401 0/0 0.001 - - 0
Jan 30 10:57:22 sogod [23480]: [ERROR] <0x0x563bda21b0b0[SQLSource]> could not run SQL 'c_uid = 'EMAILADDRESS': <MySQL4Exception: 0x563bda572d30> NAME:ExecutionFailed REASON:Access denied for user 'sogo'@'localhost' (using password: YES)

and it keeps on going...

It looks like IMAP is working, but SOGo and Active Sync is not working. It is not possible to logon to sogo with mailaccount. It looks like its not able to connect to authenticate users. I have tried to google similar problems, but I havent got any solutions to work.

I am able to logon to mysql with user sogo and password from sogo.conf

How to change port 25?

$
0
0

.==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Debian 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.
====

Is it possible to change port 25 to another? An example 2525.
How can this be done?

Email Server force use other port

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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 want to setup an iRedMail Server that will force use port 588 for SMTP and 144 po IMAP both using STARTTLS.

We have an existing email server which is run also by iRedMail v 0.8.7 which currently using 587 and 143 STARTTLS.

How would I able to configure the server?

Thanks

Fresh install sending errors

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.7
- Linux/BSD distribution name and version:  Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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,
I just installed a fresh setup and did all the necessary configuration, however I can't send or receive mails when i checked mail.log found the below error:
postfix/amavis/smtp[2165]: DBD62560AC6: to=<****@c*****.com>, relay=none, delay=0.65, delays=0.65/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)


another error: spamd[2092]: config: no rules were found! Do you need to run 'sa-update'?

when I try to run sa-update i get the following error:
rules: failed to run FORGED_GMAIL_RCVD test, skipping:
        (Can't locate object method "check_for_forged_gmail_received_headers" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1318) line 1605.
)
channel: lint check of update failed, channel failed


Any ideas ?


Dovecot SASL Authentication Component Denial of Service attack

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  097
- Linux/BSD distribution name and version: cento7
- 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.
====

I have 2 minutes long attack in maillog from 149.202.30.121

Jan 29 23:14:12 mail postfix/qmgr[12246]: 1C69A40EE82C: removed
Jan 29 23:14:15 mail postfix/postscreen[27446]: CONNECT from [149.202.30.121]:61752 to [192.168.1.89]:25
Jan 29 23:14:15 mail postfix/postscreen[27446]: PREGREET 13 after 0.07 from [149.202.30.121]:61752: EHLO vejgQi\r\n
Jan 29 23:14:16 mail postfix/postscreen[27446]: HANGUP after 0.07 from [149.202.30.121]:61752 in tests after SMTP handshake

fail2ban didn't blocked this ip. Traffic was droped by my sophos utm: Dovecot SASL Authentication Component Denial of Service.
Sholud fail2ban detect it?

spamassassin/sa-update.cron cron job error

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.9.7
- Linux/BSD distribution name and version: CentOS 7 64-Bit
- 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.
====

Hi,

We got a error mail report from last day as below:

Email from: Cron Daemon
Subject: Cron <root@mail-srv> /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a /var/log/sa-update.log
Content: rules:
failed to run FORGED_GMAIL_RCVD test, skipping:
(Can't locate object method "check_for_forged_gmail_received_headers" via package "Mail::SpamAssassin::PerMsgStatus" at (eval 1322) line 227.
)
channel: lint check of update failed, channel failed
01-Feb-2018 05:40:53: SpamAssassin: Update available, but download or extract failed

Anyone know what it is as we also got the same message from other iRedmail Server too.

Many thanks.

Matt

Internal Server Error FreeBSD 10.4 & 11.1

$
0
0

hi zhang,
i tried Fresh Install on FreeBSD 10.4 & 11.1 for LDAP based. But i get same errors on both Version of FreeBSD.
is this a bug?

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.97
- Linux/BSD distribution name and version: FreeBSD 10.4 & 11.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.


i get from log :

root@mail:/usr/home/andy # tail -f /var/log/httpd-error.log
[Thu Feb 01 19:57:21.580165 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]   File "/usr/local/www/iredadmin/controllers/ldap/basic.py", line 11, in <module>
[Thu Feb 01 19:57:21.580178 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]     from libs.ldaplib import auth, decorators, admin as adminlib, ldaputils
[Thu Feb 01 19:57:21.580190 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]   File "/usr/local/www/iredadmin/libs/ldaplib/admin.py", line 7, in <module>
[Thu Feb 01 19:57:21.580201 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]     from libs.ldaplib import core, attrs, ldaputils, iredldif, deltree, connUtils, decorators
[Thu Feb 01 19:57:21.580214 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]   File "/usr/local/www/iredadmin/libs/ldaplib/deltree.py", line 5, in <module>
[Thu Feb 01 19:57:21.580226 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]     class DeleteLeafs(ldap.async.AsyncSearchHandler):
[Thu Feb 01 19:57:21.580237 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]   File "/usr/local/www/iredadmin/libs/ldaplib/deltree.py", line 11, in DeleteLeafs
[Thu Feb 01 19:57:21.580255 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]     _entryResultTypes = ldap.async._entryResultTypes
[Thu Feb 01 19:57:21.580282 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653] AttributeError: 'module' object has no attribute '_entryResultTypes'
[Thu Feb 01 19:57:21.580298 2018] [wsgi:error] [pid 2202] [remote 202.52.14.xxx:50653]

====

thank you before..

cheers,
andy

ARC - Authenticated Received Chain in iRedmail

$
0
0

==== Required information ====
Not relevant in this case
====

Citing http://arc-spec.org:

"What are the next steps for ARC?
If you are a mailbox provider or intermediary (mailing list operator, message forwarder), you should be planning your ARC implementation now (first half of 2018). Google has added ARC verification and sealing to their email services (Gmail, G Suite, and Google Groups). Several other companies will incorporate ARC into their products and services in the first half 2018.

Patches for the most popular mailing list managers (MLMs) will be available in the first quarter of 2018. Code libraries and modules are already available for those who need to integrate ARC functions into their systems. The commercial MTA MailerQ incorporates ARC, and the milters authentication_milter and OpenARC can be used to deploy ARC with the Postfix, Oracle Communications Messaging Server, and Sendmail MTAs."

So to my question - when in the implemention of any kind of ARC milter such as OpenARC due?

I do have implemented it myself, but when is it going to be shipped with iRedmail by default?

Setup Error

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): 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.
====

Errors were encountered while processing:
nginx-full
E: Sub-process /usr/bin/dpkg returned an error code (1)
<< 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@monitor:~/iRedMail-0.9.7# cd
You have mail in /var/mail/root

Viewing all 12101 articles
Browse latest View live