[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Procmail
- Subject: [cobalt-users] Procmail
- From: "Daniel Foster" <daniel@xxxxxxxx>
- Date: Thu Nov 2 09:24:33 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I've been trying to get procmail to work for a couple of days now, and
I'm stumped. There are some things in the archives about it, but they
don't seem to help.
.procmailrc is nice and simple, like this:
:0
* ^TO.
! daniel@xxxxxxxx
Which should just forward anything it receives to me
(daniel@xxxxxxxx). It's fine as a test case, just to get procmail
working. I'll worry about useful recipes later. For the purposes of
getting this sorted, I've created a user 'dantest' under a domain
'dantest.34SP.com'. All the DNS stuff is set up right, since without
procmail stuff I can just send to the user as normal.
If I put the standard procmail calling thing in .forward, which is:
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #dantest"
Then I get a returned mail to the account I sent it from like
----- The following addresses had permanent fatal errors -----
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #dantest"
(expanded from: <dantest@xxxxxxxxxxxxxxxx>)
----- Transcript of session follows -----
sh: cannot use & in command
554 "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #dantest"...
Service unavailable
Which I gather is something to do with Sendmail's smrsh. So I
simplified it.
If I have just
"!/usr/bin/procmail"
in .forward, then nothing happens to the mail and it just gets
received by dantest.
I'd be most grateful if anyone can shed any light on how to get this
working.
--
"With $10,000, we'd be millionaires!"
Homer Simpson
Daniel Foster - daniel@xxxxxxxx