Tech Support > Operating Systems > Linux / Variants > Small SOHO email setup on Rh7.3
Small SOHO email setup on Rh7.3
Posted by Stefan Viljoen on March 4th, 2004


Hi all!

I am looking for any info oor good links you might have which will tell me
how or give my pointers in setting up my Rh7.3 server as an email server in
my home for my small local network.

I am new to Linux and have so far got Samba working to communicate with my
Windows machines. I can telnet into the Linux machine from my Windows
machines as well. I have installed Qpopper for POP3 serving, and can telnet
into it as well from my Windows machines. (Telnetting from a Windows
machine to port 110 on the IP address of the Linux machine)

However, I cannot telnet to port 25 (SMTP) port from any Windows machine. I
CAN telnet from the Linux machine itself into localhost:25, and can see
sendmail acknowledging. I can also "mail myself" on the linux machine using
sendmail and then qpopper.

I am assuming that if I can telnet into port 25 from a remote machine, I can
configure for example Outlook on a Windows machine to connect directly to
the IP address of the Linux machine, on port 25, using SMTP, and if I
create a Linux user with the correct name and password sendmail will accept
the SMTP connection on port 25 and send mail from the Windows machine to
Qpopper, which another Windows machine can then download by connecting on
port 110 to Qpopper and POP3'ing the mail off the Linux machine?

Any idea of where I can change my Rh7.3 configuration (/etc somewhere?) to
make the Linux machine accept connections on port 25 over the intranet,
just like port 110 is already accepting connections? Is the key xinetd?

Any faq's / howto's on this "tiny network email" setup under Linux?

Fanx!
--
Stefan Viljoen
Polar Design Solutions
Software Support Technician

Posted by Jeroen Geilman on March 5th, 2004


Stefan Viljoen wrote:

Hmm.. okay, let's see.

That's good - half of the problem solved already.

That means the MTA does not respond to outside mail connections - you'll
have to configure it first.

That is correct.

But this is not - an MTA does not generally do any authentication before
allowing you to send mail.
This is decided on different criteria, usually what address you're
connecting from, or what email address you're trying to send with.

And this is impossible.
Qpopper is a POP3 server, meaning you can only get mail from it, never
send mail to it.

Bit of advice: forget sendmail for the moment, and install Postfix.
It's relatively easy to install (far, far easier than sendmail) and
every bit as powerful for the more-than-average user.

/etc/mail, usually.

That could depend on any number of factors, like
- tcp allow/deny settings
- firewall restrictions
- mail server configuration
- and probably more

The "key" is only xinetd if the program in question is actually run from
xinetd.
A mail server usually isn't, but you can see what runs how by running
netstat -ltp
as root, this will give you each open port along with the program that
"owns" it.

Exactly the same as for any size email setup, really.

You may want to start here:
www.tldp.org - the official collection of HOW-TOs
www.postfix.org - a good mail server with almost English configuration

CelebrityY ?

--
Jeroen Geilman

Analog bits courtesy of adaptr.


Similar Posts