QmailtoasterMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Fedora Core 4 x86 64 QmailToaster Install

From Qmailtoaster

Test Box: MSI K8T Neo, AMD Athlon64 3400+, 1GB Ram, 120GB Samsung IDE Drive

Nick Hemmesch - October 15, 2005

Build QmailToaster with, or without, GUI Support

1. Download Fedora Core 4 x86_64 CD iso's 1 thru 4, or the DVD iso. [1]

2. Use the install option, Custom

  Disk partitioning: (120gig) /home gets 80 gig and / gets the rest.
  SELinux: disabled

3. Packages, select only the following groups:

  X Windows (With GUI support)
  KDE - unselect graphics, artwork, pim (With GUI support)
  Graphical Internet - select only Firefox and Thunderbird (With GUI support)
  Sound & Video: select only cdrecord, dvd-rw-tools, and mkisofs
    (With GUI support, also select k3b)
  Server Configuration Tools
  Web Server: add php-mysql to the defaults
  DNS Name Server
  FTP Server
  MySQL Database: add mysql-bench, mysql-server to the defaults
  Development Tools: add expect to the defaults
  Compatibility Arch Development Support:
  Administration Tools: 
  System Tools: add mrtg to the defaults

4. After the package installation:

  mkdir /usr/src/qtms-install
  cd /usr/src/qtms-install
  wget http://www.qmailtoaster.com/info/fdr40-deps.sh
  sh fdr40-deps.sh
  (this will take a while)
  After fdr40-deps.sh is finished:
  yum -y update
  (this will take a while too)

5. Prepare to Install QmailToaster:

  wget http://www.qmailtoaster.com/qtms/qtms-svcs.sh
  wget http://www.qmailtoaster.com/qtms/firewall.sh.bz2
  nano -w qtms-svcs.sh
  edit MYSQLPW=your-mysql-password
  ctl-o and enter to save
  ctl-x to exit
  bunzip2 firewall.sh.bz2
  nano -w firewall.sh
  edit MYIP="your-IP-address"
  ctl-o and enter to save
  ctl-x to exit
  sh qtms-svcs.sh
  This script turns on or off all necessary services. Then the script sets 
  up your mysql root account, creates and grants privileges for your vpopmail
  mysql account, makes a symlink so your krb5 is read properly, edits your 
  php.ini, sets inittab to start at runlevel 3, and sets up your firewall.
  Note: You might see some service errors while the script runs,
  don't worry about them.

6. Get QmailToaster Packages:

  wget http://www.qmailtoaster.com/info/current-download-script.sh
  sh current-dowmload-script.sh
  This script downloads all necessary packages into you current
  directory (should be /usr/src/qtms-install/).

7. Install QmailToaster Packages:

  wget http://www.qmailtoaster.com/info/current-install-script.sh
  edit current-install-script.sh and set DISTRO=cnt40 and ARCH=i386

ATENTION - SCRIPT ERROR There is an error on the script please replace libdomainkeys-toaster-*.src.rpm to libdomainkeys-*.src.rpm or rename by adding toaster- the filename.

  sh current-install-script.sh
  This script installs the latest zlib and the qmailtoaster packages
  (This will take quite a while)

8. Make a self signed certificate:

  cd /etc/pki/tls/certs/
  make stunnel.pem
  Note: common name should be your FQDN server.your-domain.com
  mv stunnel.pem /var/qmail/control/servercert.pem 
  chown root:qmail /var/qmail/control/servercert.pem 
  chmod 644 /var/qmail/control/servercert.pem
  /ln -s /var/qmail/control/servercert.pem /var/qmail/control/clientcert.pem

9. Setup QmailToaster:

  qmailctl stat
  (Should look somewhat like this)
     [root@gateway ~]# qmailctl stat
     clamd: up (pid 2425) 65 seconds
     imap4: up (pid 2421) 65 seconds
     imap4-ssl: up (pid 2423) 65 seconds
     pop3: up (pid 2414) 65 seconds
     pop3-ssl: up (pid 2409) 65 seconds
     send: up (pid 2416) 65 seconds
     smtp: up (pid 2418) 65 seconds
     spamd: up (pid 2407) 65 seconds
     clamd/log: up (pid 2417) 65 seconds
     imap4/log: up (pid 2422) 65 seconds
     imap4-ssl/log: up (pid 2424) 65 seconds
     pop3/log: up (pid 2415) 65 seconds
     pop3-ssl/log: up (pid 2413) 65 seconds
     send/log: up (pid 2420) 65 seconds
     smtp/log: up (pid 2419) 65 seconds
     spamd/log: up (pid 2408) 65 seconds
     [root@gateway ~]#
  Add a domain:
     /home/vpopmail/bin/vadddomain your-domain.com <postmaster-password>
  Add a user:
     /home/vpopmail/bin/vadduser you@your-domain.com <your-password>
      (You can also use QmailAdmin - www.your-domain.com/qmailadmin)         
  Bring up your browser and go to:
        Username: admin
        Password: toaster
  Change your password . . . 
  If you do not have a specific reason to have register_globals = On:
     Edit /etc/php.ini to set register_globals = Off
     Restart httpd
  Check your mail server:
     login with your full email address and your password
     send yourself an email - should show right away
     send an email to yourself if you have another address
     Go to your other email account and reply to the message you sent
     In squirrelmail, select the email, select View Full Header and you
     should find something like the following:

Received: by simscan 1.1.0 ppid: 3675, pid: 3677, t: 0.3578s

           scanners: clamav: 0.85.1/m:31/d:880 spam: 3.0.1
  If Isoqlog doesn't show right away, do this:
     sh /usr/share/toaster/isoqlog/bin/cron.sh

10. Setup SPAM filtering:

     This can be setup by either the Postmaster or User entering 
     Qmailadmin-Toaster and modifying the User Account to allow
     "Spam Detection".
     The threshold at which spam tagged mail is sent to sa-learn,
     then deleted is set in /etc/mail/mailfilter.
     The default setting in mailfilter is 12. Edit if you desire.

11. Logs for all packages except freshclam are at:

     Freshclam is at /var/log/clamav

Retrieved from "http://wiki.qmailtoaster.com/index.php/Fedora_Core_4_x86_64_QmailToaster_Install"

This page has been accessed 7,554 times. This page was last modified on 7 June 2006, at 13:08. Content is available under GNU Free Documentation License 1.2.


Main page
Community portal
Current events
Recent changes
Random page
View source
Editing help
This page
Discuss this page
New section
Printable version
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list