Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Get sendmail to work with Bugzilla UNIX
A while back I installed MySQL and Bugzilla to support my own little bug-tracking database that I wanted to host on my G4. Sadly, Bugzilla never sent out any emails, but I just figured that feature was just broken on OS X.

However, after recently reading the excellent article at macdevcenter.com by James Duncan Davidson to set up sendmail in Jaguar, I eventually got sendmail up and running (after a bit of finagling things). My G4 is now able to send and receive email directly, independently of my ISP. Woohoo!

However, I was disappointed to discover that Bugzilla still did not seem to be able to send me any email, even after all this. Curious, I checked the sendmail log at /var -> log -> mail.log after submitting a request to Bugzilla to change my password. Bugzilla said the email was sent, but there was no entry in the mail log! So poking around a bit, I discovered that Bugzilla expects sendmail to reside in /usr/lib; on OS X, sendmail actually resides in /usr/sbin. So I figured Bugzilla probably just couldn't find the process. So, on a hunch ... a little symbolic link magic:
  sudo ln -s /usr/sbin/sendmail /usr/lib
And voila, Bugzilla sends me email now!
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[7,912 views]  

Get sendmail to work with Bugzilla | 6 comments | Create New Account
Click here to return to the 'Get sendmail to work with Bugzilla' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get sendmail to work with Bugzilla
Authored by: professor on Jul 18, '03 03:12:08PM

That article is full of bad advice (like leaving / group-writable), and out-of-date, since Jaguar now ships with Sendmail 8.12, which his designed to use separate processes for an MTA (configured by /etc/mail/sendmail.cf) and an MSA (configured by /etc/mail/submit.cf).

Also, I thought that whereas older version of Bugzilla looked for sendmail in /usr/lib, the current version looks in /usr/sbin.



[ Reply to This | # ]
Get sendmail to work with Bugzilla
Authored by: kevinv on Jul 18, '03 10:17:08PM

better yet, wait for panther. they switched to postfix. although i prefer exim, postfix is still better than sendmail.



[ Reply to This | # ]
Get sendmail to work with Bugzilla
Authored by: verdon on Jul 19, '03 09:52:08AM

Can you suggest any good articles for setting up sendmail in 10.2.6?



[ Reply to This | # ]
Sendmail instruction links.
Authored by: sylvank on Jul 19, '03 04:34:52PM
You'll want to be fairly Unix-friendly to set up sendmail.

O'Reilly: Sendmail on Jaguar

Tips & pointers

I'm glad to hear postfix is coming. Dealing with sendmail configuration is a royal pain.

HTH.



[ Reply to This | # ]
Get sendmail to work with Bugzilla
Authored by: rottenchops on Jul 19, '03 09:18:25PM

Make it easy on yourself:

http://www.macupdate.com/info.php/id/12310



[ Reply to This | # ]
Get sendmail to work with Bugzilla
Authored by: zach on Jul 20, '03 03:08:32PM

Instead of moving files around (ok, linking files around) as root, which can cause issues when you next update OS X, I recomend changing Bugzilla instead. Assuming you are using the latest (CVS tip) version of Bugzilla (you may have to search around in the source otherwise), open bugzilla/Bugzilla/BugMail.pm and edit line 858 to point to where your installation of sendmail is.

This will get much easier once the new MTA config enhancements land in the Bugzilla codebase (don't hold your breath, it might be a while), which will completly revamp the email system.

Let me know if this doesn't work for you,

Zach Lipton
Bugzilla Installation Module Owner



[ Reply to This | # ]