[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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 <mongeon@bankoe.com>
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 <colin.marquardt@gmx.de> 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 <colin.marquardt@gmx.de>


--
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: