Claus Aßmann wrote:
> 8.14.7 has an FFR for this:
> /* reject NUL bytes in body */
> "_FFR_REJECT_N
I tried this, but It does not works. :-(
I added -D_FFR_REJECT_NUL_BYTE to define of confENVDEF in site.config.m4,
the message "554 NUL byte not allowed" contains in binary file "sendmail".
Sendmail receive a message but Cyrus-IMAP does not accept:
--- 220 xxxxx.xxxxxxx.xx ESMTP Sendmail 8.14.7/8.14.7; Mon, 9 Sep 2013 00:49:02 +0400
<-- ehlo
gxq81.internetdsl.tpnet.pl
--- 250-xxxxx.xxxxxxx.xx Hello
gxq81.internetdsl.tpnet.pl [80.52.222.81], pleased to meet you
--- 250-ENHANCEDSTATUSCODES
--- 250-PIPELINING
--- 250-EXPN
--- 250-VERB
--- 250-8BITMIME
--- 250-SIZE
--- 250-DSN
--- 250-ETRN
--- 250-AUTH PLAIN
--- 250-DELIVERBY
--- 250 HELP
<-- mail from:<in...@xxxx.xxx>
--- 250 2.1.0 <in...@xxxx.xxx>... Sender ok
<-- rcpt to:<nat...@xxxxxxx.xx>
--- 250 2.1.5 <nat...@xxxxxxx.xx>... Recipient ok
<-- data
--- 354 Enter mail, end with "." on a line by itself
from=<in...@xxxx.xxx>, size=3588, class=0, nrcpts=1, msgid=<00BEE72529FC4BD28E3DC00D31332848@LocalHost>,
proto=ESMTP, daemon=MTA, relay=
gxq81.internetdsl.tpnet.pl [80.52.222.81]
--- 250 2.0.0 r88Kn2u3009627 Message accepted for delivery
to=<nat...@xxxxxxx.xx>, delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2, pri=33861, relay=localhost,
dsn=5.6.0, stat=Service unavailable (Message contains NUL characters)
What part of the message is checked for nul characters ? Not all may be ?
MODIFY_MAILER_FLAGS(`CYRUSV2',`+1') is not works also (in 8.14.6):
(used cyrusv2.m4 by Andrzej Adam Filip)
##### $Id: cyrusv2.m4,v 8.3 2004/03/18 21:38:27 anfi Exp $ #####
Mcyrusv2, P=[IPC], F=lsDFMnqXz1m@/:|,
S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL, E=\r\n,
T=DNS/RFC822/SMTP,
A=TCP xxxx.xxxxxxxx.xx lmtp
Mcyrusv2d, P=[IPC], F=lsDFMnqXz1m,
S=EnvFromSMTP/HdrFromL, R=EnvToSMTP, E=\r\n,
T=DNS/RFC822/SMTP,
A=TCP xxxx.xxxxxxxx.xx lmtp
--- 220 xxx.xxxxxxx.xxx ESMTP Sendmail 8.14.6/8.14.6; Mon, 9 Sep 2013 10:48:29 +0400
<-- ehlo
by-experience.com
--- 250-xxx.xxxxxxx.xxx Hello [123.24.237.30], pleased to meet you
--- 250-ENHANCEDSTATUSCODES
--- 250-PIPELINING
--- 250-EXPN
--- 250-VERB
--- 250-8BITMIME
--- 250-SIZE 500050000
--- 250-DSN
--- 250-ETRN
--- 250-DELIVERBY
--- 250 HELP
<-- mail from:<in...@xxxxxx.xxx>
--- 250 2.1.0 <in...@xxxxxx.xxx>... Sender ok
<-- rcpt to:<sup...@xxxxxx.xx>
--- 250 2.1.5 <sup...@xxxxxx.xx>... Recipient ok
<-- data
--- 354 Enter mail, end with "." on a line by itself
from=<in...@xxxxxx.xxx>, size=3589, class=0, nrcpts=1, msgid=<00BEE72529FC4BD28E3DC00D31332848@LocalHost>,
proto=ESMTP, daemon=MTA, relay=[123.24.237.30]
--- 250 2.0.0 r896mTRD413437 Message accepted for delivery
SMTP outgoing connect on xxx.xxxxxxx.xxx
to=<sup...@xxxxxx.xx>, delay=00:00:01, xdelay=00:00:00, mailer=cyrusv2d, pri=123589,
relay=xxxx.xxxxxxx.xx. [xxx.xxx.xxx.xx], dsn=5.6.0, stat=Service unavailable (Message contains NUL
characters)
--
Regards,
Sergey