Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Support Documents

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-07-2006, 08:20 PM
mindfrost82's Avatar
Administrator
 
Join Date: Mar 2006
Location: Illinois
Posts: 2,262
Sex: Male
My Mood:
Thanks: 5
Thanked 6 Times in 6 Posts
Send a message via ICQ to mindfrost82 Send a message via AIM to mindfrost82 Send a message via MSN to mindfrost82 Send a message via Yahoo to mindfrost82
Install Sendmail on Slackware 9.1

Since I'm fairly new at Linux and I have successfully got sendmail working on my server for my domain, I thought I would write this walkthrough to help others configure sendmail a fairly easy way.


TOOLS NEEDED:
- Slackware 9.1 w/ Sendmail installed (obviously)
- Webmin (http://www.webmin.com/) for web-based configuration


WEBMIN SETUP:
- Download and install webmin. It should have documentation with it, and it's fairly easy to setup.


M4 SETUP FOR SENDMAIL:
- CD /usr/share/sendmail/cf/cf
- MV * /usr/share/sendmail/cf
- CD /usr/share/sendmail/cf
- Makre sure everything got moved to /usr/share/sendmail/cf directory
- You should have M4 installed in /usr/share/sendmail/cf
- Run "m4 /usr/share/sendmail/cf/m4/cf.m4 /usr/share/sendmail/cf/sendmail-slackware.mc > config.cf "
- CP sendmail-slackware.mc config.mc (if config.mc exists, then to "CP config.mc config.mc.old" first to back it up)
- CP config.cf /usr/share/sendmail/cf/m4/config.cf


SETUP WEBMIN FOR M4:
- Go into Webmin (default is http://localhost:10000)
- Go to Servers > Sendmail Configuration
- Click on Module Config towards the top-left
- Full path to sendmail.cf = /etc/mail/sendmail.cf
- Sendmail M4 base directory = /usr/share/sendmail/cf
- Full path to M4 config file = /usr/share/sendmail/cf/config.mc
- Everything else should be fine so Save the changes


CONFIGURE M4 IN WEBMIN:
- In Webmin > Servers > Sendmail Configuration go to Sendmail M4 Configuration
- Go to Edit File Manually button
- In the list of FEATURE's add these lines:
FEATURE(`relay_local_from')dnl
FEATURE(`relay_entire_domain')dnl

-Make sure your "include" line looks like:
include(`/usr/share/sendmail/cf/m4/cf.m4')

-Make sure your "SMART_HOST" and "LOCAL_DOMAIN" line has your domain in it

-Then Save and Rebuild Sendmail Configuration

CONFIGURE SENDMAIL:
- Go to Sendmail Options in the Sendmail Configuration in Webmin
- For "Send outgoing mail via host" put in your domain for your mail server then Save and Apply
- Go to Local Domains and add localhost and your domain and Save
- Go to Domain Masquerading and for "Masquerade as domain" put in your domain and for "Domains to be masqueraded" put in your computer name and Save
- Go to Outgoing Domains and add your domain and Save
- Go to Spam Control and click on "Edit Manually" and add and save:
localhost RELAY
domain_name RELAY

- Go to Relay Domains and add your domain and Save

Now you probably want to Stop and Start Sendmail

...and that's it!!!


Since I lost part of my database I think these are all the steps. If something doesn't work or if I'm missing a step please let me know.
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Support Documents


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:24 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Free Myspace Christmas Comments | Wire Transfer | WoW Gold | Credit Cards | Home Loan



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114