procmail
[Top] [All Lists]

Re: Solaris-forward

2002-01-02 02:03:17
Mahmood Iqbal Hashmi <mahmoodi(_at_)webnet(_dot_)com(_dot_)pk> writes:
...
But, I am unbale to call procmail via .forward file,
please tell me what is the correct syntex to call
procmail via .forward in Soalris 2.7, also tell me

You don't describe the exact symptoms that you're experiencing, so
what follows are guesses.  In the future, when reporting problems be
precise in your description.  For example, when you put procmail in your
.forward file do people who send mail to you get error messages back?
Does the mail get through but it isn't filtered?  Do incoming messages
simply vanish?

Anyway, the first thing to check is that the procmail binary or a link to
it is located in smrsh's bin directory.  That defaults to /usr/adm/sm.bin
under Solaris 2.7, so check that directory.

Next, make sure the user's home directory, .forward file, and .procmailrc
are only writable by the user.
        chmod go-w $HOME $HOME/.forward $HOME/.procmailrc
should fix them all.

If things don't work after that, check the mail log (/var/log/maillog,
I think) for error messages from sendmail or procmail.


how can I check the in the log of procmail either it
is running or not via .forward file.
Where can I find procmail log file for general users.

There is no default logfile for procmail.  You must set the LOGFILE
variable in the .procmailrc to the path of the file you want to use.
For example,
        LOGFILE = $HOME/.procmail.log

Normally, procmail only logs deliveries.  If you want it to log everything
it does, add the line
        VERBOSE = on


Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Solaris-forward, Mahmood Iqbal Hashmi
    • Re: Solaris-forward, Philip Guenther <=