Hi all,

I have a question about running fetchmail.

I would like to run it as root, but I don't understand how to set that up.  Here is 
what i have currently:

My .fetchmailrc is set up like this:

set daemon 300

defaults
        fetchall
        mda "/usr/bin/procmail -d %s"

poll my.mail.server
        protocol pop3
        user isp.user 
                password isp.password

Since I want to run fetchmail as part of the boot sequence, I put the following in 
/etc/conf.d/local.start:

                su - localuser -c "fetchmail"

                How would I convert this so that I can use the /etc/init.d/fetchmail 
script to run fetchmail?  In other words, what goes in /etc/fetchmailrc to make 
fetchmail know which username on my linux box to deliver mail to?

                Thanks,

                William


--
[EMAIL PROTECTED] mailing list

Reply via email to