Re: [SuSE Linux] WvDial, Fetchmail And Sendmail
On Mon, 31 May 1999, John Archbold wrote:
Hello Everyone,
I don't think this has been asked in this discussion list but here i go....
I am connecting to the Internet using WvDial which is really cool [No messing with Chat scripts etc....] And use Fetchmail to get mail and sendmail to sendmail. I also use LICQ.
I have made a small script to called fecth and placed in in the /root/bin dir and chmoded it to 777.... When it runs it fetch's mail and sendsmail without me having to type it in manually
All that is in the file is
fetchmail sendmail -q
in that order....
What i want id to be able to do the following
WvDial to Dial to the Internet My Fetch Script to be ran and to be ran every 5 mins Then ICQ to be started!
Is there a way of doing this?
Thanx In Advance
John Archbold
-- Running SuSE 6.1 -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Check out the manpage for fetchmail (the part with the -I option and the interface keyword). With this setup right fetchmail will only try to get mail if the interface (eg. ppp or eth) is up. Then start fetchmail in daemon mode from boot.local with su -c "fetchmail" "username" How you go about sending mail, I dont know an easy way, but cron should be able to do it, also with checks for ppp/eth. -- Regards Med venlig hilsen Ole Kofoed Hansen <A HREF="mailto:k01164@ko.sdu.dk">mailto:k01164@ko.sdu.dk</A> ICQ-UIN: 25773325 -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (1)
-
k01164@ko.sdu.dk