On 26 Jan, Joss Winn wrote:
2. I use Mutt, Fetchmail and Sendmail for a very simple dial up pop3/smtp.isp.com mail service. I'd like to have fetchmail and sendmail -q run whenever I log on and fetchmail killed whenever I log off. I've found some info on the web about editing the /etc/ppp/ip-up and ip-down scripts but my ip-down script points to my ip-up script and inserting /sbin/sendmail -q in ip-up does not flush the queued mail as I thought it should.
Create two scripts: /etc/ppp/ip-up.local and /etc/ppp/ip-down.local. The SuSE "ip-up" script will call these if they exist. Call sendmail and fetchmail from ip-up.local. Then shut down fetchmail from ip-down.local. I can send you some my scripts as examples, if you'd like. Just reply off list. -- Robert Wohlfarth rjwohlfar@bigfoot.com "Is not life more important than food, and the body more important than clothes?" -- Matthew 6:25b