Slackware and fetchmail
Does anybody know of a "rc.fetchmail" for Slackware which I can use to start fetchmail with at boottime.?
I've tried the 'fetchmail -d 60', but it complains of "no mailservers have been specified". |
Slackware uses getmail not fetchmail by default. Why? You can read that here .
I believe fetchmail is available in the extras or pasture directories if you insist. Dennisk |
I've read the programmer's crowing about why getmail is better than fetchmail and it seems to be mostly a rather snide attempt at salesmanship. Andrew Carnegie ruined a competing steel manufacturer by simply stating that the competitor's rails lacked "homogeneity". No one knew what that meant but the railroad companies didn't want to use those rails, or question Carnegie's judgement.
When I can find a solution, that works, to stop the strict deprecation warnings I get with getmail, I might use it. Can anyone else answer the original question? I get this error also. Kent |
I found this on the net, and it works like a dream.
rc.fetchmail stop rc.fetchmail start the '-d 60'' checks every minute. Code:
#! /bin/sh |
Thanks! Does anything need to be changed for Slackware? Does the "rc.fetchmail start" go in rc.local?
Kent |
Fits into Slackware like a glove.
1. chmod 755 /etc/rc.d/rc.fetchmail 2. place in /etc/rc.d/rc.local 3. Reboot |
Then do I have to move my .fetchmailrc file to /root/ or can I change the path in the script? Currently I'm only checking one mail account (mine) for one user (me) so the rc file is in my home directory, but with a multi-user system I suppose it should be in /root.
I discovered that the error message comes from fetchmail not knowing where to find the .fetchmailrc file. I haven't tried it but I'm guessing that an alternative to the above-mentioned script would be to put a line in rc.local something like this: fetchmail -f /path/to/.fetchmailrc Thanks again. Kent |
I don't know if this is at all useful to you, but I use fetchmail in conjunction with gkrellm to check my pop3 acount and provide email notification. I opt to leave the mail on the server and retrieve it using kmail or evolution, but I could just as easily download it to /var/mail/steve. I used Fetchmailconf to set up fetchmail, which is also provided with slackware.
Sorry if I'm pointing out the obvious - wouldn't be the first time. |
Yes, move the .fetchmailrc file to /root/ .
|
All times are GMT -5. The time now is 02:50 PM. |