Setting up a mail server

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Tue Jun 29 20:24:14 UTC 2004


On Tuesday 29 June 2004 02:00 pm, Slade Hornick wrote:
> No scanning needed, another server has already done that.  I would like
> some suggestions on which programs to use and then a starting point to get
> me going.  Like I said, I've tried several things, but nothing is working -
> so I'm back to the starting point and just need some pointers.
>
> Ex:
> Use Postfix to receive mail

I never used Postfix before, but sendmail should do it too. 
The simplest things to do:
1. Create user account for whoever's going to receive mail in that server.

2. Edit /etc/mail/sendmail.mc so sendmail can receive mail from network by 
commenting out this line:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

3. Regenerate sendmail.cf (look at the comment on the top of sendmail.mc).

4. Start / restart sendmail:
$> service sendmail restart

You should be able to receive mail in that box from outside. If you have 
firewall, make sure you open port 25. If you use tcpwrapper to limit access, 
make sure you have the following in /etc/hosts.allow:
sendmail : ALL

You said another server scan the mail. So the mail arrive to that scanner 
server first, or what? Then how does the mail get to this server? We need to 
know what you intend to do specifially. I still don't understand what your 
"nothing is working" implies.
 
> Use Courier-imap to view mail from OE on a windows machine

All you need to do to enable imap is:
$> chkconfig imap on

If you want POP3, do:
$> chkconfig pop3 on

HTH.
RDB

-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -





More information about the fedora-list mailing list