sendmail and multiple mail servers

My scenerio:
I have 2 mail accounts with two different ISP that require a userid/password to access them.  Before I was just using a mail client to get the mail, but now that I have DSL I want to pull the mail onto my linux box and do my mail from there.  Please keep in mind that have only been using Linux for 2 two weeks (Linux novice).  I have successfully setup IP Masq. and want to move on with more features.  So what do I need to do to have sendmail poll the two mail servers at timed intervals and pass it a uid/pwd then store it on my server.  Can I do this all with sendmail or do I need to use fetchmail in conj. with sendmail.

Can someone outline the steps for me?
LVL 1
ivanhAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

j2Commented:
Sendmail N-E-V-E-R polls, it only receives, and sends.

What you need is fetchmail.

Install the fetchmail and fetchmail-conf rpm's and read the docs, it's very easy to set up.

But it does require a working sendmail on your system, since the mails are delivered locally via loopback.

your .fetchmailrc pretty much only needs a line like

poll FQDN.OF.POPSERVER.HERE proto pop3 user USERIDATPOPSERVER password PASSWORDATPOPSERVER is LOCALUSERNAME here

just add a second line for the second account. you will have to replace all the UPPERCASE stuff to your data.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
j2Commented:
(fetchmailconf gives you a X gui client to config fetchmail, works like a charm)
0
ivanhAuthor Commented:
Great.  Something I foregot to put in the descr.  One of locations just drops all mail into one box.  So me@you.com would go in the same mailbox as me2@you.com.  How would I seperate them on my side?  I'm assuming that since all fetchmail does is mail it to my local server is should just work?  I added 25 more points since it wasn't in the original.
0
j2Commented:
Fetchmail can handle that aswell, and so can procmail.
0
ivanhAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.