Bug 35825 - procmail setup misdocumented
Summary: procmail setup misdocumented
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: procmail   
(Show other bugs)
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-04-12 19:41 UTC by Need Real Name
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-12 19:41:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2001-04-12 19:41:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)

The man page for procmail(1), in the NOTES section, explains how you can 
control the program using your .forward file.  This does not work, and 
results in the following mailq output:

                /var/spool/mqueue (2 requests)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient--------
f3CJG0h17965        4 Thu Apr 12 15:16 smith
                                       "|exec /usr/bin/procmail"

The eventual bounced message says:

   ----- The following addresses had permanent fatal errors -----
"|exec /usr/bin/procmail"
    (reason: service unavailable)
    (expanded from: <smith@localhost>)

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

There are two separate problems:

1. The use of .forward is no longer necessary.  I guess procmail is the 
mail delivery agent already?

2. You need to add procmail to /etc/smrsh:

# ln -s /usr/bin/procmail /etc/smrsh

Now procmail works fine.

Reproducible: Always
Steps to Reproduce:
1. Add the line "|exec /usr/bin/procmail" to $HOME/.forward.
2. Send yourself email.
3. The above-described behavior occurs.

Actual Results:  Mail bounced as described above.

Expected Results:  Mail should have been delivered according to 

This is both a documentation bug and perhaps a setup bug (in 
case /etc/smrsh should contain a procmail symlink when RedHat Linux is 

Comment 1 Trond Eivind Glomsrxd 2001-04-12 22:36:07 UTC
Fixed the documentation in 3.15.1-1.

Note You need to log in before you can comment on or make changes to this bug.