Re: local e-mail message delivery from isp
On Tue, 18 Nov 1997, Remco Blaakmeer wrote:
> On Mon, 17 Nov 1997, David Stern wrote:
> > <SNIP>
> > Not one to leave well enough alone, I now want to setup my home Debian
> > Linux box so that messages are transferred to my local mailspool and I
> > can run a mail program locally. I've chosen sendmail to handle the
> > daemon, exmh as a mail program, and I've run through the initial
> > configuration for each.
> > My question is: What is a good method to go about checking for and
> > delivering messages? Is there some slick app (gui or otherwise) that
> > automates this procedure, or should I hack my chatscript to run
> > something (what are my options?) at connect time and schedule cron to
> > connect every so often (or possibly just check every so often when I'm
> > connected, I haven't decided how often I want to check yet), or is there
> > an even better way to handle this ritual? My isp provides pop3, imap2,
> > imap4, if that helps.
> > I've read many related docs including howto's, books, works from the
> > Debian Documentation Project, but have not made much progress. If there
> > is a good document I should read, please tell.
> For fetching e-mail, take a look at fetchmail. It can use (amongst others)
> the pop3 and imap4 protocols to fetch e-mail from the isp and deliver the
> mail to a local user. It can run as a daemon (or not) and is very
> For sending e-mail you'll have to tell your e-mail program to use the
> localhost as the smtp server (which is probably the default) and configure
> sendmail for the dialup line. Since I am on a permanent connection (and
> don't use sendmail) I have no idea how to do this, but others certainly
How attached are you to sendmail? If it's not a
give-me-sendmail-or-give-me-death situation, you might want to check how
I've configured smail on my machine - I've written an explanation of what
I did and put it at http://www.math.jhu.edu/~martind/mybox.html - I use a
dialup line and have a potentially different IP given to me each time I
dial up. I've done some things you may not feel a need for (e.g.
rewriting my From: line on outgoing mail, and making my box able to
receive mail from the outside world directly (i.e. one can mail to
firstname.lastname@example.org or whatever)), but as with anything you can take
what you like and leave the rest. (if you have difficulty separating
which of my hacks do what, just email me)
If you're just looking for the command to force sendmail to try to deliver
mail now, the command is "runq" - definitely put that in /etc/ppp/ip-up.
I also suggest that you configure sendmail to send all mail through a
smarthost that is connected to the internet fulltime, rather than trying
to deliver things directly yourself.
(I believe that "runq" is also in the default crontab for the user mail,
so that should already be set up)
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .