[Exim] Using transport filters on the SMTP transport

Top Page
Delete this message
Reply to this message
Author: Max Caines
Date:  
To: exim-users
Subject: [Exim] Using transport filters on the SMTP transport
I'm using Exim 3.13, and I want to add a transport filter for outgoing
messages. I've been getting a problem, which is the same whether I use my
own filter or the sample supplied one (transport-filter.pl). What happens
is that the connection to the remote SMTP is opened, the MAIL, RCPT and
DATA commands are written, and then the transport filter starts. The
following is debug output:

process 23299 running as transport filter
writing data block size=322 timeout=300
process 23300 writing to transport filter
copying from the filter
writing data block size=390 timeout=300
Waiting for filter process
waiting for writing process
end of filtering transport writing: yield=1

... 5 minute wait here ...

ccug#
ccug# ok=0 send_quit=0 send_rset=1 continue_more=0 yield=0 first_address=0
set_process_info: 23292 3.13 delivering 136yBR-00063Y-00: just tried
wbs.wlv.ac.uk [134.220.201.202] for bu1997@???: result OK
added retry item for T:wbs.wlv.ac.uk:134.220.201.202:136yBR-00063Y-00:
errno=-19 65 flags=6
all IP addresses skipped or deferred at least one address

The message log says "Remote host closed connection after end of data".
It's MS Exchange 5.5, by the way.

Any suggestions?

Max Caines                       |  Email: M.B.Caines@???
Network Design Consultant        |  Phone: +44 (0)1902 322245
IT Services                      |  Fax: +44 (0)1902 322699
University of Wolverhampton      |