Re: [SLUG] files for Paul

From: Paul M Foster (paulf@quillandmouse.com)
Date: Mon Jan 20 2003 - 00:28:33 EST


On Sat, Jan 18, 2003 at 05:54:52PM -0500, John Pedersen wrote:

> Sorry I can't preserve the thread; in order to answer your question
> about files, I'm on a different machine.
>
> ---------------
> This is .fetchmailrc, located in /root
>
> # set polling interval to 3 minutes
> # -to stop the daemon, call fetchmail thus: fetchmail --quit
> set daemon 180
>
> set postmaster "john"
> set bouncemail
> set no spambounce
> set properties ""
> poll jmp-systems.com with proto POP3
> user 'xxxx' there with password 'xxxxxxxx' is 'john' here options
> keep
>
> ----------------
> This is .procmailrc in /home/john
>
> DEFAULT=$HOME/mail
>
> -----------------

Nothing odd here, that I see. So I haven't a clue why you're getting odd
files with odd extensions. Two things, though. I don't see fetchmail
handing off the mail to procmail; there's nothing in the .fetchmailrc
that tells it to use procmail for its delivery agent. Second, I notice
it appears you're running fetchmail as root (/root/.fetchmailrc). This
is a bad idea for security reasons. Better to run fetchmail as a regular
user. And if you were (as root) to tell fetchmail to give the mail to
procmail, it would ignore the /home/john/.procmailrc in favor of the
/root/.procmailrc, if any.

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:37:16 EDT