procmail
[Top] [All Lists]

Re: .forward

1996-06-15 14:19:09
Ka Lam <g5kalam(_at_)cdf(_dot_)toronto(_dot_)edu> writes:
I am using procmail v 3.1, and Solaris 2.5.

My .forward is:

"|IFS=' ';exec /opt/local/bin/procmail #g5kalam"

it works fine for me.  But the problem I have is, my friend wants to use
procmail as well.  When I copy this .forward file to her directory and
change the #part to her login name.  It doesn't work... 

When I test it with a testing mail, it give both of us an error message:

Message from syslogd(_at_)eddie at Thu Jun  6 18:07:27 1996 ...
eddie procmail[29248]: Couldn't rename bogus "/var/mail/LOGNAME" into
"/var/mail/BOGUS.YF"


Do you own the file /var/mail/LOGNAME?  If you, it looks like either
you have a bogus /etc/procmailrc or your procmail binary was misconfigured.
Try the following command:

        strings /opt/local/bin/procmail | grep LOGNAME

If it prints:

        /var/mail/LOGNAME
        LOGNAME

then you should recompile procmail, and this time make sure that the file
autoconf.h contains a line that reads:

        #define SYSTEM_MAILBOX "/var/mail/$LOGNAME"

and *NOT*

        #define SYSTEM_MAILBOX "/var/mail/LOGNAME"

Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>
  • .forward, Ka Lam
    • Re: .forward, Philip Guenther <=