[KLUG Members] Sendmail as POP3?

Adam Williams members@kalamazoolinux.org
Mon, 6 Jan 2003 15:53:03 -0500 (EST)


>Is it possible to make Sendmail act as a POP3 server?

No.  Sendmail just receives and relays messages.

>It sounds counterintuitive, I guess, with it being called SENDmail, so let me
>explain what I'm trying to do.
>To help combat spam, it might be helpful if I could have a POP3 server block
>certain IP addresses.  Those address lists are available, etc. etc.

Sendmail can do this,  look at the "access" file in /etc/mail.  But it has 
nothing to do if you are using POP3 or not.

>I have a Linux box inside a local network that is sending mail from all the
>other internal boxes out to the appropriate places on the web.  So if machine
>192.168.0.7 wants to send mail, the mail is sent to machine 192.168.0.8 (linux
>box) which has Sendmail configured to receive email from there and send it on
>its way (through a firewall) out to the wild, wild web.

Central relay, this is the standard way to do things.

>Can I do -more- to that Sendmail box so that it goes to the POP3 servers on the
>web, grabs the mail from there, filters out the bad ip addresses and acts as a
>POP3 server to all the internal machines?

Ah, I think you want fetchmail.  It can poll POP3 boxes and feed the 
messages into sendmail which then delivers them "again" (or not) depending 
on how you set it up.