procmail
[Top] [All Lists]

Re: Sendmail/Procmail setup

2000-03-22 20:50:54
Charles Curley <ccurley(_at_)trib(_dot_)com> writes:
I would like to use procmail on my Mandrake Linux 6.1 box. Sendmail
appears to be working correctly (as far as this non-mail guru can tell
:-).

ccurley(_at_)charlesc $ uname -a
Linux charlesc 2.2.13-7mdk #1 Wed Sep 15 18:02:18 CEST 1999 i686 unknown


.forward:

"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 USER=ccurley"


.procmailrc:
...

Root recieves the following email when I send a message as root to
ccurley:


[-- Attachment #1 --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.4K --]

The original message was received at Sun, 19 Mar 2000 17:07:23 -0700
from root(_at_)localhost

  ----- The following addresses had permanent fatal errors -----
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 USER=ccurley"
   (expanded from: ccurley(_at_)charlesc(_dot_)localdomain)

  ----- Transcript of session follows -----
sh: cannot use & in command
554 "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 USER=ccurley"... 
Service unavailable
...

I don't think procmail is even being executed; I have no log file.

Any ideas?

Remove your .forward file: procmail is invoked as the local delivery
agent by default on redhat systems.  Then, to head off another problem,
make sure your .procmailrc and your home directory are not
group-writable.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>