Message contains NUL characters ...
John Fawcett
johnml at michaweb.net
Mon May 2 07:18:45 EDT 2005
Henrique de Moraes Holschuh wrote:
> On Thu, 28 Apr 2005, David R Bosso wrote:
>
>>So as before, it's illegal to send them.
>
>
> Which means the MTAs have to accept *and strip* them, as forwading is just
> an subcase of sending, IMHO.
>
> Now, if the requirements for a spool (MDA) are the same as those for a MTA,
> then Cyrus must accept and strip those NULs (especially because we might be
> resending them through sieve, in which case we act sort of like an MTA).
>
I think the correct place to strip nuls is:
spool.c: spool_copy_msg
To be consistent should this change also be made to:
message.c: message_copy_strict
Any other ideas or comments which would help with making a patch?
thanks
John
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list