Menu

#226 opendmarc-reports SMTP Auth

1.3.2
open
nobody
None
2018-06-04
2018-02-02
SeLLeRoNe
No

Hi everyone,
I have started using opendmarc today and it is working perfectly except for 1 thing, I needed to have SMTP Auth on outgoing reports, so I had to edit the opendmarc-reports a little bit, attached my customized version, would be very nice if the SMTP Auth would be implemented in the official release (is not much of a change overall).

I have noticed that another users post the same thing here but it was related to an older version (well, his version had a few additional thing that I actually didn't need), this is based on opendmarc 1.3.2 so it will be a good point to start from if you decide to implement my changes.

Thanks

Best regards
Andrea

1 Attachments

Discussion

  • Dilian Wesselinov Palauzov

    In the sendmail's .mc files I have for this:

    LOCAL_CONFIG
    HAuthentication-Results: $j/$i; auth=pass (${auth_type}) smtp.auth=${auth_authen}

    I don't think this is opendmarc's job: opendkim adds its own Authentication-Results headers and it is unclear why exactly opendmarc's shall add auth=pass and not some other milter.

    Anyway, I think it would be feasible, if opendmarc deletes all Authentication-Results from the current MTA/host and inserts a single one, including smtp and dkim checks. This would provide also better overview in the message/feedback-report.

     
  • SeLLeRoNe

    SeLLeRoNe - 2018-06-01

    I am sorry I am confused, what this have to do with SMTP Authentication neededd to send out email?

    This may be useful to use an external/remote SMTP Server for example.

    Anyway I am using exim :=)

    Best regards

     
  • Dilian Wesselinov Palauzov

    i understand your initial message in a mannter, that you request opendmarc to include in the Authenticaion-Results headers also information about the SMTP Auth status, like:

    Authenticaion-Resulsts: mysite/1234random768; auth=pass (PLAIN) smtp.auth=sandro

    where sandro is the username used for the authentication. And this Authentication-Result shall be both included in the emails passing opendmarc and in the reports generated by opendmarc.

    If you mean instead, that the opendmarc-reports command needs to authenticate towards the SMTP server then this is something completely different from what I understood.

     
  • SeLLeRoNe

    SeLLeRoNe - 2018-06-04

    Sorry, probably I didn't explain myself properly.
    I mean that to send out email my server (exim) require the sender to be authenticated against the SMTP Server, so yes, I meant this:
    "If you mean instead, that the opendmarc-reports command needs to authenticate towards the SMTP server then this is something completely different from what I understood."

    :)

    Best regards

     

Log in to post a comment.

MongoDB Logo MongoDB