LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Quick and Dirty email server setup help (https://www.linuxquestions.org/questions/linux-software-2/quick-and-dirty-email-server-setup-help-132231/)

Drogo 01-06-2004 08:54 PM

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..

ezra143 01-06-2004 09:35 PM

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.

Drogo 01-06-2004 09:45 PM

dnl #FEATURE(`accept_unresolvable_domains')dnl

What goes there on the bolded area ?

ezra143 01-06-2004 10:07 PM

the actual dnl # as there is nothing there now


All times are GMT -5. The time now is 10:26 AM.