Postfix - fetching mail periodically on a dial-up
I am using postfix on SuSE 8.1 with a dial-up connection. At present when I go online it sends and fetches mail. I can then cause mail to be sent with 'sendmail -q' and I have found some info on automating this. What I haven't been able to do is find info on getting the fetching of mail to happen periodically (say every 5 or 10 minutes) as long as I am connected. How would I set this up? Thanks. -- Steve Crane http://craniac.afraid.org
craniac (Steve Crane) wrote:
I am using postfix on SuSE 8.1 with a dial-up connection. At present when I go online it sends and fetches mail. I can then cause mail to be sent with 'sendmail -q' and I have found some info on automating this. What I haven't been able to do is find info on getting the fetching of mail to happen periodically (say every 5 or 10 minutes) as long as I am connected. How would I set this up?
Configure fetchmail to fetch your mail and deliver it locally. Maybe you have it already done. Start it at ipup with "fetchmail --daemon seconds". End it at ipdown with "fetchmail --quit". -- Andreas
The 03.07.14 at 10:01, craniac (Steve Crane) wrote:
I am using postfix on SuSE 8.1 with a dial-up connection. At present when I go online it sends and fetches mail. I can then cause mail to be sent with 'sendmail -q' and I have found some info on automating this.
Check "/etc/ppp/poll.tcpip", it does it automatically for you.
What I haven't been able to do is find info on getting the fetching of mail to happen periodically (say every 5 or 10 minutes) as long as I am connected. How would I set this up?
Same thing, plus configure fetchmail. Or create your "/etc/ppp/ip-up.local". -- Cheers, Carlos Robinson
participants (3)
-
Andreas Winkelmann
-
Carlos E. R.
-
craniac (Steve Crane)