Re: ip-up.d
On 24-Sep-99 John Hasler wrote:
>> I am having a problem using /etc/ppp/ip-up.d/ to start fetchmail when I
>> use pon to connect. there is a script in there that wil start fetchmail
>> for me as desired via command line. yet fetchmail still won't start on
>> it's own when I connect to my ISP.
>
> Post the name of the script, the permissions, and the script itself.
>
> Here is mine:
>
> -rwxr-xr-x 1 root root 63 May 27 19:27 fetchmail
>
>#!/bin/sh
> rm -f /var/spool/smail/retry/smtp/*
> fetch-mail
> runq
>
> Here is the script 'fetch-mail':
>
>#!/bin/sh
> su postman -c "fetchmail -v"
In my script, I have:
#!/bin/sh
sleep 10s
/usr/bin/fetchmail -d 480
--
Andrew
>
> The user 'postman' exists solely to handle mail and has a home directory
> set up to push mail through mailagent, which forwards it appropriately.
> --
> John Hasler This posting is in the public domain.
> john@dhh.gt.org Do with it what you will.
> Dancing Horse Hill Make money from it if you can; I don't mind.
> Elmwood, Wisconsin Do not send email advertisements to this
> address.
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
> /dev/null
-----------------------------
GnuPG Public KeyID: 0x48109681
Reply to:
- Follow-Ups:
- Re: ip-up.d
- From: Brian Servis <servis@purdue.edu>
- Re: ip-up.d
- From: "Gregory T. Norris" <haphazard@socket.net>