Sendmail as POP3

Hi Everyone,

I am new to Linode and not too good at linux either but at work we use linux servers so I learned some about them. I have a RadHat 9 small and am trying to setup email on it. I want to provide incoming emails only to my domains and that's exactly what we do at work too. But, incoming mail is POP3, right? Yet we're using sendmail at work to do that. Could someone please help me setup sendmail to "act" as a POP3 server? At work, when a client needs a new email account, all I have to do is add them to the virtusertable file and then recompile it. That's part of sendmail. right? I'm very confused.

Gerorge

6 Replies

No, POP/IMAP are used by remote clients to pick up mail from a mailserver. Sendmail doesn't provide POP/IMAP support, you have to add a service (usually an inetd/xinetd one) for this. RedHat 9 is so old (and unsupported by them!) that I can't remember which RPM they're contained in, but if you want them, look for dovecot or just some package called imap/imapd in your repositories. Remember RH9 is only barely supported now even by the fedoralegacy.org project - without that, you'll have multiple vulnerabilities and I wouldn't expect support to last too long. I'd suggest moving to CentOS.

I'm not sure you want POP at all though. Sendmail itself accepts incoming mail for the local domain - that's its job.

Finally remember that the plain text versions of POP and IMAP are scary: they transmit passwords in plain text format over the internet, like telnet. Always use the SSL versions if you have to support remote mail clients.

Thanks for the info. I had no idea RH9 was that old. The only reason I went with that was because we use that at work and I didn't want to learn another distribution. I finally was able to setup Apache, MySQL, and BlueDragon. The only part I'm missing is email. Sendmail is actually installed and running on RedHat9 small and I setup a domain and email account but cannot connect to the server. I get an error 10061. Maybe I have a firewall installed by default and have to open a port? Not sure. I guess I can give CentOS a try.

George

Yes you'd need to open tcp/25 for sendmail.

You'll also need to tell sendmail to accept connections on the outward facing interface - I can't recall what the default was in RH9, but in recent Red Hat/Fedora/CentOS distros it only listens on localhost for security reasons. See /etc/mail/sendmail.mc.

But I really wouldn't advise running with RH9 - you'll find CentOS very familiar (it's a rebuild of current Red Hat Enterprise) and support will last for years.

I just installed CentOS4 and my first task was to install nano. :) But I managed to do that, so I'm proud. :D My question is, do you know if these distros have any firewall installed and if they do, how do I open a port on them?

George

On CentOS either use system-config-securitylevel (think it needs X, probably not installed by minimal Linode installation), edit /etc/sysconfig/iptables directly if you know what you're doing, or else install something like firestarter (easy but needs X), firehol (ok for console, reasonably easy) or shorewall (more complex and probably overboard). See the Linode Wiki security section for a few bit on these. Google to find homepages.

Firehol, probably.

Centos.org in general for support.

Thanks for your help.

George

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct