[exim-dev] [Bug 3037] Broken pipe in transport filter

Góra strony
Delete this message
Reply to this message
Autor: Exim Bugzilla
Data:  
Dla: exim-dev
Temat: [exim-dev] [Bug 3037] Broken pipe in transport filter
https://bugs.exim.org/show_bug.cgi?id=3037

--- Comment #3 from Zakaria <hi@???> ---
Update,

I spent the last many days trying to find out the cause of the broken pipe and
whether it's a bug or just transport filter doesn't work the way I want it to
work, and here are my findings and in short I started to believe it's a bug in
transport filter whatever cat or echo I use, if the number of lines exceeds
certain limit beyond 46KB total size of the email content I echo from bash
script to transport filter matching the original content, i.e. this time I
don't modify the email at all, including headers and body and just going
through transport filter. Also, I noted base46 attachment are more likely to
yield broken pipe in comparison to inline attachment given inline uses one line
and won't exceed the lines limit yet throws DKIM long line limit and I think
it's worth investigating this bug further for EXIM dev purposes and Also, I
would appreciate it very much, as for now I have to disable my transport filter
if email size exceeds 46KB.

In details, when I send email with 46KB attachment, it works fine and beyond
this it fails, and throws either broken pipe or DKIM: signing failed:
LONG_LINE, which requires disabling dkim strict signing mode.

Also, I noticed there are two ways of attaching file to email, either using
base64 attachment disposition, or using octet-stream inline disposition.

When I use inline disposition, which can be both reproduced using Apple Mail
client, through attaching an SVG file for inline disposition or photo for
base64 attachment from keyboard.

All this never happens when I remove transport filter from smtp_transport and I
can still send all these emails without any problem whatsoever.

Looking forward, with thanks.

Zakaria.

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/