Hello! I use wvdial as my Internet dialer and fetchmail & sendmail, as well as leafnode news server. I'd like to automatically (with the ip-up and/or ip-local script) to fetch and send my mail with fetchmail & sendmail, as well as to start SuSE firewall. I have uncommented appropriate lines to start fetchmail & sendmail in ip-up script and wvdial reports after connection that the script is running, however I cannot see that the mail is fetching and sending. For now, I manually start fetchmail & fetchnews, as well as sendmail -v -q. Please, if someone can explain me and/or send me the script to have automated sending/fetching mail and news, setting system clock and starting firewall. Sincerely, Sasa
Sasa Janiska wrote:
I have uncommented appropriate lines to start fetchmail & sendmail in ip-up script and wvdial reports after connection that the script is running, however I cannot see that the mail is fetching and sending.
Have look in the /etc/ppp/ip-up script and look down till you find analog (which is the for modem make sure the ip-up.local and ip-down.local arenot commented. Then create the scripts /etc/ppp/ip-up.local and /etc/ppp/ip-down.local place whatever you want to have run in the ip-up.local and whatever you want to end in the ip-down.local The next time you fire the wvdial once it gets the ip /etc/ppp/ip-up will trigger the ip-up.local script HTH -- Togan Muftuoglu
participants (2)
-
Sasa Janiska
-
Togan Muftuoglu