Webmail

phils
Posts: 2
Joined: Sat May 08, 2010 9:52 am

Webmail

Postby phils » Sat May 08, 2010 10:20 am

I just installed webmail, and all the files installed without any errors.

When the http: was stopped and then restarted, i received the following error message:

Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 7 of /etc/httpd/conf.d/nbr-webmail.conf:
SSLCertificateFile: file '/etc/httpd/conf/webmail.crt' does not exist or is empty
[FAILED]

**********************************************************
The system has sent a Welcome and SPAM Test email to
mailusr@home.com to complete the mailbox setup.
**********************************************************


Your Amahi Mail System install is complete.
Navigate to http://webmail to access.

Since httpd will not start, I am unable to acess the dashboard.
I was able to determine that the webmail.crt did not get created/generated
the webmail.key file did.

What steps do I need to create the webmail.crt file that corresponds to the webmail.key file?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Webmail

Postby bigfoot65 » Sat May 08, 2010 1:02 pm

Hello,

This application is under heavy development, so it is only recommended for advanced users. Did you run the host-update-virtual-mail-175.sh first? If not, you will have issues.

Anyway, to make the cert file do these steps as user root.

1. cd /etc/httpd/conf
2. openssl genrsa -out webmail.key 1024
3. openssl req -new -key webmail.key -x509 -days 365 -out webmail.crt -subj '/C=country/ST=state/L=city/O=org/OU=unit/CN=hda.home.com/emailAddress=postmaster@home.com'

Replace the values after the equal signs with your own (i.e. C=US or OU=Home, etc). That should generate the applicable cert file needed.

If this still does not work, you can comment out the 2 lines in the nbr-webmail.conf file by adding a # in front of each line. Then do service httpd restart and you will be able to get to your dashboard.

If you still have trouble, please let us know.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 37 guests