Bug 35825 - procmail setup misdocumented
procmail setup misdocumented
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: procmail (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-12 15:41 EDT by Need Real Name
Modified: 2007-04-18 12:32 EDT (History)
0 users

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


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-04-12 15:41:14 EDT
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:

 mailq
                /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 
$HOME/.procmailrc.

This is both a documentation bug and perhaps a setup bug (in 
case /etc/smrsh should contain a procmail symlink when RedHat Linux is 
installed).
Comment 1 Trond Eivind Glomsrxd 2001-04-12 18:36:07 EDT
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.