[Posted and mailed]
> Hi,
> I have a static ip address (202.186.247.194) and running Linux Redhat
> 6.1 Kernel-2.2.13-0.5 with pop3 service open (/etc/inetd.conf) and would
> like to set up an email account for my own using the static ip.
> I remebered someone said I would need to state my email like the format
> below:
First, POP isn't what you need for this -- you need an SMTP server. Every
general-purpose Linux distribution comes with an SMTP server (aka an MTA).
Examples include Sendmail, Postfix, Qmail, Exim, and Smail. Chances are
your system is already configured to accept such traffic. I know that Red
Hat 6.0 used Sendmail, but I don't know offhand if that's the same or has
changed with RH 6.1.
Second, this works pretty well if your system is up most of the time.
Contrary to what somebody else posted, mail isn't normally bounced
immediately if the system is down; it's held at the sending system until
yours comes back online. (Within limits; most sites stop trying to send
after 5 days or so, and then bounce the mail.) Of course, you could run
into serious problems if your system is up only sporadically. Particularly
if the same is true of a sender (quite possible if the sender uses an MTA
directly on a PPP dialup link, as an example), then the sender may end up
trying to connect only two or three times before timing out, resulting in
a bounce.
Third, it's easy to register a domain name and associate it with your IP
address. It'll cost you $50-$70, though, which gets you a domain name
that lasts for two years. See http://www.internic.net/alpha.html for an
incomplete list of organizations that'll let you register a domain name.
Some of these places include DNS services in that price or for a little
more. I just recently registered a domain through http://www.joker.com. It
cost me 118 DM (about US$60) for two years including DNS. If you don't
need your own top-level domain, various outfits will let you hang your IP
address on their domains, so you become yoursystem.somedomain.net. Some of
these offer free services. Most are geared towards serving people with
dynamic IP addresses, but most also work fine with static IP addresses. A
couple whose URLs I happen to have handy are http://www.dyndns.org and
http://www.dynhost.com, but there are others. If you pick any of these
solutions, you can address mail directly to yourself on this new domain or
subdomain.
Fourth, as somebody else posted, some DSL and cable modem ISPs object to
your running servers. Check to be sure it's OK before you proceed.
--
http://members.bellatlantic.net/~smithrod
Author of books on Linux networking & WordPerfect for Linux