Re: ppp + ip-up.d + fetchmail + multiple polls
* Brian Servis [EMAIL PROTECTED] writes: *- On 6 Nov, Colin Marquardt wrote about ppp + ip-up.d + fetchmail + multiple polls Now, when I go online and this script is run automatically, fetchmail only queries the first of my four accounts! (I can observe this because I´m sending the fetcmail output to /dev/console). The scripts in ip-up.d are run as root. Thus the fetchmail script you have would be using /root/.fetchmailrc and not your .fetchmailrc. Would there happen to be a .fetchmailrc in /root that contains the first isp as is in your .fetchmailrc? The way around this is to use Indeed, there was. I alredy suspected another .fetchmailrc, but I was mislead by locate not bringing up the one in /root/ (of course it didn´t :-). Thanks for your help, Colin -- Colin Marquardt [EMAIL PROTECTED]
Re: ppp + ip-up.d + fetchmail + multiple polls
Colin: My first guess is that pppd is not executing the script with the correct $HOME environment variable set. I suggest explicitly specifying the rc file on the fetchmail command line. Marc -- Marc Mongeon [EMAIL PROTECTED] Unix Specialist Ban-Koe Systems 9100 W Bloomington Fwy Bloomington, MN 55431-2200 (612)888-0123, x417 | FAX: (612)888-3344 -- It's such a fine line between clever and stupid. -- David St. Hubbins and Nigel Tufnel of Spinal Tap Colin Marquardt [EMAIL PROTECTED] 11/06 9:26 AM Hi, the subject shows that I have no clue where to look :-) My problem is this: my ~/.fetchmailrc specifies four different accounts to poll mail from. When I m running fetchmail by hand, all four accounts are polled, like it should. I have a script in /etc/ppp/ip-up.d that looks like this: | #!/bin/sh -e | ## This script is run when the ppp link goes up. | | echo Fetchmail starting... /dev/console | | fetchmail -vvv -a 2 /dev/console | | echo Fetchmail ready. /dev/console Now, when I go online and this script is run automatically, fetchmail only queries the first of my four accounts! (I can observe this because I m sending the fetcmail output to /dev/console). Has anyone an idea why this is? My system is a plain slink in this part, fetchmail is version 4.6.4. TIA, Colin -- Colin Marquardt [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: ppp + ip-up.d + fetchmail + multiple polls
*- On 6 Nov, Colin Marquardt wrote about ppp + ip-up.d + fetchmail + multiple polls Hi, the subject shows that I have no clue where to look :-) My problem is this: my ~/.fetchmailrc specifies four different accounts to poll mail from. When I´m running fetchmail by hand, all four accounts are polled, like it should. I have a script in /etc/ppp/ip-up.d that looks like this: | #!/bin/sh -e | ## This script is run when the ppp link goes up. | | echo Fetchmail starting... /dev/console | | fetchmail -vvv -a 2 /dev/console | | echo Fetchmail ready. /dev/console Now, when I go online and this script is run automatically, fetchmail only queries the first of my four accounts! (I can observe this because I´m sending the fetcmail output to /dev/console). Has anyone an idea why this is? My system is a plain slink in this part, fetchmail is version 4.6.4. The scripts in ip-up.d are run as root. Thus the fetchmail script you have would be using /root/.fetchmailrc and not your .fetchmailrc. Would there happen to be a .fetchmailrc in /root that contains the first isp as is in your .fetchmailrc? The way around this is to use the --fetchmailrc command line option. Look at the sample files in /usr/doc/fetchmail for fetchmail-up and fetchmail-down. -- Brian Servis -- Mechanical Engineering | Never criticize anybody until you Purdue University | have walked a mile in their shoes, [EMAIL PROTECTED] | because by that time you will be a http://www.ecn.purdue.edu/~servis | mile away and have their shoes.
ppp + ip-up.d + fetchmail + multiple polls
Hi, the subject shows that I have no clue where to look :-) My problem is this: my ~/.fetchmailrc specifies four different accounts to poll mail from. When I´m running fetchmail by hand, all four accounts are polled, like it should. I have a script in /etc/ppp/ip-up.d that looks like this: | #!/bin/sh -e | ## This script is run when the ppp link goes up. | | echo Fetchmail starting... /dev/console | | fetchmail -vvv -a 2 /dev/console | | echo Fetchmail ready. /dev/console Now, when I go online and this script is run automatically, fetchmail only queries the first of my four accounts! (I can observe this because I´m sending the fetcmail output to /dev/console). Has anyone an idea why this is? My system is a plain slink in this part, fetchmail is version 4.6.4. TIA, Colin -- Colin Marquardt [EMAIL PROTECTED]