[exim-dev] [Bug 423] callout verify failure message as a var…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 423] callout verify failure message as a variable
https://bugs.exim.org/show_bug.cgi?id=423

--- Comment #15 from Simon Arlott <bugzilla.exim.simon@???> ---
(In reply to Simon Arlott from comment #14)
> (In reply to Jeremy Harris from comment #13)
> > > Yes, the user message is impossible to reconstruct.
> >
> > What did it say, and why can't you put that in a log_message or logwrite
> > modifier?
>
> Because I don't have it. It is generated by Exim:


I missed this section of code out:

  if (rc == FAIL && sender_verified_failed->user_message)
    smtp_respond(smtp_code, codelen, FALSE, string_sprintf(
        testflag(sender_verified_failed, af_verify_pmfail)?
          "Postmaster verification failed while checking <%s>\n%s\n"
          "Several RFCs state that you are required to have a postmaster\n"
          "mailbox for each mail domain. This host does not accept mail\n"
          "from domains whose servers reject the postmaster address."
          :
        testflag(sender_verified_failed, af_verify_nsfail)?
          "Callback setup failed while verifying <%s>\n%s\n"
          "The initial connection, or a HELO or MAIL FROM:<> command was\n"
          "rejected. Refusing MAIL FROM:<> does not help fight spam,
disregards\n"
          "RFC requirements, and stops you from receiving standard bounce\n"
          "messages. This host does not accept mail from domains whose
servers\n"
          "refuse bounces."
          :
          "Verification failed for <%s>\n%s",
        sender_verified_failed->address,
        sender_verified_failed->user_message));


> I have no way to access sender_verified_failed->user_message from an ACL.


--
You are receiving this mail because:
You are the QA Contact for the bug.