Re: iRedMail install

thank you for the fast replyshould I disable iptables aswell ? or what ports should I open?

edit: installed it, reboot server, everything went fine. i have the postmaster user for mail admin & mail. and i've made another mail names 'sales'.i am trying to send mail to or from internal address, from postmaster to sales and from sales to postmaster but i don't receive anything.it says the the mail was sent but i can't see anything in roundcube.

this happens when i want to send externaly, from postmaster or sales to gmail, yahoo, and so one..what to do ?

Re: iRedMail install

I'm trying a new installation and at the start of it i can see a couple of errors like:

********************************************************************
* Start iRedMail Configurations
********************************************************************
< INFO > Create self-signed SSL certification files.
< INFO > Create required system accounts: vmail, iredapd, iredadmin.
< INFO > Configure Apache web server and PHP.
< INFO > Configure MySQL database server.
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
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 Postfix (Message Transfer Agent).
< INFO > Configure Policyd (postfix policy server, version 1.8).
groupadd: group 'policyd' already exists
useradd: user 'policyd' already exists
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
< INFO > Configure Dovecot (pop3/imap/managesieve server, version 2).
< 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).
< INFO > Configure iRedAdmin (official web-based admin panel).
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
< INFO > Configure Fail2ban (authentication failure monitor).
Can't open /etc/fail2ban/fail2ban.conf: No such file or directory.
Can't open /etc/fail2ban/jail.conf: No such file or directory.
/iRedMail-0.8.5/functions/fail2ban.sh: line 39: /etc/fail2ban/jail.local: No such file or directory
/iRedMail-0.8.5/functions/fail2ban.sh: line 85: /etc/fail2ban/filter.d/roundcube.iredmail.conf: No such file or directory
/iRedMail-0.8.5/functions/fail2ban.sh: line 92: /etc/fail2ban/filter.d/dovecot.iredmail.conf: No such file or directory
/iRedMail-0.8.5/functions/fail2ban.sh: line 99: /etc/fail2ban/filter.d/postfix.iredmail.conf: No such file or directory
< INFO > Configure Awstats (logfile analyzer for mail and web server).
/iRedMail-0.8.5/functions/awstats.sh: line 230: cd: /etc/awstats: No such file or directory
cp: cannot stat `/etc/awstats/awstats.localhost.localdomain.conf': No such file or directory
Can't open /etc/awstats/awstats.web.conf: No such file or directory.
Can't open /etc/awstats/awstats.web.conf: No such file or directory.
Can't open /etc/awstats/awstats.web.conf: No such file or directory.
Can't open /etc/awstats/awstats.web.conf: No such file or directory.
cp: cannot stat `/etc/awstats/awstats.web.conf': No such file or directory
/iRedMail-0.8.5/functions/awstats.sh: line 251: cd: /etc/awstats: No such file or directory
cp: cannot stat `/etc/awstats/awstats.localhost.localdomain.conf': No such file or directory
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
Can't open /etc/awstats/awstats.smtp.conf: No such file or directory.
< 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 phpMyAdmin (web-based MySQL management tool).
*************************************************************************
* iRedMail-0.8.5 installation and configuration complete.
*************************************************************************
< INFO > Disable SELinux in /etc/selinux/config.
< Question > Would you like to use firewall rules provided by iRedMail now?
< Question > File: /etc/sysconfig/iptables, with SSHD port: 22. [Y|n]

1.Why it doesn't log in to mysql if I already set the root mysql password a few steps before?2. Doesn't find the other files, but from what i saw, i have selected them a few steps before.

i think i'm gonna reinstall the OS, and run the script again, see then what happens. if it won't work after that, i dunno what to do more.

Re: iRedMail install

wow.. finally made some progress..i needed to disable Disable.Amavisd.ClamAV.SpamAssassin because i had too low ram memory..i didn't took that into consideration. i always thought i was on a server with 8GB, but i got confused on what server i amdid some testing, it works to send from local mail to local mail, and from local mail to external mail, but not from external mail to local mail