[gentoo-user] fetchmail question

2003-10-04 Thread William Hubbs
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



Re: [gentoo-user] fetchmail question

2003-10-04 Thread Dennis Freise

- Original Message - 
From: William Hubbs [EMAIL PROTECTED]
To: gentoo users [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 11:34 PM
Subject: [gentoo-user] fetchmail question


Hi.

 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?

poll your.mail.server proto pop3
user remote_login with pass remote_password is localuser here

HTH :D



--
[EMAIL PROTECTED] mailing list