LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Adrian Butterworth <adrian@econ-outlook.com.au>
To : Benjamin Close <benjsc@senet.com.au>
Date: Mon, 09 Nov 1998 18:11:02 +1030
Re: Sendmail Problems
Benjamin
you most likely are running fetchmail while you are root
fetchmail doesn't need to be run as root
create a file .fetchmailrc in your user level home directory
with a line that looks like:
poll senet.com.au protocol pop3 user benjsc with password XXXXXX is
benjamin here
chmod it 600
then just run fetchmail as a userlevel process
. note the "is fred here" syntax.
. you can collect mail from any server/user you know the passwords for
by adding multiple lines like the above.
. you can use the "is fred here" syntax to put them
in any users mailbox (you don't need to be root
just like you dont need to be root to mail someone!!)
. This is all good because 1 fetchmail running in demon mode
can collect email for many local users, from many servers accounts.
. to run as a demon log on as yourself (not root) and
fetchmail -d 3600 -t 300
this will drop into the background & check your mail every hour
(3600 secs) until you next reboot or kill it. Choose your own
time to suit your needs. The -t 300
tells it to timeout after 300 secs on any retrieval
this stops fetchmail stalling on a dead server
- great transition tool
Regards
Adrian
--
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page