Menu

#61 Missing To/Cc/Bcc addresses in content file

v1.0 (example)
closed
nobody
None
8
2024-09-18
2024-08-15
No

hi,

I have a problem with content file. as you see in attachment;
emailrelay logs and envelope fileshave right RCPT and TO addresses. but in content file To field is missing.

3 Attachments

Discussion

  • Graeme Walker

    Graeme Walker - 2024-08-15

    I don't think this can be a problem with emailrelay. The SMTP dialogue specifies envelope-to and envelope-from addresses but these are independent of the To: and From: headers at the start of the message content.

    E-MailRelay does not interpret or edit the message content in any way, other than to add a Received line -- whatever it receives over the socket is written straight to the content file.

    Your log file suggests that you are not doing any filtering, and your message content file does not look like it has been corrupted, so I think the message is just being sent with an empty To: header. A network trace from wireshark, tcpdump or similar should be able to confirm.

     
  • Yunus YILDIRIM

    Yunus YILDIRIM - 2024-08-16

    its just a simple one mail example to see To addresses missing. In prod, I use network filter for address validation and content filter. but same result.
    anyway, in log file these lines show me that SMTP client send TO address and its seems ok. but in content file To is empty;

    emailrelay: 20240815.144022.181: info: 10.1.2.3:46230; GSmtp::ServerProtocol: rx<<: "RCPT TO:<abc@tttest123test.com>"
    emailrelay: 20240815.144022.181: info: 10.1.2.3:46230; GSmtp::ServerSend: tx>>: "250 recipient <abc@tttest123test.com> OK"
    
     
  • Graeme Walker

    Graeme Walker - 2024-08-16

    There different 'to' addresses: the envelope-to address is used in the SMTP RCPT-TO command, which you see in the log, whereas the content-to is the To: header in the message content. They can be completely different and in your case the content-to header in your test message appears to be empty.

     
  • Yunus YILDIRIM

    Yunus YILDIRIM - 2024-08-16

    Oh, I see. now I get it.
    Many thanks!

     
  • Graeme Walker

    Graeme Walker - 2024-09-18
    • status: open --> closed
     

Log in to post a comment.