Master user is used to access ALL mailboxes on the server.
Re: dovect and multi master users
Re: emails containing docx and xlsx are banned
Remove '|bin' in variable '$banned_namepath_re =', then restart amavisd service.
Re: Problem with recieving email in local domain
Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'?
SpamAssassin mirror sites were not available at that time. You have to try again for some more times until it successfully downloaded rule files.
root@mx:~# freshclam
ERROR: Incorrect argument format for option HTTPProxyPort
ERROR: Can't open/parse the config file /etc/clamav/freshclam.conf
Do you have file /etc/clamav/freshclam.conf?
What's the value of 'HTTPProxyPort' setting in this file?
Re: Good editor for SOGo contacts?
You can search software/apps which supports CardDAV protocol, then connect to SOGo server.
CalDAV and CardDAV server addresses: https://<server>/SOGo/dav/<full email address>
Re: Domain Alias no longer working in 0.9.7
No changes made to alias domain related settings. Did you change any settings yourself?
I will test it later today. Thanks for the feedback.
Re: Domain Alias no longer working in 0.9.7
Tested alias domain and it works for me.
Re: Update iRedMail Passwords
The SQL user passwords were generated randomly during iRedMail installation, each one has 32 characters mixed with digit numbers and upper/lower letters. Unfortunately we don't have a procedure to update them regularly.
Re: emails containing docx and xlsx are banned
thanks, it solved my problem for xlsx files.
but i still have those for docx :
Jan 5 10:14:38 mail postfix/smtp[5292]: 19EC7480075: to=<a.deniau@sigire.fr>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.38, delays=0.06/0/0/0.31, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded, id=05361-10 - BANNED: _rels)
Re: FATAL: remaining connection slots are reserved for non-replication
Try to increase "max_connections" in /etc/postgresql/9.5/main/postgresql.conf. Restarting postgresql service is required.
Re: Demo/Evaluation version of iRedmail for Mobile App
Hi Zhang...Thanks for the reply and all your support. I tried without "special_use" and then it works.
Is it possible to write "And" filter in Sieve rules? Like checking a particular string (abc) on subject field "AND" checking a string (xyz) on body of the email? I was reviewing the sieve rules document but could not find any thing related to AND conditions. I can only see the sieve rules where it checks only one condition. If it is not possible with sieve rules, do you have any recommendations?
Amavis ANTI-SPAM-EXT & ANTI-SPAM-C not loaded
==== 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.
====
Checking my logs, I noticed the following message saying that ANTI-SPAM-EXT and ANTI-SPAM-C not loaded.
Jan 7 06:42:11 corp amavis[556]: ANTI-VIRUS code loaded
Jan 7 06:42:11 corp amavis[556]: ANTI-SPAM code loaded
Jan 7 06:42:11 corp amavis[556]: ANTI-SPAM-EXT code NOT loaded
Jan 7 06:42:11 corp amavis[556]: ANTI-SPAM-C code NOT loaded
Jan 7 06:42:11 corp amavis[556]: ANTI-SPAM-SA code loaded
I have been searching, without luck, to find out what these two modules do and if this a problem that needs to be resolved. I was hoping someone could point me to some resources regarding these modules.
Re: Problem with recieving email in local domain
My servers are behind a proxy with authentication. Already configure the proxy in /etc/clamav/freshclam.conf. Is there any way to download the spamassassins rules?
Re: FATAL: remaining connection slots are reserved for non-replication
Hey Zhang,
I've increased the max connections to 200. Will see if this fix the issue.
Thanks for your help
Amavis login
==== 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.
====v0.9.7 v08 mysql
Ubuntu 16.04
Mysql
Nginx
IredAdmin Panel
I have installed iRedMail and it works when receiving emails.
When sending emails I get ” Access denied for user 'amavisd'@'localhost' (using password: YES)”.
Would it be possible to do something about that or shall I reinstall Everything?
==== 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.
====
LDAP IPv6
==== 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): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hallo,
I've set up an Email-Server using the great iRedMail. Afterwards I wanted to test the Fail2ban config and realized that it isn't working for IPv6. Is there a way to activate Fail2ban as well for IPv6?
Thanks in advance!
SMTP over TLS/SSL Problem - Outlook 2013
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 OPENLDAP edition.
- Linux/BSD distribution name and version: CentOS Linux release 7.4.1708 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No (Free)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I encountered a problem about SMTP over TLS/SSL. it seems the problem has solved now but that was so strange for me. Because I tried with 465 and 587 in all modes (TLS/ SSL/ Auto ) separately but outlook show error:
"The mail server does not support encryption type ...."
also I have seen some time it showed "Contact ISP or network Administrator"
Also POP3 using SSL in 995 works fine each time in outlook test while adding the account.
I tried with different Internet line, but no success. also I have tried many times but each time I got those notification.
Restarting Service doesn't helpful. After completely restart server, I can continue with 587 in TLS Mode and finish adding the account.
I have use free version, I was wondering that let me know if any difference is here between Business and Free in source code. Also I would appreciated if any help is existed here about whats the cause of these incident. Could it be considered both Internet lines were faulty? (Or something else)
it is clean install without any config edit with latest update from centos Official repository.
I use outlook 2013. Just remove old account and then suddenly suffer that.
Thanks in advance.
Open-LDAP Outlook Global address book just return the owner by search
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 OPENLDAP edition.
- Linux/BSD distribution name and version: CentOS Linux release 7.4.1708 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No (Free)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have already open and add LDAP address book of iredmail thanks to https://docs.iredmail.org/use.openldap. … tlook.html
it done, But seems it doesn't pull all contacts to the "contact" folder (neather global, nor personal).
in fact seems this show only the contact of account owner when using search button and add something for search. (search for other contact doesn't show anything). I also play with Ctrl+Shift+B for re-arrange the order of contact list, even remove and newly add account and address list no luck. but I can see global just in roundcube.
at this way client can not have access to gloabal address list, any solution here for iredmail openldap? I use outlook 2013.
Also if I don't want to use EAS or Sogo, is there any robust solution for import in outlook? (Except manual import card)
can IMAP do this job (Download Address book) instead of pop3 in iredmail? (I just need to have global address book but in outlook). I think it can be important to have for many others too.
Thanks in advacnce
Re: Backup Mailboxes Using backup_mysql.sh
You make a valid point. rsync is a nice way to do that. I decided to use tar in order to keep multiple copies of the backup in case one gets corrupted, deleted, infected, etc. I wrote a script as such for reference and for others to use and stored it in /var/vmail/backup/backup_mailboxes.sh. It deletes any files older than 10 days in the target directory:
cd /var
mount path/to/our/SAN /mnt
tar -zcvf vmail-backup${TIMESTAMP}.tar.gz /var/vmail/
mv /var/vmail/vmail-backup${TIMESTAMP}.tar.gz /mnt/SAN/mailboxes
find /mnt/SAN/mailboxes/ -mindepth 1 -mtime +10 -delete
echo "Mailbox backup script was run. Please check SAN/mailboxes/ directory to see that the latest 10 days of mailboxes are there." | mail -s "iRedMail Mailbox Backup Script Was Run" it@mycompany.com
Then I added it to the daily cron job using:
# crontab -e -u root
0 4 * * * bash /path/to/backup_mysql.sh
If you can see any issues with that, please let me know, but it seems to work on my system.
Re: Problem with recieving email in local domain
What can I do until the spamassassins.org site is online?
Just installed iRedMail but have no databases
==== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.7
- Linux/BSD distribution name and version: FreeBSD
- 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.
====
Something vent wrong with the inital install iRedMail and the password for MySQL got lost somehow.
So when the installation came to the part to setup the databases it asked for the password and I didn't know it so I got a failed login to MySQL and therefore no databases were setup.
I tried running the setup script again and the it just skipped the part for setting up databases and unfourtunately it overwrote the original log and all got gotnow is this:
[ INFO ] Total time of ports compiling: 0 seconds, ~= 0 minute(s)
< SKIP > Function: post_install_cleanup.
< SKIP > Function: generate_ssl_keys.
< SKIP > Function: add_required_users.
< SKIP > Function: web_server_config.
< SKIP > Function: mysql_setup.
< SKIP > Function: postfix_setup.
< SKIP > Function: dovecot_setup.
< SKIP > Function: clamav_config.
< SKIP > Function: amavisd_config.
< SKIP > Function: sa_config.
< SKIP > Function: iredapd_setup.
< SKIP > Function: iredadmin_setup.
< SKIP > Function: rcm_setup.
< SKIP > Function: sogo_setup.
< SKIP > Function: awstats_setup.
< SKIP > Function: cleanup.
But I have no databases....
So I need to invoke the script for setting up the databases and permissions, but I don't know how, please help.
EDIT: I still had the terminal open so I could scroll back to that part.
It looks like this:
********************************************************************
* Start iRedMail Configurations
********************************************************************
[ INFO ] Create self-signed SSL certification files (2048 bits).
[ INFO ] Generate Diffie Hellman Group with openssl, please wait.
[ INFO ] Create required system account: vmail, iredadmin, iredapd.
[ INFO ] Configure Apache web server.
[ INFO ] Configure PHP.
[ INFO ] Configure MySQL database server.
tail: /root/.mysql_secret: No such file or directory
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[ INFO ] Setup daily cron job to backup SQL databases with /var/vmail/backup/backup_mysql.sh
[ INFO ] Configure Postfix (MTA).
[ INFO ] Configure Dovecot (POP3/IMAP/Managesieve/LMTP/LDA).
[ INFO ] Configure ClamAV (anti-virus toolkit).
[ INFO ] Configure Amavisd-new (interface between MTA and content checkers).
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[ INFO ] Configure SpamAssassin (content-based spam filter).
[ INFO ] Configure iRedAPD (postfix policy daemon).
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[ INFO ] Configure iRedAdmin (official web-based admin panel).
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[ INFO ] Configure Roundcube webmail.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[ INFO ] Configure SOGo Groupware (Webmail, Calendar, Address Book, ActiveSync).
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[ INFO ] Configure Awstats (logfile analyzer for mail and web server).
What to do now?