LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-06-2004, 08:54 PM   #1
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Question Quick and Dirty email server setup help


Im running Fedora Core 1 and all i need to finally change my server from windows is the easiest way to setup the email server.

I read lots of posts on this forum but some people dont like to share info or they dont explain to good to newbies.

PS: im not that new linux , but i always had problems with sendmail or postfix and imap and everything that has to do with mail on linux..

Im hoping someone here can really walk me thru it so i can finally make the change...on my server.

Thanks an Advanced..
 
Old 01-06-2004, 09:35 PM   #2
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
quick and dirty Sendmail config

locate the following files in your /etc/mail directory

access
local-host-names
sendmail.mc
create relay-domains

Code:
 open /etc/mail/access in a text editor 

localhost.localdomain		RELAY
localhost			RELAY
127.0.0.1			RELAY
your.domain		    RELAY
#lan ip
xxx.xxx.xxx.xxx		    RELAY

save and close


open /etc/mail/relay-domains in a text editor

your domains

save and close

open /etc/mail/local-host-names in a text editor

machine alias
machine alais
mail.yourdomain.com

save and close

open /etc/mail/sendmail.mc in a text editor and change the bolded as applicable

DAEMON_OPTIONS(`Port=smtp,xxx.xxx.xxx.xxx, Name=MTA')dnl

dnl #FEATURE(`accept_unresolvable_domains')dnl

save, close 

in terminal 

#cd /etc/mail
#make -C /etc/mail
if send mail is running, restart it and then try sending email.
make sure pop3 is started

This is a very very simple and quick setup. It does not provide for authentication, or blacklisting. Nor does it filter spam.
This is just about enough to get you started, thats all. From here you are going to want to read up on sendmail or ASK;
Otherwise you may become an unwanted relay and become blacklisted or compromised.

Also, I did this from memory, so it may vary slightly and a feature may be missing or two (hopefully someone will come along and point out what is missing-TIA), but it should get you started.
 
Old 01-06-2004, 09:45 PM   #3
Drogo
Member
 
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Original Poster
Rep: Reputation: 30
dnl #FEATURE(`accept_unresolvable_domains')dnl

What goes there on the bolded area ?
 
Old 01-06-2004, 10:07 PM   #4
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
the actual dnl # as there is nothing there now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Quick and Dirty Backups jeremy LinuxAnswers Discussion 2 03-10-2006 10:56 AM
KDE 3.5 is out! Quick 'n Dirty Upgrade Shade Slackware 19 12-25-2005 04:06 AM
Two Quick and Dirty Ones! gsibble Linux - Newbie 9 08-14-2003 03:40 AM
quick and dirty! Smerk Debian 4 07-03-2003 08:33 PM
what's a quick and dirty way to block spam finegan Linux - General 1 12-03-2001 12:10 AM


All times are GMT -5. The time now is 01:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration