> On Apr 28, 2023, at 23:13, Noel Jones via Postfix-users
> <[email protected]> wrote:
>
>
>
>> On Apr 29, 2023, at 12:43 AM, Doug Hardie via Postfix-users
>> <[email protected]> wrote:
>>
>> I have an app that sends SMTP to post fix to deliver an email. The first
>> line it sends after the DATA command is a Reply To line. However, that
>> causes postfix to terminate the headers and puts the Reply To line after the
>> blank line at the end of theheaders. As a result, none of the following
>> header lines are in the header and only show up in the text. Is this
>> normal, or have I done something wrong?
>>
>
> Sounds like your app is inserting a blank line where it shouldn’t. A tcp
> capture will show what’s actually being sent.
>
That's what I thought also. I checked and can't find one
Here is the tcpdump output from the DATA through the Reply to line which is the
first line sent after the DATA.
23:42:59.591170 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6),
length 58, bad cksum 0 (->3cbc)!)
localhost.24534 > localhost.smtp: Flags [P.], cksum 0xfe2e (incorrect ->
0x49b2), seq 69:75, ack 103, win 1277, options [nop,nop,TS val 2735927841 ecr
2347198655], length 6: SMTP, length: 6
DATA
0x0000: 4500 003a 0000 4000 4006 0000 7f00 0001 E..:..@.@.......
0x0010: 7f00 0001 5fd6 0019 1d84 3332 0c8e 3d62 ...._.....32..=b
0x0020: 8018 04fd fe2e 0000 0101 080a a312 f221 ...............!
0x0030: 8be7 68bf 4441 5441 0d0a ..h.DATA..
23:42:59.591781 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6),
length 89, bad cksum 0 (->3c9d)!)
localhost.smtp > localhost.24534: Flags [P.], cksum 0xfe4d (incorrect ->
0xbe3b), seq 103:140, ack 75, win 1277, options [nop,nop,TS val 2347198656 ecr
2735927841], length 37: SMTP, length: 37
354 End data with <CR><LF>.<CR><LF>
0x0000: 4500 0059 0000 4000 4006 0000 7f00 0001 E..Y..@.@.......
0x0010: 7f00 0001 0019 5fd6 0c8e 3d62 1d84 3338 ......_...=b..38
0x0020: 8018 04fd fe4d 0000 0101 080a 8be7 68c0 .....M........h.
0x0030: a312 f221 3335 3420 456e 6420 6461 7461 ...!354.End.data
0x0040: 2077 6974 6820 3c43 523e 3c4c 463e 2e3c .with.<CR><LF>.<
0x0050: 4352 3e3c 4c46 3e0d 0a CR><LF>..
23:42:59.592129 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6),
length 94, bad cksum 0 (->3c98)!)
localhost.24534 > localhost.smtp: Flags [P.], cksum 0xfe52 (incorrect ->
0x1809), seq 75:117, ack 140, win 1277, options [nop,nop,TS val 2735927842 ecr
2347198656], length 42: SMTP, length: 42
Reply To: [email protected]
0x0000: 4500 005e 0000 4000 4006 0000 7f00 0001 E..^..@.@.......
0x0010: 7f00 0001 5fd6 0019 1d84 3338 0c8e 3d87 ...._.....38..=.
0x0020: 8018 04fd fe52 0000 0101 080a a312 f222 .....R........."
0x0030: 8be7 68c0 5265 706c 7920 546f 3a20 7465 ..h.Reply.To:.te
0x0040: 7374 4076 696e 7461 6765 636f 7276 6574 st@vintagecorvet
0x0050: 7465 7373 6f63 616c 2e63 6f6d 0d0a tessocal.com..
There is nothing between the DATA and Reply to except for the CRLF at the end
of the DATA.
-- Doug
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]