Re: [Howto?]invoking fetchmail upon ppp connection...
On 2001-02-24 02:01 +0100, wcrowshaw@yahoo.com <wcrowshaw@yahoo.com> 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 to: