www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/02/15:47:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <200206021946.VAA10631@a4.pl>
Date: Sun, 2 Jun 2002 19:46:15 -0000
To: <Cygwin AT cygwin DOT com>
Subject: Cygwin, Exim, mail filtering (transforming, changing format)
From: <PDebski AT a4 DOT pl>

Hi2All,

I think that the following problem is specific to Cygwin.

I am using Exim MTA under Cygwin. I want to change a format of all messages 
passing through Exim to the format reqired by some special application. 
However I cannot make any content filter to work. Exim FAQ Q1601 describes 
how to make it - set-up a filter which takes message on std input and 
writes modified message to the std output. However under Cygwin it does not 
work as described. Consider the simplest example:

local_delivery:
  driver = appendfile
  transport_filter = tee -a /usr/local/exim/spool/log/teelog.log
  file = /var/mail/$local_part
  delivery_date_add
  envelope_to_add
  return_path_add

But instead of writing a copy of the message to the teelog.log file, this 
filter makes the following error to appear in 
the /usr/local/exim/spool/log/mainlog:

2002-06-02 05:56:45 GX2OYL-0001QW-00 <= 
Administrator AT wawmtech10tib DOT mynet DOT com U=Administrator P=local S=1065 
id=20020602115644 DOT A728 AT WAWMTECH10TIB
2002-06-02 05:56:57 GX2OYL-0001QW-00 == 
administrator AT wawmtech10tib DOT mynet DOT com 
<Administrator AT wawmtech10tib DOT mynet DOT com> R=localuser T=local_delivery defer 
(32): Broken pipe: error while writing to /var/mail/administrator

How to make any filter to work under Cygwin?

Or maybe there is another way to transform message format?


-- 
    Z powazaniem / Best Regards / Mit freundlichen Gruessen
    Pawel Debski
tel. +48-601-284-234,
When the mobile phone seems switched off SMS may help.
e-mail: PDebski AT a4 DOT pl



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019