Sendmail configuration for bugzilla
Mario Vukelic
mario.vukelic at dantian.org
Fri Feb 6 23:34:30 UTC 2009
On Sat, 2009-02-07 at 00:12 +0100, Roland Turcan wrote:
> Hello All,
>
> I want to set up me ubuntu 8.04 server which is running bugzilla for
> sending mails over sendmail.
>
> What and where should I put settings of smtp server of my ISP and
> authentication. I need to just relay all messages sent by bugzilla to
> my ISP's smtp server.
Sendmail seems like a very poor choice for the purpose. It is famous for
being extremely hard to configure and does not have the best security
track record. It is also not the default mail server in Ubuntu, so you
are less likely to get help here.
I would suggest to use either Postfix, which is Ubuntu's default mail
server, or a simple, relay-only server such as ssmtp.
Postfix is a serious, fully-featured smtp server. When you install it,
it will IIRC ask for the desired configuration, and relay-only is one of
the options.
ssmtp's describes itself in the man page as follows:
"Description: extremely simple MTA to get mail off the system to a mail
hub. A secure, effective and simple way of getting mail off a system to
your mail hub. It contains no suid-binaries or other dangerous things -
no mail spool to poke around in, and no daemons running in the
background. Mail is simply forwarded to the configured mailhost.
Extremely easy configuration.
WARNING: the above is all it does; it does not receive mail, expand
aliases or manage a queue. That belongs on a mail hub with a system
administrator."
> PS: I already tried to change nearly everything around sendmail, but
> no positive result. How can I reinstall sendmail to get back all
> "default" settings which normally come from package?
You would either use "apt-get purge <package>" to completely uninstall
the package (including config files), or use the "Mark for complete
removal" option in the Synaptic package manager.
Then reinstall it.
In general, it is *always* a good idea to copy a config file before
making changes to it.
More information about the ubuntu-users
mailing list