Hi all, I've found Chuck's fetchmail and sendmail posts from the past, and have included them below for the person that asked about fetchmail and sendmail with mutt, as well as for anyone else. Hth. Greg From: Charles Hallenbeck <chuckh@xxxxxxxxxxxx Subject: Re: net access under Linux progress and questions Date: Sun, 15 Apr 2001 06:51:47 -0400 (EDT) Good morning, Greg - Let me try a couple of suggestions. First, to implement "demand dialing," you must add a line to your /etc/ppp/options.demand file. After the line that says "demand" you add a line that says "idle nnn" where nnn is how many seconds to wait before automatically disconnecting. You might try 600 for instance. Then as root you run the command "ppp-go -d" and you are in business. I put that command in my startup script "/etc/rc.d/rc.local" which only runs once at system startup. To use fetchmail to retrieve your mail, you need a file called ".fetchmailrc" in your home directory with permissions 600. You can do many tricky things with that configuration file, but here is a copy of mine, which is quite simple. I have replaced my actual password with number signs: poll mail.mhonline.net protocol pop3 user chuckh password ###### fetchall To simplify my own use, I have created a symbolic link called "fm" pointing to the "fetchmail" script, but that is just laziness here! As for sending mail, if you use the stock sendmail configuration without any changes, you will have to ask your mail program to do some addressing for you. What I do is operate from a user account with the same name as my email account, and my local domain has the same name as my ISP domain. You have to tell your mail program what yhour user domain name should be, and also tell it to use only your domain name, not your host name. Pine has settings for those choices. Hope this much gets hyou started. Chuck My web site is http://www.mhonline.net/~chuckh The Moon is Waning Gibbous (52% of Full) _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup From: Charles Hallenbeck <chuckh@xxxxxxxxxxxx Subject: Re: net access under Linux progress and questions Date: Sun, 15 Apr 2001 15:25:32 -0400 (EDT) Greg - Here is a copy of a letter I recently sent to Linux Gazette about configuring sendmail. I worked out this plkn with the help of Steve Holmes. Hope this helps... Chuck >From chuckh at hudson.mhonline.net Sun Apr 15 15:21:46 2001 Date: Mon, 2 Apr 2001 10:21:46 -0400 (EDT) From: Charles Hallenbeck <chuckh@xxxxxxxxxxxxxxxxxxx To: tag at ssc.com Subject: Masquerading in sendmail The question in issue 65 about masquerading with sendmail prompts me to share my recent experience doing just that. My distro is Slackware 7.1, and my sendmail version is 8.10.2, so the following may or may not work on your system. First, I found the source file from which my installed sendmail was generated. It is called "linux.smtp.mc" and is located in "/usr/src/sendmail/cf/cf/" (that is not a typo!) I copied it to "linux.mc" in the same directory in case I screwed something up. No 'bridge burns' here! Second, I added four lines to the source file, just before the 'mailer' lines at the bottom of the file. I have replace my actual ISP name with "ispname" below: define(`SMART_HOST', mail.ispname.net) MASQUERADE_AS(ispname.net) FEATURE(`masquerade_envelope') LOCAL_USER(`root,chuckh,projects,sherwood,writings') Third, I ran this source file through the m4 macro processor like this: prompt:# m4 linux.mc > sendmail.cf Finally, not noticing any error messages, I copied the resulting file to where it belongs, in "/etc/mail". The comma-delimited list of user names in the 'LOCAL_USER' line makes it possible for those users to exchange email with each other locally, without involving my ISP. DNS lookup is not disabled - I leave it active to assist in antispamming. The email program I prefer is Pine, whose configuration makes no mention anywhere of my ISP. HTH - Chuck My web site is http://www.mhonline.net/~chuckh The Moon is Waning Crescent (49% of Full) _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup