On Tue, 19 Dec 2000, Oldarnie wrote:

> Roger Arnold wrote:
> 
> I am still a newbie and would appreciate some help for the entire Qmail,
> Vpopmail, QmailAdmin, SqWebMail system please. I am sending this email
> to both the vpopmail and the qmailadmin list because it covers all the
> packages. However first a big thank you to all the people who have tried
> to help me so far.
> 
> This is just one area that I am confused about, regarding the startup
> script for vpopmail and qmails pop3d being combined into one file and
> where the new startup script is installed to.
> 
> Now I have been given a script that works with one users system, and
> there is a sample script in the doc's but NO other information regarding
> where it goes or what it replaces if it replaces anything etc.
> 
> I am running RH7, Qmail 1.03+patches RPM from Bruce, and Vpopmail 4.9.7
> (previously 4.9.6-1) QmailAdmin pre0.40 I changed to vpopmail 4.9.7 due
> to some posts suggesting that certain builds only worked with other
> builds and am still confused as to which versions of the various
> programs i.e. qmail, vpopmail, qmailadmin, sqwebmail etc. work together,
> as nothing is really clear about this on the inter7.com website.
> 
> The only installation of Qmail that has worked (installed properly) so
> far is the RPM's from bruce, and then only one combination of the files
> needed for Qmail. I notice that a lot of people are saying not to use
> the RPM's but no-one has said what combination of standard "tar.gz"
> work together.
> 
> I have been trying for 3 weeks now to get a working email system based
> on Qmail to provide a good virtual domain system as well as webmail and
> qmail management.
> 
> The Qmail, Vpopmail, QmailAdmin, SqWebMail etc. setup is the best system
> I have seen and I want to use it, however I have not had anyone provide
> good installation advise for a RH7 Linux system that covers all the
> mentioned progs and as soon as I get one part working with some great
> help, I spend ages trying to get answers to get the next stage installed
> and working, and then I find that the previous install that is working
> is Not good because it is from RPM's.
> 
> I have to get a complete install of everything properly working soon,
> because others who use my server are getting jacked off.
> 
> Please, is there anyone who knows how to get a complete working email
> system on a Redhat 7 box that can give some help to me, and who will
> just answer some questions when I get stuck. I don't need anyone to
> install it for me as I am quite a capable person and I can't afford
> commercial help, but I DO need advice throughout an install of the total
> packages and NOT just Qmail or Vpopmail.
> Surely there is someone who has done a complete install of the entire
> system of packages, but I have noticed that other people ask a question
> and get told to ask it in another programs user list. Perhaps there
> needs to be a list that encompasses all of the programs for newbies to
> ask questions, because all of the packages except Qmail are from
> inter7.com.
> 
> I would be sincerely grateful if someone can help, and I will try and
> document the entire process so that others can benefit from the advise
> also
> 
> Thank you everyone for any help that can be given
> 
> Best Regards
> Roger
> 

I just built the exact replica of what you are trying to do without a
problem. You have to take it slow and read ALL of the documentation. 
First off are you going to be using MySQL for data storage or do you
prefer flat files? I personally used MySQL for all of my storage needs and
would recommend you doing the same. I also used the Horde IMP webmail
since it has a nicer look and more functionality than the SqWebmail. As
for the qmailadmin I used the following from Inter7:

autorespond-1.0.0.tar.gz
ezmlm-0.53.tar.gz
ezmlm-idx-mysql-0.53.324-1.i386.rpm
qmailadmin-0.39.tar.gz
vpopmail-4.9.6-1.tar.gz

ucspi-tcp-0.88.tar.gz <- (TCPServer Software)


I used the following to offer web based mail to my virtuals:

courier-imap-1.2.3.tar.gz
horde-1.2.3.tar.gz
imp-2.2.3.tar.gz

The IMP Webmail can be found at www.horde.org.


To do the full virtual configuration properly you must use the Maildir
functionality of Qmail. This is a great feature. So follow all the
documentation to install Qmail first. Next install the tcpserver
which is in hte ucspi-tcp-0.88.tar.gz file. After that install the
vpopmail software. Follow the documentation exactly. I wouldn't
recommend changing any of the user names or groups to keep things
simple at first. I did however put my mail into a directory called
/vmail. The vpopmail install will find out the correct directy from
the vpopmail users directory. Here is my config command line:

/configure --enable-mysql=y --enable-sqlincdir=/usr/local/include/mysql
--enable-sqllibir=/usr/local/lib/mysql

This of course if for vpopmail to use MySQL. 

Once you have both installed put the following line into your rc.local
file:

/usr/local/bin/tcpserver -u vpopmail -g vchkpw -H -R 0 pop-3 
/var/qmail/bin/qmail-popup <your_machines_full_domain_name> 
/vmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

This is one line and not 3. 

You can either do a /etc/rc.d/rc.local to run it or simply do a
reboot. You should now be able to add a test domain via the command line
and be able to deliver mail to it. The domain will be put into your
vpopmail directory under domains. 

Next you need to install the autoresponder (autorespond-1.0.0.tar.gz) and
the ezmlm (ezmlm-0.53.tar.gz) and the ezmlm-idx
(ezmlm-idx-mysql-0.53.324-1.i386.rpm) if you want to offer a autoresponder
and mail list services. I would recommend these. Once you have those
installed then it is off to the Qmailadmin.

Here is my configure command line for Qmailadmin:

``env LIBS="-L/usr/local/lib/mysql -lmysqlclient -lz"'' ./configure
--enable-cgibindir=/web/cgi-bin --enable-htmldir=/web/htdocs
--enable-vpopmaildir=/vmail

Now to get this to work with MySQL you must use the environment setting as
shown. I had to find this out via this list as it is not documented. I
figured this was a bug of some type. This looks for the MySQL libs in
/usr/local/lib which is where they will be if you did the basic install of
MySQL. I also installed my Apache in /web so my CGI-BIN directory is
/web/cgi-bin. Change this to match yours. Also change the htmldir to your
DocumentRoot as well as the vpopmaildir to your directory. Do a make then
a make install-strip. Once this is done you should be able to open the
qmailadmin via a web browser. Something like:

http://<machine_name>/cgi-bin/qmailadmin

If this does not work then look in your apache error log file to see why
or it might say on the screen the reason. You should be able to
admininister your test domain if you already set one up. 

Once that is running next you can do the courier imap server. Here is my
configure line again since I am using MySQL.

``env LIBS="-L/usr/local/lib/mysql -lmysqlclient -lz"'' ./configure

Follow the instructions and it should be installed fine. To start courer
just drop a symbolic link into your rc3.d or whichever runlevel you use to
/usr/lib/courier-imap/libexec/imapd.rc. I did a link of S90imapd so
that way it starts after the web server. Then you can start the courier by
doing a /etc/rc.d/rc3.d/S90imapd start.

If you get all this working you should be pretty much setup. I won't go
into detail for the IMP as you mentioned using SqWebmail. Hope this helps.

Thank you,
Brad Dameron
Network Account Executive
TSCNet Online Services


Reply via email to