On 2001-02-24 02:01 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I should write a similar script for fetchmail and place it in /etc/ppp/ip-up.d
> So I wrote this script, but it doesn't work.
> #!/bin/sh
> if [ -x /usr/bin/fetchmail]; then
>     /usr/bin/fetchmail --fetchmailrc /home/wcrowshaw/.fetchmailrc
> fi
> 
> It fails because the .fetchmailrc is not 'owned' by the process that
> called fetchmail.  

        su - -c 'fetchmail' andre       

Replace "andre" with your login name.

-Andre

Reply via email to