Multiple Domain Settings in Openwebmail

How To Setup Multiple Domain Settings In Openwebmail?

I have openwebmail install and working fine for single domain.  How can I setup single openwebmail for 3 domains?

cat /etc/mail/local-host-names
sample1.com
sample2.com
sample3.com

I am using sendmail + openwebmail on CentOS 5

Solution:

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
 

Openwebmail Installation Problem 

I am in a problem while installing openwebmail in my Fedora 9 pc.

After I have edited openwebmail.conf and auth_unix.conf file I am on try to initialize openwebmail on my linux pc it says " -bash : /var/www/cgi-bin/openwebmail/openwebmail-tool.pl: /usr/bin/suidperl: bad interpreter: No such file or directory. Command I used "/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init".

Solution:

You need to install the suid-perl package, because openwebmail use this instead of the regular perl to run scripts.

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.