getting emails from ISP using mailtool (sendmail)

I'm connected to the INTERNET through PPP, I was using netscape to
download all my emails. (I'm using solaris 2.5.1 on a SparcClassic)

Now I wanna use mailtool instead of netscape but I don´t know what to change in sendmail.cf

Everything is working (/etc/resolv.conf, /etc/nsswitch etc)

I just need to know how to tell sendmail.cf the name of my POP3 Server
and stuff like that. (same stuff when you're setting up the Mail in netscape)

Any idea...

Thanks in advance....
cblazqueAsked:
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.

cblazqueAuthor Commented:
I just have 100 points left, I hope you can help me.
0
helverCommented:
I may, of course, be wrong, but I think you're trying to use sendmail for something that sendmail doesn't do.  Sendmail receives incoming mail, and passes outgoing mail along, but I don't think it's terribly good at going out and getting mail bound for the server it's running on.

The tool you may want to investigate is fetchmail.  I believe that may be the easiest way to accomplish what you're trying to do.
0
jlevieCommented:
Mailtool on Solaris doesn't support POP or IMAP. It can only access local or NFS Unix mailbox files and it can only send mail via the local sendmail instance.

You can retrieve mail from your ISP with fetchmail, which would allow you to read it with mailtool. Then to send mail you're going to have to set up your local sendmail as a Mail Transfer Agent (MTA) for outoing mail.

Setting up sendmail for this configuration isn't exactly a trivial exercise, and especially so with the sendmail furnished with 2.5.1. You need to consider how your machine appears to the outside world. If you've got a static IP and the proper DNS entries at your ISP (name->addr, and addr->name) you can send directly from your sendmail. If the IP is dynamic you probably need to configure sendmail to use a SmartHost for relaying, as external mail servers may refuse your connection if they have anti-spam measures that include a requirement for hostname and IP matching via DNS.

If you really want to do this, you should get the sendmail-8.9.3 sources (www.sendmail.org) read all the docs (particularly those pertaining to using a sendmail relay), and build your own sendmail. In particular you're probably going to want to build your sendmail.cf file with SmartHost (for mail relaying through your ISP) and Masquerading (so return mail goes to your ISP, not to your sendmail machine). Also you'll want to take a look at the sendmail FAQ regarding tweaks to avoid unecessary activation of the PPP link every time sendmail processes a message.

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
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
Networking

From novice to tech pro — start learning today.