Web Hosting Talk







View Full Version : Procmail on RAQ4


insequi
07-28-2001, 10:20 AM
I like to use procmail on my RAQ4, so I've created a .procmailrc in one users home dir and also a .forward which I've chmod to 644

The .forward contains

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #username"

But all mails are always bouncing with this:

----- The following addresses had permanent fatal errors -----
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #username"
(reason: service unavailable)
(expanded from: <username@domain.com>)

----- Transcript of session follows -----
smrsh: IFS=' not available for sendmail programs
554 5.0.0 "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #username"...
Service unavailable

Any ideas what's wrong here?

ffeingol
07-28-2001, 10:32 AM
Hello,

I'm 99% sure that procmail is already configured in to sendmail on a RaQ4 (at lest on the one I've ben adminning). To double check, just grep for procmail in /etc/mail/sendmail.cf

If it is, then you only need to setup your .procmailrc and you don't have to do anything with your .forward.

Give it a try,

Frank

insequi
07-28-2001, 11:00 AM
Hi,

yes there is something about procmail in /etc/mail/sendmail.cf, but if I remove .forward the .procmailrc will completely ignored.

ffeingol
07-28-2001, 11:45 AM
What are you trying to use procmail to do?

Frank

insequi
07-28-2001, 02:36 PM
I've set it up now, step by step with the FAQ from http://www.ii.com/internet/robots/procmail/qs/ and it works. Don't know what the real problem was, but anyway, it works.

And you're right, the .forward file is not needed.

Thanks for your answers.

NewonNet
11-16-2001, 04:03 AM
Originally posted by insequi
Hi,

yes there is something about procmail in /etc/mail/sendmail.cf, but if I remove .forward the .procmailrc will completely ignored.


Could you give example of your .procmailrc?

Here's my .procmailrc listing.

SHELL=/usr/bin/sh
MAILDIR=${HOME}/mail
LOGFILE=${MAILDIR}/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "

:0:
#/home/sites/site19/users/sales/mail/filtered

/filtered is a folder and I have neomail installed.

I don't have .forward file.

Any help is appreciated.