|
|
Question : Redhat Linux email server setup - 2000 points POWERBALL!!!
|
|
From http://www.experts-exchange.com/Operating_Systems/Linux/Linux_Setup/Q_20613832.html
After reading http://techupdate.zdnet.com/techupdate/stories/main/0,14179,2913123,00.html, I believe my request is much alot harder and deserves not 500 points but 2000 points.
I would like to have a setup with: Any version of Redhat 7.0 and above Apache - virtual domains Mysql or Postgresql PHP Postfix Courier-Imap SpamAssassin Procmail Webmail or Qmail
Here what I have to work with: A Gateway 6400 server with 933mhz pc, 256mb of rams, 36GB Scsi, a router with a static IP.
No offense but I am a amateur at this. I try this many times and was not successful. I am looking for a no-brainer-follow-the-instructions manual. I am looking for someone who got theirs to work and have all the instructions to do it from scratch. My server is ready to go and can built everything from scratch. Thank you very much.
|
Answer : Redhat Linux email server setup - 2000 points POWERBALL!!!
|
|
OK. Let's start from here and see what happens:
1. vi /etc/procmailrc 2. Add the following lines:
PATH=/bin:/usr/bin:/usr/local/bin MAILDIR=$HOME/Maildir DEFAULT=$MAILDIR/ LOGFILE=$MAILDIR/logfile
3. execute "redhat-switchmail" check whether postfix the default mailer 4. service sendmail stop; service postfix start; chkconfig sendmail off; chkconfig postfix on 5. useradd support 6. su - support 7. echo "%_topdir /home/support/rpm" > .rpmmacros 8. make the following paths
mkdir -p rpm/RPMS/i386 mkdir -p rpm/SRPMS mkdir -p rpm/SOURCES mkdir -p rpm/BUILD mkdir -p rpm/SPECS
9. wget http://www.courier-mta.org/beta/imap/courier-imap-2.0.0.20030721.tar.bz2 10. rpmbuild -tb courier-imap-2.0.0.20030721.tar.bz2 11. after it built "rpm -Uvh rpm/RPMS/i386/courier-imap-2.0.0.20030721.i386.rpm" 12. cd /usr/lib/courier-imap/etc 13. vi imapd; check whether IMAPSTART=yes 14. vi pop3d; check whether POP3START=yes 15. service courier-imap start 16. chkconfig courier-imap on
Done.
|
|
|
|
|