On Tue, 23 Sep 2003, christopher j bottaro wrote: > On Wed, Sep 24, 2003 at 12:13:51PM +0800, Didier Casse wrote: > > The correct formula in your ~/.forward for using sendmail, to make > > procmail work is > > > > ----------------------------------------------------------- > > "|IFS=' ' && exec /usr/bin/procmail || exit 75 #userid" > > ----------------------------------------------------------- > > it is currently: > "|IFS=' ' && exec /public/linux/bin/procmail -f- || exit 75 #cjb" > and it isn't doing anything...could the "-f-" be messing it up?
Might be! Try to remove the "-f-" and see if it works. Just to check, in my ~/.procmailrc, it starts with this: --------------------------------------------------------------------- #Preliminaries SHELL=/bin/sh #Use the Bourne shell (check your path!) MAILDIR=${HOME}/mail #First check what your mail directory is! DEFAULT=${HOME}/Mailbox LOGFILE=${MAILDIR}/procmail.log LOG="--- Logging ${LOGFILE} for ${LOGNAME}, " -------------------------------------------------------------------- You could try adding the first part plus a simple condition like: :0 c * ^Subject: .*test ! [EMAIL PROTECTED] and end by ------------------------------------------------------------- # Accept all the rest to your default mailbox :0: ${DEFAULT} ------------------------------------------------------------ and see if it works. Good luck procmailing! Hope it works for you. With kind regards, Didier --- PhD student Singapore Synchrotron Light Source (SSLS) 5 Research Link, Singapore 117603 Email: [EMAIL PROTECTED] or [EMAIL PROTECTED] Website: http://ssls.nus.edu.sg -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list