Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback-ID: header #36

Open
azumakuniyuki opened this issue Dec 19, 2024 · 1 comment
Open

Feedback-ID: header #36

azumakuniyuki opened this issue Dec 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@azumakuniyuki
Copy link
Member

azumakuniyuki commented Dec 19, 2024

  • Change sis.Fact{} member name #8
  • New member FeedbackID in sis.Fact{}
  • JSON key name is feedbackid in the serialised results
  • The value is picked from Feedback-ID: header of the original message
azumakuniyuki added a commit that referenced this issue Dec 24, 2024
@azumakuniyuki
Copy link
Member Author

The results of lhost-postfix-64 is below:

&[]sis.Fact{sis.Fact{Action:"failed", Addresser:address.EmailAddress{Address:"[email protected]", User:"xxxx", Host:"xxxx.fr", Verp:"", Alias:"", Name:"", Comment:""}, Alias:"", Catch:interface {}(nil), DeliveryStatus:"5.0.900", Destination:"wanadoo.fr", DiagnosticCode:"", DiagnosticType:"SMTP", FeedbackID:"10345:200", FeedbackType:"", HardBounce:false, Lhost:"xxxx.xxxx.net", ListID:"", MessageID:"[email protected]", Origin:"set-of-emails/maildir/bsd/lhost-postfix-64.eml", Reason:"undefined", Rhost:"xxxx.xxxx.net", Recipient:address.EmailAddress{Address:"[email protected]", User:"xxxx", Host:"wanadoo.fr", Verp:"", Alias:"", Name:"", Comment:""}, ReplyCode:"", DecodedBy:"Postfix", Command:"", SenderDomain:"xxxx.fr", Subject:"xxxx", Timestamp:time.Date(2019, time.December, 16, 14, 12, 15, 0, time.Location("")), TimezoneOffset:"+0900", Token:"f6cf98d2f919cc5f72027b033bda59dfa78d3837"}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant