Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9309349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T00:50:40+00:00 2026-06-19T00:50:40+00:00

I have a buildbot setup running for a software project, and am trying to

  • 0

I have a buildbot setup running for a software project, and am trying to set up e-mail notifications like so:

from buildbot.status import mail
c['status'].append(mail.MailNotifier(fromaddr=BUILDBOT_EMAIL,
                                     mode=('failing'),
                                     extraRecipients=[NOTIFICATION_EMAIL],
                                     sendToInterestedUsers=False))

Where BUILDBOT_EMAIL is a string “buildbot@name-of-our-project.org”, and NOTIFICATION_EMAIL is a string with the email where I want to get the notifications.

According to documentation, everything seems fine; I am not sending mail to interested users so no lookup argument is required. I’m only trying to send mail to an explicitly stated address in case any build is failing. I am basically doing this:

To get a simple one-message-per-build (say, for a mailing list), use
the following form instead. This form does not send mail to individual
developers (and thus does not need the lookup= argument, explained
below), instead it only ever sends mail to the extra recipients named
in the arguments:

mn = MailNotifier(fromaddr="buildbot@example.org",
                  sendToInterestedUsers=False,
                  extraRecipients=['listaddr@example.org'])

However, no e-mails are arriving even though I do have failing builds. What could be the cause?

Could there be a problem with the way I’m using fromaddr and simply using a buildbot@domain-name.org address as per examples? Should this address be registered in some way with our domain? Would it make a difference if I use buildbot@localhost instead?

Could the problem be caused by me not using relayhost? From the examples in the documentation it appears that this only needs to be set for authentication with the outbound — not the inbound — address.

Any help will be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T00:50:41+00:00Added an answer on June 19, 2026 at 12:50 am

    Similar to what kfunk suggested, I started by looking at twistd.log. It contained the following:

    2013-02-09 04:26:18+0000 [-] sending mail (868 bytes) to ['addr@example.com']
    2013-02-09 04:26:18+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory instance at 0x31dc488>
    2013-02-09 04:26:18+0000 [Uninitialized] SMTP Client retrying server. Retry: 5
    2013-02-09 04:26:18+0000 [Uninitialized] SMTP Client retrying server. Retry: 4
    2013-02-09 04:26:18+0000 [Uninitialized] SMTP Client retrying server. Retry: 3
    2013-02-09 04:26:18+0000 [Uninitialized] SMTP Client retrying server. Retry: 2
    2013-02-09 04:26:18+0000 [Uninitialized] SMTP Client retrying server. Retry: 1
    2013-02-09 04:26:18+0000 [Uninitialized] Unhandled error in Deferred:
    2013-02-09 04:26:18+0000 [Uninitialized] Unhandled Error
        Traceback (most recent call last):
        Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
    

    I tried to manually send an email from the machine’s command line (using sendmail), but failed; it turned out that no SMTP server is up. The solution is to install and configure a mail transfer agent (for Ubuntu, the most common one seems to be Postfix so I installed that). There are many tutorials and manuals out there on how to install and configure Postfix so once I found that clue it was easy to go on.

    There are many considerations on having your own SMTP server; for example finding a way to secure it against unauthorised access, otherwise it could be used by e.g. spammers. However, if you want to get e-mails from buildbot, you have to have an SMTP server so it’s worth the effort to learn and configure it correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use buildbot for CI purposes. I have setup a buildmaster and
I'm trying to setup Buildbot in my organization but have a problem with the
We have a python project that we want to start testing using buildbot. Its
Have a long running set of discrete tasks: parsing 10s of thousands of lines
Have been trying to get integration testing working with my seam project and the
Have created an android test project and currently trying to write android unit tests
I'm trying to get buildbot running on centos5, and getting the following error: File
I have setup buildbot to compile my Qt/C++ application with the /analyze flag. However
I have a buildbot with some builders and two slave machines. Some of the
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.