Posted: November 24, 2012 08:29 by Sandeep439
I am using hudson to send email to a distribution list which can only receive e-mails if the sender authenticates to the SMTP server.
In Hudson's global configuration page I gave the System admin email ID as email@example.com(assume).
Also, I have provided the username and password for that ID. If I send a test mail then I receive the mail but when I do a build the distribution list does not receive the mail and I get a Delivery Failed notification from the SMTP server, which I have pasted below:
Delivery has failed to these recipients or distribution lists:
Your message wasn't delivered because of security policies. Exchange will not try to redeliver this message for you. Please provide the following diagnostic text to your system administrator.
Sent by Exchange Server
Diagnostic information for administrators:
Generating server: [server name]
#550 5.7.1 RESOLVER.RST.AuthRequired; authentication required ##
Original message headers:
Received: from x (my machine IP) by [SMTP server name](SMTP server IP) with SMTP Server id 188.8.131.52[ID changed]; Fri, 23 Nov 2012
Date: Sat, 24 Nov 2012 13:18:54 +0530
Subject: [Hudson] Build failed in Hudson: First Job #12
Content-Type: text/plain; charset="UTF-8"
Received-SPF: PermError (SMTP server name: domain of
firstname.lastname@example.org used an invalid SPF mechanism)
Is it a issue in Hudson code or there is some problem with the configuration I have filled in global configuration?
Note that I am using Hudson email-ext plugin with the same configuration as explained above and that it only fails for e-mail ids that have some kind of security policy imposed on them that requires the sender to authenticate with the SMTP server.