PDA

View Full Version : HOWTO: Install OpenWebmail


exposed
07-29-2003, 01:49 AM
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 (http://openwebmail.com/openwebmail/download/redhat/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!

modem
05-22-2004, 01:54 PM
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?

torp
07-06-2004, 03:42 AM
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?

Farhad
08-01-2004, 02:53 AM
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!

RoRoo
04-22-2005, 07:59 AM
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

manny2008
06-26-2005, 04:09 AM
Would anyone here be interested in installing OpenWebmail for me. If so please PM me.

jmstacey
06-26-2005, 11:02 AM
Originally posted by RoRoo
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).