Re: crm114 and procmail: eating mails
Antoine Junod <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
"Ger Hobbelt" <[email protected]> writes: > On Wed, Apr 23, 2008 at 9:00 AM, Antoine Junod <[email protected]> wrote: > > Can you test this slight change to the recipe: > > ### -> > :0fw: .lockmsg > | /usr/bin/crm114 -u /usr/share/crm114/ --fileprefix > /usr/share/crm114/ mailfilter.crm 2>&1 > > :0 > /var/vpopmail/domains/my.domain.com/tickets/.maildir/ > ### <- > > (= added the 2>&1 up there) > Because I'm out on a limb there regarding procmail as I never used it > before, so to verify my assumptions about allowable redirection in > recipes, you might test my idea using our trusted 'tee' command there > first: > > | tee /usr/share/crm114/blubber.txt 1>&2 > > Note the reversal of the 1 and 2 in the stdio redirection in this > line, because I want 'tee' to echo stdin to stderr instead of stdout. The 2>&1 or 1<&2 does not seem to be a feature provided by procmail. It makes it spit dirty error messages. > The idea is that crm114 has something to say and does so on stderr, > which might not be caught by the pipe-filter, so we redirect stderr > 2 to stdout 1 before returning to procmail. It's all hunch and a > bit of burning incense waving, but this is the best I can do for you > at this moment. Okay. Thanks a lot. What I will do is that I'll 1) try to remove everything a re-install all that from scratch and 2) try to install that on another platform. Best regards, -AJ ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone