Ubuntu 9.04


Been lurking for a while.

Has anyone tried EHCP on top of 9.04 yet?


i have tested it on Ubuntu 9.04,
seems to work..
i need to test from scratch, to install and so on...

my Current system, was installed while 8.10,
upgraded to 9.04,
works now too.

Great thank you, I'm trying a fresh install tonight. I bet it isn't much different than deconectat's guide on howtoforge.


Word to the all reading this, the Ubuntu download page defaults to the 64bit version. Scroll down and select 32bit if you need it.

If you accidentally download 64 and needed 32 it will warn you when you attempt install. All you waste is time and a blank CD.


Yes, it is not much different from that guide,
i only added new package mailman to default ehcp isntallation,
you will be asked mailman language, it is easy to select,
you may do it in a straightforward way.

Well now I have installed it twice on 8.04.2, once on 8.1 and once on 9.1.

8.04 was what the tutorial was written on, yet both times sysinfo did not work (had to install phpsysinfo and link it from the panels) and on both installs I got this error when trying to view user info:
"(runop) internal ehcp error: Undefined operation: viewpaneluser
This feature may not be complete"

8.1 actually went the best, sysinfo worked as well as the viewpaneluser.

9.1 was not the ticket for me, MySQL didn't work and mail wouldn't start at all. Sysinfo didn't work also.

Not complaining, probably flaws in my experience level but I'm wiping it back out right now and installing it atop 8.1.

I have some php experience and found the files easy to play with and alter to my specific purpose. I own a small hosting company and I'm thinking about offering a modded version of EHCP to my customers as a less expensive alternative to cpanel accounts.

One of the things I would like to see added is a deeper control over dns zones.

Thank you for a decent thoughtful product, I will donate well if I end up using it at my company.

use custom dns,
"Edit dns template for this domain "
for more control over dns..

Very well, thank you :)

thank you for the assistance i have done it for rest of world i would like to add some information on Ubuntu is a full-featured Linux distribution for desktops, laptops,
netbooks and servers, with a fast and easy install and regular releases. A
tightly-integrated selection of excellent applications is included, and an
incredible variety of add-on software is just a few clicks away.

Professional services, including support for reseller web hosting services along with the adult hosting services which are affordable and easy to use and mostly people are going to choose dedicated server colocation services which are available from Canonical
Limited and hundreds of other companies around the world.

I have done a fresh install of Ubuntu server 9.04 32bit and EHCP 0.29.08 and added a domain and some panel users as well as some e-mail accounts. Everything was great, email included, until I followed the mailman instructions by typing the following in the CLI via SSH "newlist mailman" with the e-mail address of admin@mysite.com. It appeared as if all was created correctly so I followed the instructions and typed "/etc/init.d/mailman start" in the CLI. It looked as if all was OK but now no email appears to be working. I have tried "/etc/init.d/mailman restart" and "/etc/init.d/mailman stop" but neither has helped. Still no email. What so I need to do to restore email service? Thank you for your time!

did you change anything else on your system?
if not,
try: go to ehcp gui, options, "fix mail configuration"
and type here your /etc/postfix/main.cf

or a afew last lines from /var/log/syslog , while you try to send/receive mail.

Fix mail configurations is listed as "failed" in the completed/pending daemon operations.
I cannot seem to think of anything else I did other than apt-get install phpsysinfo via SSH.
I did notice a couple of errors listed in this file due to an ip address change, but even after making the required changes the fix mail configuration still "failed"

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = host1
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, xxx.xxx.xxx.208
relayhost =
mynetworks =,,,, xxx.xxx.xxx.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,check_client_access hash:/var/lib/pop-before-smtp/hosts,reject_unauth_destination
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $mynetworks $virtual_mailbox_limit_maps

one more check:
look at /etc/postfix/mysql-virtual_domains.cf
it should look like:

user = ehcp
password = ehcppass
dbname = ehcp
table = domains
select_field = 'virtual'
where_field = domainname
hosts =

if not, make it appear like this, then restart postfix, also, look at /var/log/syslog
there you will see some messages...