Re: [SLUG] mail server.

From: Ronan Heffernan (ronan.heffernan@mindspring.com)
Date: Sat Nov 17 2001 - 21:13:21 EST


Jeff Barriault wrote:

Hey, this is cool. I got IMAP working and I added an entry into etc/aliases
to forward all mail to my account. Then I connected to the server using
Outlook on my Win2K machine. Just a quick note for those who care, you can't
connect to it as root. It just won't let you. Now just for fun, how do I
configure my e-mail client to send messages to the server?

Jeff-
   Sending mail is never done through IMAP or POP3 (almost never).
 Outgoing mail goes through SMTP (Simple Mail Transport Protocol). SMTP
runs on port 25, so to see if your SMTP server is running, you can type
"telnet machinename 25". If you get a connection, then you have an SMTP
server. The SMTP server is usually a program called "sendmail". This
is an old program, that is pretty much the UNIX standard around the
world. Unfortunately, it is also the most commonly exploited port of
entry for malicious "crackers". I recommend qmail instead.
 Unfortunately, because sendmail is such a standard, you probably have
it installed, and likely already running. You could try and use it to
get your setup working.

Tell Outlook to use you mail host as the SMTP server. While you are not
connected to the Internet, your mail server will queue your mail (to see
a list of outgoing messages, type "mailq"). When you connect to the
Internet, sendmail will send all of your outgoing mail to the recipient
hosts (I think sendmail tries to flush its queue every 15 minutes by
default?) So, if you are online for 15 minutes, you are guaranteed that
sendmail will try to flush its queue. There is a command ("sendmail
-q"???) to force sendmail to flush immediately; this command could be
placed in your /etc/ppp/ip-up script, to force sendmail to flush the
queue every time your PPP connection is established.
--ronan



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:21:10 EDT