using ~/.procmailrc with sendmail

George Georgalis georgw at galis.org
Fri Mar 1 15:25:33 PST 2002


Wow, a lot of responses from both lists!

I got some local help and tried
|exec /usr/local/bin/procmail || exit 75
in ~/.forward but that failed...

Mar  1 15:57:54 yyyyyy smrsh: uid 417: attempt to use | in command: exec/usr/bin/procmail.||.exit.75
Mar  1 15:57:54 yyyyyy sendmail[27824]: PAA27822: to=|exec /usr/bin/procmail || exit 75, ctladdr=<yyyyyy at yyyyyyyy.yyy> (417/100), delay=00:00:00, xdelay=00:00:00, mailer=prog, stat=Service unavailable

I ended up using
|exec /usr/bin/procmail 
Why was I getting the error?

// George



On Fri, Mar 01, 2002 at 12:56:04PM -0800, Mike Marion wrote:
>On  1 Mar, John H. Robinson, IV wrote:
>
>> the other way is to have your .forward assuming that the MDA respects
>> .forward) pass the message off to procmail
>> 
>> |exec /usr/bin/procmail
>
>I would suggest:
>"|/usr/local/bin/procmail || exit 75"
>
>that way, if procmail has issues, the mail is bounced like sendmail couldn't
>handle it.  Otherwise you could lose the mail if procmail chokes.  We had
>issues with that here once when the path to procmail was screwed (it was in
>AFS at the time).. or something like that.
>
>-- 
>Mike Marion-Unix SysAdmin/Staff Engineer-Qualcomm-https://www.miguelito.org
>[Lisa and Bart used Gandpa's name on a cartoon script they wrote]
>Bart - "Didn't you wonder why you were getting checks for doing absolutely
>nothing?"
>Grandpa - "I figured 'cause the Democrats are in power again."
>


>-- 
>  http://www.kernel-panic.org
>  list archives http://www.ultraviolet.org
>  To unsubscribe, send a message to the address shown in the list-unsubscribe
>  header of this message. 


-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 347-451-8229 
Security Services, Web, Mail,            mailto:george at galis.org 
File, Print, DB and DNS Servers.       http://www.galis.org/george 



More information about the KPLUG-List mailing list