As I think I mentioned in the FAQ in install-sendmail, run fetchmail
from /etc/rc.d/rc.local (or somewhere in the startup scripts) with
fetchmail -d 180
which will run fetchmail every 180 seconds to check for and grab any
waiting mail. I'm prettyr certain I mentioned there also how to tell
fetchmail to monitor ppp0 if it was up as well.
Did you run /usr/sbin/sendmail -q -v to send your queued mail?
David Neary wrote:
>> I recently got a modem (my first!) and I've configured ppp to connect to
> an ISP, and gotten nameservices going. Now I'd like to set up mail, and
> make it play nice :)
>> What I want to do is have mail queueing locally when sent, and be fired
> off automatically when I connect to my ISP. I've run install-sendmail
> (thanks Donnacha!), but I'm still not sending mail correctly, AFAICT.
>> I also want to set up fetchmail to get mail from two fetchmail accounts,
> and drop it to two local accounts, automatically on connection. I'd prefer
> if I could do this in ifup-ppp, rather than login as root and run
> fetchmail manually.
>> Am I thinking of this right? Is it enough to run fetchmail as root from
> within ifup? Is there another more standard/nicer way to do it? Any help
> would be greatly appreciated.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!