At peak frustration I started looking at the Symantec software running on the sending box, and came across "Enable Email Auto-Protect" in the Symantec Virus and Spyware settings. When that is enabled, the delay happens. Disabled, the email send is instant.
On Monday, February 3, 2014 4:49:14 PM UTC-6, slide wrote: > > The Mailer plugin, just uses JavaMail, but I agree, it could be something > like you mention. > > > On Mon, Feb 3, 2014 at 3:28 PM, Marc MacIntyre > <[email protected]<javascript:> > > wrote: > >> Is jenkins providing the same "HELO" or "EHLO" hostname as you're using >> on the command line? This could be an issue with greylisting because of a >> hostname mismatch or DNS lookup issues. >> >> It would be interesting to re-run your cli test using the same envelope >> data and see if you get the same slowdown. >> >> Also, if you have the mail server logs, it may have some interesting info. >> >> >> On Mon, Feb 3, 2014 at 2:23 PM, Slide <[email protected] >> <javascript:>>wrote: >> >>> Perhaps it has something to do with IPv6 vs. IPv4? I'm just guessing >>> here, but I've seen something like that in the past. >>> >>> >>> On Mon, Feb 3, 2014 at 2:44 PM, Brian Lee <[email protected]<javascript:> >>> > wrote: >>> >>>> Thank you it does give some clues. It's slow at the point of connecting >>>> AND disconnecting: >>>> >>>> ..... >>>> DEBUG SMTP: trying to connect to host "mail.xxxx.com", port 25, isSSL >>>> false // long pause at this line >>>> ..... >>>> 221 Closing connection. Good bye. >>>> // long pause before this line, which >>>> is the last logged line >>>> >>>> No such pause outside Jenkins. >>>> >>>> >>>> On Monday, February 3, 2014 2:53:03 PM UTC-6, slide wrote: >>>> >>>>> Can you enable debug mode for JavaMail? You can enable it using a >>>>> command line property >>>>> >>>>> -Dmail.debug=true >>>>> >>>>> This should dump some additional information to stdout/stderr that may >>>>> give some clues. >>>>> >>>>> slide >>>>> >>>>> >>>>> On Mon, Feb 3, 2014 at 1:50 PM, Brian Lee <[email protected]> wrote: >>>>> >>>>>> Using the Mailer plugin in Jenkins (on Windows 7) to send a test >>>>>> email from the Configure screen gets the spinning graphic for a full 95 >>>>>> seconds. Then the email is sent successfully. >>>>>> >>>>>> I can hit the same smtp sever from the command prompt outside Jenkins >>>>>> and send nearly instantly. Same command inside Jenkins as a Build Step = >>>>>> slow as the test email above. >>>>>> >>>>>> The emails are always sent. Just that it takes much longer when done >>>>>> from Jenkins or a Jenkins-launched build. >>>>>> >>>>>> Non-email operations inside Jenkins are performing as expected. Just >>>>>> email from Jenkins is slow. >>>>>> >>>>>> I've done a lot of googling, suggestions appreciated... >>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Jenkins Users" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> >>>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Website: http://earl-of-code.com >>>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Jenkins Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] <javascript:>. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Website: http://earl-of-code.com >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> >> >> -- >> Marc MacIntyre >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Website: http://earl-of-code.com > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
