Linux sendmail email server [Archive] - SpeedGuide.net Broadband Community

View Full Version : Linux sendmail email server


Jon
04-08-02, 08:41 PM
I am trying to set my Linux box up as a email server.

I am running red hat 7.2 with sendmail 8.11.6-3.

Does anyone have any goos walk throughs on how to set this up?

I've read the help pages at red hat, and to be quite honest, they are quite vague.

The setup is this.

P2 300
40 gig wd
realt tek NIC
512 mb sdram
All behind a netgear rt314 router.

Thanks in advance.

Stef
04-08-02, 08:49 PM
Try the Linux Network Administrator's Guide, you can read it on-line @ LinuxDoc.org.

URL: http://www.linuxdoc.org/LDP/nag2/index.html

Chapter 18. SendMail: http://www.linuxdoc.org/LDP/nag2/x-087-2-sendmail.html

Great guide with tonnes of material.

Stef

Jon
04-08-02, 11:03 PM
Thanks for the link, I think I am truly overwhelmed.

I have got to be missing a step along the way, it can't be this hard to set up a simple email server.

All I want to do is have my linux box revieve all the email the enters my place, filter out the damn spam and then send the email onto the intended person.

Maybe it will make more sence after a good nights sleep.

Jon

Stef
04-08-02, 11:08 PM
Perhaps Exim is what your looking for. Read the next chapter in the Linux Network Administrators Guide:

Chapter 19. Getting Exim Up And Running:

http://www.linuxdoc.org/LDP/nag2/x-087-2-exim.html

Stef

Jon
04-10-02, 09:59 PM
I am sure it is something I am doing wrong, but here is what i want to do. I can't seem to make it happen.

I have a cable connection hooked to a netgear rt314 router.

192.168.0.2 is the windows 2000 box
192.168.0.3 is the windows 98 box
192.0168.0.4 is the linux box
192.168.0.5 is my laptop windows 2000.

All are on the same domain. I have SAMBA up and running on the linux box. Each user has a local log on which allows them SAMBA Access. Not that it matters but the Linux box is also serving LAN html pages.

I want to set up the Linux box so it will retrieve the email from my isp. When the email arrives on the linux box It should be spooled in the users directory for user retrieval at a latter time.

What program do you recommend? sendmail, exim or something else. Right now I have Exim on the linux box, but I can remove that and go back to sendmail.

I can't seem to get either to work the way I want it to.

Thanks in advance

Jon

I

Stu
04-11-02, 12:10 AM
You don't need to set up sendmail at all then. There is no need for a Mail Transport Agent (MTA) to do what you want--that's overkill. Just use fetchmail (http://www.tuxedo.org/~esr/fetchmail/index.html) to retrieve the mail from your ISP account(s) and procmail (http://www.procmail.org/) to sort it however you want.

Stef
04-11-02, 12:50 AM
Well, an MTA is usefull when you have programs that monitor system activity and mail reports to trusted users.

With Exim you can have both your local mail and ISP's mail forwarded to the WIndows machine.

This way you can keep an eye on a headless station and get your e-mail :D


Stef