Linux – How to setup sendmail (for Bugzilla)

email-serverinstallationlinuxsendmail

I've already installed Bugzilla and I'm trying to the mailing functionality working. Apparently it can use the linux sendmail to do so. I don't know the first thing about how email even works. I've looked online a LOT for a tutorial to explain how the whole process works (sendmail, SMTP, domains, etc.)

Can someone please point me to a tutorial that explains the basics, and then help install sendmail so that Bugzilla can send outbound emails?

p.s. I don't have a domain. This is going to be running off of our dev server. Do you NEED a separate mail server or domain to get sendmail working? I don't need to receive any email, just send them out!

Best Answer

Found the perfect solution for setting up Bugzilla with gmail SMTP. It's a little hacky but haven't been able to find anything better.

The problem is that Gmail's SMTP is running over SSL, and bugzilla doesn't have support for that. So you need to install the perl Email::Send::SMTP::TLS module and tweek Bugzilla's code. All of it is explained here: --www.dawood.in/bugzilla_alerts_using_gmail.html

WARNING: you need to add the following two lines of code (omitted from tutorial) in Mailer.pm, line 57: my $smtp_server; my $emtp_port;

Best of luck!

Related Topic