[Webinar] Streamline your web hosting managementRegister Today


getting emails from ISP using mailtool (sendmail)

Posted on 2000-02-04
Medium Priority
Last Modified: 2013-12-23
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....
Question by:cblazque

Author Comment

ID: 2492261
I just have 100 points left, I hope you can help me.

Expert Comment

ID: 2492764
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.
LVL 40

Accepted Solution

jlevie earned 200 total points
ID: 2492866
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.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This program is used to assist in finding and resolving common problems with wireless connections.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question