procmail
[Top] [All Lists]

Re: Problem executing

1998-05-09 09:45:39

I have a problem with a .procmailrc. When I execute it on my own system,
it works perfectly, but not at my ISP.

The line is:

UNDELIVERED=`formail -xto -xcc|fgrep -ive "$DONE"`

$DONE is a variable which contains some e-mail addresses. The result
should be that comes a list of undelivered addresses in the UNDELIVERED
variable. On my system this works.

 Is this the same version of procmail? Have you checked whether you maybe
 run into a LINEBUFFER problem?

But on my ISP's system the logfile gives:

procmail: Assigning "UNDELIVERED=[1] 17170"

 Have you tried VERBOSE=on ?

Apparently, fgrep gives its exit level (1) and PID when the program ends.

Thanks to anyone who'd be able to help me!

 Another possibility:

 Is your ISP running Solaris by any chance? At least on Solaris 2.5.1,
 /bin/fgrep -i is buggy, and the solution is to either use /usr/xpg4/bin/fgrep,
 or GNU fgrep.

 The 1997 mailing list archives should have some information on this. Yep:
 (Oct 06 John Gianni     Re: fgrep -i condition-line potential Solaris bug)

 One more: fgrep on other platforms may have a limit on file size.
 (Nov 17 John Gianni     (  70) More reason to use GNU fgrep in procmail)

 If you cannot access the mailing archives, I'll be happy to forward
 both posts to you.

-- 
Lars Hecking lhecking at nmrc.ucc.ie adama at flare.dynip.com
RH 5.0/m68k 2.0.33pl1
PGP: 55 0C 8F 76 B7 30 9F 48  23 C5 3C BF B7 9D D8 DC
Please do not Cc: me on list replies.

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