info@edoc.co.za wrote:
Thanks for the answer Zentara (And the other answers as well!)
The followup question: Is it possible to launch automatically sendmail - q as root once a successfull connection has been made by diald?
That would be power!
Maybe this could become a feature in the next SuSE release for dial-up users?
Nico
look into the scripts. I do not know what scripts are used by diald, but you will find a command that *establishes* the link and add "sendmail -q" right after that, or better do a "wait 10s", to make sure the link *is* established at that time. i.e. a "standard" ppp-up file: localip=0.0.0.0 remoteip= device=/dev/modem pppflags="38400 modem debug defaultroute" /usr/sbin/pppd lock \ connect \ '/usr/sbin/chat -v -f /etc/ppp/ppp.chat' \ $device $pppflags $localip:$remoteip \ lcp-echo-interval 20 \ lcp-echo-failure 5 # add here wait 10s sendmail -q fetchmail -f /etc/fetchmailrc # this fetches an sends your mal .... Juergen -- ========================================== __ _ Juergen Braukmann mail: brauki@cityweb.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu| /\\ /__/ / _ \/ // /\ \/ / ==========================================_\_v __/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e