Pages

Tuesday

Some Mantis Bugtracker tricks

After some searching I found the file containing Mantis bugtracker e-mail parameters for sending emails through sendmail/smtp server:

You must edit
/var/www/bug/config_defaults_inc.php (or whatever else is your path)
# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method = ;
#smtp host if required
$g_smtp_host = '';
#smtp username/password; if not required leave blank
$g_smtp_username = '';
$g_smtp_password = '';
$g_email_send_using_cronjob = OFF;
# --- email variables -------------
#admin email
$g_administrator_email = '';
#webmaster mail
$g_webmaster_email = '';
# the sender email, part of 'From: ' header in emails
$g_from_email = '';
# the sender name, part of 'From: ' header in emails
$g_from_name = '';
# the return address for bounced mail
$g_return_path_email = '';
# allow email notification
# note that if this is disabled, sign-up and password reset messages will
# not be sent.
$g_enable_email_notification = ON;


Also it would be best to disable auto-signups
$g_allow_signup = OFF;

And to rename or remove the "admin" directory after the installation.


For some nice looks you can change the logo of the pages to something you like:
/core/html_api.php, on line 287
(default is /images/mantis_logo.gif)



Hope this helps

No comments:

Post a Comment