iRedMail: Full-Featured Mail Server With LDAP, Postfix, ClamAV, SpamAssassin, Amavisd (Ubuntu 8.04) - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by eddiechen (Contact Author) (Forums) on Wed, 2009-10-07 17:03. ::

Set a password for the LDAP virtual domain admin's password.
Note: cn=vmailadmin,dc=example,dc=com is used to manage all virtual domains/users.

Set a password for the MySQL root user.

Add your first virtual domain, e.g.:

Virtual domain administrator account for the first virtual domain. Default is 'postmaster'.

Set a password for the virtual domain administrator.

Add the first normal user for our virtual domain. e.g.: www. The full email address will be 'www@example.com'.

Set a password for the above normal user.

Enable the SPF verify and DKIM verify/sign feature:

Select optional components, you can choose RoundCube or SquirrelMail as webmail programs.
The Awstats user account has been integrated into LDAP, so you need to use the username postmaster@example.com to log in. For more details please read the file 'iRedMail-x.y.z/iRedMail.tips'.

Select the default webmail language:

Set an alias mail address for the root user.

Finish the configuration, start to install the software:

Finish the installation, reboot your system to enable mail services or start them manually without reboot:

# for i in apache2 postfix mysql slapd postfix-policyd dovecot amavis clamav-daemon clamav-freshclam cron iptables; do /etc/init.d/${i} restart; done

 

8 Important Things You Should Know After Installation

  • Read the file 'iRedMail-x.y.z/iRedMail.tips' first, it contains:
    • User password and related sensitive information.
    • Location of mail server related software configuration files and other important information.
  • Setup DNS record for SPF
  • Setup DNS record for DKIM

 

9 Access webmail and other web-based programs

After the installation is complete, you can access the web-based programs (if you've chosen to install them) as follows:

Component URL Access via HTTP Access via HTTPS Comment
Roundcube 0.21 http://your_server/mail/ (or /webmail, /roundcube) YES YES Recommended webmail
SquirrelMail http://your_server/squirrelmail/ (or /squirrel) YES YES webmail
PostfixAdmin https://your_server/postfixadmin/ NO YES Only Mysql Backend
phpMyAdmin 2.11.9 https://your_server/phpmyadmin/ (or /mysql) NO YES
phpLDAPAdmin 1.17 https://your_server/ldap/ (or /phpldapadmin) NO YES Only LDAP Backend
Awstats https://your_server/awstats/awstats.pl NO YES

Note: Replace your_server with your server hostname or IP address.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Rashid Iqbal (not registered) on Thu, 2010-07-08 19:01.

Hi all,

I have win2k3 and centos installed in vmware. I joined the centos to win2k3 successfully and after that I install the iRedMail through root logon. ok successfully install the iRedmail.

I have on live static IP and the ptr entry named webmail.xyz.com.

After installing the iRedMail. I create on mail box named abc@xyz.com and successfully configure the mail box in outlook express[through IMPAP and POP3] in my win2k3 virtual machine. succesfully sending/receiving emails internally now I want to send the email to my hotmail account.

Secondly I want to update the antivirus database.

Kindly help me to solve this issue.

 

Regards,

 

Rashid Iqbal

Submitted by allan (not registered) on Thu, 2009-11-19 17:43.

Hi,

 Just want to say first that this instructions are very detailed and very useful. I followed every step and was able to make my server up and running in no time. thanks for the contributors and administrators of this site.

 My mail server is already up and running but just want to know how I could forward an email to another outside email address. Say, I have a local email address of allan@test.com and I wan't to forward it to allan@gmail.com

Could anyone help me on this small issue.

 Thanks in advance.

Allan

Submitted by zygert (not registered) on Thu, 2010-09-02 10:14.

You have to in phpLDAP manager add attr. called "mailForwardingAddress" in allan@test.com configuration and set there allan@gmail.com

Save and test ;)

Submitted by Bogdan (not registered) on Mon, 2009-10-12 12:42.

before downloading the iredmail archive, you should install bzip2.

A clean debian installation does not include this package.

apt-get install bzip2