Principal field invalidates RFC 5322 compliance

Due to lack of time, another post in ‘shorthand’:

Outgoing SMTP messages are rejected by ISP or Gateway appliance with error “Invalid sender address”

RFC 5322 requires a from field in the header of every email. Emails that were sent from LotusScript specifying an invalid entry for the Principal field caused Domino to create invalid message headers. The mandatory From field was missing.

When using Principal fields, ensure to use valid names. This are full names or abbreviated names as listed in the Domino Directory but not email addresses. Using email addresses in the principal field causes above issue even if the address is listed as an additional entry in the User Name field.

3 thoughts on “Principal field invalidates RFC 5322 compliance

  1. hi, I have this error, but it is not a script or application, the mail is coming from a client notes.

    Can you help me?

    SMTP Protocol Returned a Permanent Error 550 5.7.0 (COL0-MC2-F24) Message could not be delivered. Please ensure the message is RFC 5322 compliant.

    Error transferring to mx4.HOTMAIL.COM; SMTP Protocol Returned a Permanent Error 550 5.7.0 (SNT0-MC3-F4) Message could not be delivered. Please ensure the message is RFC 5322 complian

  2. Pablo, please take a close look at the location document of the client to see if there are any invalid setting in the source email address. You could also create a new location document to exclude that as the source of the issue.
    After that you are probably only left with sniffing the packets that go over the pipe to investigate the possible cause.

  3. In the RFC 5322 Standard the field From has a different purpose than in Lotus Notes, because it is always identifying the owner of the Instead of using the field Principal to identify the owner of the in which an email was written, the field Sender is used to identify the effective user who produced the email.
    The field Principal is not (or better said no longer) accepted in the email header by many email providers and bounced back referring to being not RFC 5322 compliant. In messages produced by LotusScript directly in a document saved in the, you should use the field From instead of the field Principal and add the field Sender for the email address of the effective sender (sent by), who in a regular Lotus Email would be in the field From. If you prefer to have all replies to the effective sender instead of the person identified in the field From (original LN field Principal), you need to add the field ReplyTo with the same address as in der field Sender.

Leave a Reply

Your email address will not be published. Required fields are marked *