[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 6 Mar 1997, Scott Stanley wrote:
 
> \sstanley, "|/home/mustang/grad/sstanley/bin/procmail -f- VERBOSE=on"
> 
> The first \sstanley just makes sure the mail is copied directly to my 
> inbox before trying to run it through procmail.  Otherwise, I think it is 
> trying to run procmail, but I am getting a returned mail message with the 
> error;

You can do this with procmail itself, just put the following rule at the
very beginning in your .procmailrc

:0 c:
/var/spool/mail/$LOGNAME

The "c" flag means "carbon copy": everything will go to
/var/spool/mail/yourlogin, but procmail will read the remaining
.procmailrc as if it had not delivered to that folder.

>    ----- Transcript of session follows -----
> sh: procmail not available for sendmail programs
> 554 "|/home/mustang/grad/sstanley/bin/procmail -f- VERBOSE=on"... Service 
> unavailable

However this error suggest that your sysadmin has decided to run sendmail
through some sort of restricted shell. If this is true, I can just suggest
to contact him and ask him politely to install procmail for everybody
(i.e. in /usr/local/bin or whatever), and let sendmail to execute procmail
from .forward.

Santiago Vila <sanvila@unex.es>, Debian procmail maintainer.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAgUBMx/iRyqK7IlOjMLFAQFiMwP/U8qfepMmEOxjSsVhbPyMoOrA13iwoAyl
24a/yEis+UCnzz9Y22pOzw5JjIJvjHhUyKo+Wp5TD7yWU+bcrDF04BVmaMYJ/5Ut
8JO9H2EAJ//E/pF5uPD4kwT9up5Sm6HsK2HrOgdtA1Mp/D4YStdkmXKulluN+zeX
+JmlMzInCog=
=EZ61
-----END PGP SIGNATURE-----


Reply to: