procmail
[Top] [All Lists]

Last effort.

1998-02-26 01:09:00

This is gonna piss some folks off, but it will be the last time I post my
problem on this list.  I will detail in this message everything thats
going on.  Background:  I am running this system at home as a single user
style, system connected to my ISP through a dynamic IP and polling my mail
using POP3.  Procmail is v3.10; Fetchmail 4.3.2

Files:

-rwxr-xr-x   1 dionysus mail           24 Feb 25 13:14 getmail
-----------
fetchmail -v
startproc
--------------------------------------------------------------------
-rw-------   1 dionysus mail           94 Feb 25 18:03 .fetchmailrc

poll mail.jcave.com proto pop3
  user dionysus password xxxxxxx
 mda "/usr/bin/procmail"
--------------------------------------------------------------------
-rw-r--r--   1 dionysus mail           62 Feb 20 08:07 .forward

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #dionysus"
--------------------------------------------------------------------
-rwxr-xr-x   1 dionysus mail          352 Feb 25 16:52 startproc

if cd $HOME &&
        test -s $ORGMAIL &&
        lockfile -r0 -l3600 .newmail.lock 2>/dev/null
then
        trap "rm -f .newmail.lock" 1 2 3 15
        umask 077
        lockfile -l3600 ml
        cat $ORGMAIL >>.newmail &&
         cat /dev/null >/$ORGMAIL
        lockfile -mu
        formail -s /usr/bin/procmail <.newmail &&
         rm -f .newmail
        rm -f .newmail.lock
        fi
        exit 0
---------------------------------------------------------------
-rw-r--r--   1 dionysus mail          277 Feb 25 23:59 .procmailrc

SHELL=/bin/sh
LOG="HOST=$HOST"     (someone told me to try this)
VERBOSE=ON
MAILDIR=$HOME/.procmail
LOGFILE=$HOME/.procmail/proc.log
PMDIR=$HOME/.procmail
PATH=/home/dionysus/.procmail:/bin:/usr/bin:/usr/local/bin
INCLUDERC=$PMDIR/rc.linuxlists
INCLUDERC=$PMDIR/rc.dionysus
INCLUDERC=$PMDIR/rc.tester
----------------------------------------------------------------
drwxr-xr-x   2 dionysus mail         1024 Feb 26 00:08 .procmail
    -rw-------   1 dionysus dionysus   168581 Feb 26 00:06 proc.log
    -rw-r--r--   1 dionysus dionysus       67 Feb 24 23:10 rc.linuxlists
 
#This is also where I want my mail to go!
------------------------------------------------------------------

        Now, problems are LOGFILE can't be read thru mailstat <OR> cat in
either dionysus or root. (dionysus BTW has grp mail) Log CANT be deleted,
or accessed! When I kick off getmail. results are:

reading message 1 of 2 (4279 bytes)
fetchmail: about to deliver with: /usr/bin/procmail
#*******************************.************************.*********************Hprocmail:
[592] Thu Feb 26 00:29:18 1998
"rocmail: Assigning "MAILDIR=/home/dionysus/.procmail
"rocmail: Couldn't chdir to "/home/dionysus/.procmail
"rocmail: Assigning "LOGFILE=/home/dionysus/.procmail/proc.log
"rocmail: Opening "/home/dionysus/.procmail/proc.log
 flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK Message 1 has been deleted.
---------------------------------------------------------------------
        Question here:  should this be "rockmail: ??
        Is fetchmail to be run ONLY by root? When I use command on line:
formail -s /usr/bin/procmail <.newmail && I get the same procmail erors as
above. (Why is it /usr/bin/procmail and not just procmail? Well I read on
the web somewhere that it *may* have to be run under its dir.)
At one point in time I had this running so it gave me the same errors as
above, AND it tried to read the recipe files, error was "didnt read file"
or somthing like that.  Again, all I want to do is get the mail from my
server, and sort it out according to my filters. (there will be more that
just the one in there now!) Its just that my stuff here looks EXACTLY like
all of the info I have found on the web.  I'm also not running any command
line options. just `getmail'

        Thanks for reading, if you did. I really want this to work so I
no longer have to bring up windows!  If you can help, thanks in advance!

Dionysus 

<Prev in Thread] Current Thread [Next in Thread>