HOWTO: Install OpenWebmail

exposed

Verified User
Joined
Jul 22, 2003
Messages
53
Ill will explain howto install openwebmail, I really dont have time to explain it in newbie format...But you can ofcourse allways msg me if you have any more questions.

-=INSTALL=-

Openwebmail RPM Package at:

Openwebmail RPM packages

Please follow all instructions that openwebmail has instruct you to do....READ the readme.... keep track on the httpd.conf adjustment you must make, i have made those in the /etc/httpd/conf/httpd.conf DISABLE the webmail alias whats being used by the Direct Admin webmail client.

-=ADJUSTMENTS=-

edit the /etc/rc.d/initd/vm-pop3d and find :

daemon vm-pop3d -d 10 -t 600

change it to

daemon vm-pop3d -u mail -d 10 -t 600

--
edit the /etc/exim.conf and be sure that localhost can relay without authentication example: accept hosts = localhost

ps: i use exim v4.20 but it must work with lower versions also!
--

edit the /var/www/cgi-bin/openwebmail/etc/openwebmail.conf and be sure that at least below information is in this file.

auth_module auth_unix.pl
auth_withdomain no
auth_domain auto
quota_module none
mailspooldir /var/mail
use_hashedmailspools no
use_syshomedir yes
create_syshomedir no
use_homedirspools no
homedirspoolname Mailbox
homedirfolderdirname mail

after that enter the /var/www/cgi-bin/openwebmail/etc/sites.conf directory and create config files for every domain you use or want to enable for your virtual users...

Example: domain1.com

auth_module auth_vdomain.pl
auth_withdomain yes
mailspooldir /var/spool/virtual/domain1.com/
use_syshomedir no
use_homedirspools no
enable_autoreply no
enable_setforward no
enable_vdomain yes
vdomain_vmpop3_pwdpath /etc/virtual
vdomain_vmpop3_pwdname passwd
vdomain_vmpop3_mailpath /var/spool/virtual


and do the same with domain2.com etc...etc and with all your domains :)
--

Now edit the /var/www/cgi-bin/openwebmail/auth_vdomain.pl and search for the " my $local_uid=getpwnam('nobody');" line and change it to my "$local_uid=getpwnam('mail');"
--

After that it should work!!, keep notice that you have to manual create a domain config file for each domain you create in Direct Admin.

Greetings!
 
Would it be possible to create an additional page that contains the ability to create a domain config file when a client signs up and have a seperate page that would let the client modify their spamassassin settings until DA impliments this?
 
Cannot map openwebmail to user directory

Thanks for the great instructions on how to install openwebmail.

I followed all the instructions, both from this post, and all readme files from openwebmail.org and I have added my domain to the sites.conf directory, plus added the www.domain.ext to openwebmail.conf, in domainname_equiv

But i am not able to find either /openwebmail or openwebmail.pl in any way through web interface.

I am able to access openwebmail through my server's IP address, but not through any of the domains that are under the user accounts.

Anyone able to help me with this?
 
Last edited:
In Reply to:

I am able to access openwebmail through my server's IP address, but not through any of the domains that are under the user accounts.

Anyone able to help me with this?



You just need to add your desired aliases to the httpd.conf file.

- login into your server as root.
- locate /httpd.conf
- pico -w httpd.conf
-CTRL-W and find Directadmin section.
-You will see current aliases for "webmail" and "squirrelmail".
-Add your aliases for openwebmail or modify one the current ones.
- Put the right path for your openwebmail directory.
-CTRL-O and CTRL-X
-Restart the apache.

It must be solved now!
 
is there a possibility to include all the domain names installed on the DA server?

If i do it your way I have to manually edit the file everytime I add a new domain.

TIA
 
Would anyone here be interested in installing OpenWebmail for me. If so please PM me.
 
RoRoo said:
is there a possibility to include all the domain names installed on the DA server?

If i do it your way I have to manually edit the file everytime I add a new domain.

TIA

If you don't need per domain settings I think you can set the main openwebmail.conf to what you want and it will cover all accounts (supposedly).
 
Cannot access to administration page

Hi all,
I'm still facing a problem accessing to the administration page using port 10000.
This is due to an hacker attack that recently got access into my server.
Obviously my firewall port 10000 is correctly opened but now, after many tries to correct this problem in some configuration file, it's still inaccessible.

Have some of you any idea on how this can be corrected? what's the correct file of openwebmail to look into to change that port?

I need some help,
thanks to all.

Pietro
 
Back
Top