|
|
||||||||||||||||||||||
Installing qmail
After qmail installs, you will get the following message:
ATTENTION:
Please make sure that you read /var/qmail/doc/PORT_NOTES. It
contains important information about testing and configuring qmail,
and finally replacing sendmail with qmail.
You should also add /var/qmail/man to your MANPATH (see manpath(1)
or login.conf(5)).
You can enable qmail as your default mailer:
# this will disable the default MTA 1) do "make disable-sendmail"
# enable qmail as your default MTA 2) do "make enable-qmail"
===> Generating temporary packing list
===> Compressing manual pages for qmail-1.03_1
===> Registering installation for qmail-1.03_1
===> SECURITY NOTE:
This port has installed the following binaries which execute with
increased privileges.
46866 26 -rws--x--x 1 qmailq qmail 12772 Sep 15 20:24 /var/qmail/bin/qmail-queue
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage: http://www.qmail.org/
Let's finish the installation. As the superuser:
Now we need to setup tcpserver to allow the local machines to send out mail
You're almost done. Check /var/qmail/control to see if there are any files in that directory. At minimum, you should have a file /var/qmail/control/me which contains a single line with your domain name (ie. orchardlabs.com) If you need to host virtual domains, you will need to create a /var/qmail/control/virtualdomains file and a /var/qmail/control/rcpthosts file. The virtualdomains file contains a list of the domains in this format: yourdomain.com:domain-admin yourdomain.com is the domain and domain-admin is a real system user (ie you) who will store the .qmail- Next we need to setup the Maildir
That's it. Reboot the machine to verify that qmail and tcpserver come up after booting. If you want, you can install a mail reader such as elm (/usr/ports/mail/elm) or pine (/usr/ports/mail/pine). /var/qmail/bin/elq and /var/qmail/bin/pinq are wrappers to elm and pine respectively. These scripts will change the Maildir format to mailbox format. You will also need to add these lines to the .cshrc file: setenv MAILDIR $HOME/Maildir setenv MAIL $HOME/Mailbox.$USER setenv MAILTMP $HOME/Mailbox.tmp Continue on with the OpenACS 4.x installation |
|
|||||||||
|
© 2000-2002 Orchard Labs, Inc.
|