[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Fetchmail Initscript (Now available!)
- From: Colin Cyr <ccyr home com>
- To: Redhat List <redhat-list redhat com>
- Subject: Fetchmail Initscript (Now available!)
- Date: Sun, 06 Sep 1998 04:50:14 -0600
Hello all,
Upon implementing FetchMail, for my personal use, I found there to be no way of
having fetchmail poll all of the users on the 'server' for a .fetchmailrc file.
I found this to be severly limiting. Another visibile problem was that the end
user might have to relogin to initialize the process again, this would be
unacceptable for mail accounts that mostly forward out. So I hacked up a little
initscript. I don't forsee any problems with this script, but as usual if you
use it you accept it as is and without warrantee or guarentee, use at your own
risk, and all of the regular disclaimer information.
The script itself is quite simple, and should pose no problems to anyone. Of
course if you have any firther comments on the script (I.e. a more formalized
script syntaxt), I'd love to hear from you.
Installation instructions:
1. Save the attached file to: '/etc/rc.d/init.d/fetchmail'
2. Ensre file perms are: 755 (like the rest of the scripts).
3. As 'root' in '/etc/rc.d/init.d' run: 'chkconfig --add fetchmail'.
The script is now installed. You should be able to run './fetchmail start'
without problems (even if fetchmail is running under any user, it should just
force them to re-poll for messages).
Now whenever you reboot your machine, all of your users' fetchmails will start
up.
--
*********************************************************
* We the willing, led by the unknowing,
* are doing the impossible for the ungrateful.
* We have done so much for so long with so little.
* We are now qualified to do anything with nothing!!!
*********************************************************
* Colin Cyr ccyr house com
* (Replace 'house' with 'home' to reply)
*********************************************************
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]