All notifications not received by users and MX record

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
kimteng
Posts: 2
Joined: 14 Apr 2015, 23:17

All notifications not received by users and MX record

Post by kimteng »

Summary:
Mantis version: mantisbt-1.2.19
Date installed: 2/4/2015
Setup: installed as subdomain. Company host domain name in Singapore. DNS pointing to IP to subdomain. Subdomain working and installation successful. All setup of Mantisbt is correct.
Issue faced: All notifications is not received when email address bearing company domain name: @hitachi.com.au. Changed super administrator email to gmail. I received all the notifications when new users sign-up & changes to the status of user from reporter to developer or manager.

Test done: added basic sendmail PHP script to the root of the subdomain & sendmail successfully sent email to my @hitachi.com.au. Try to amend config_inc.php by adding the following:
$g_allow_signup = ON;
$g_send_reset_password = ON;
$g_signup_use_captcha = ON;
$g_lost_password_feature = ON;
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.XXXXXXXX.co.jp';

Test changes by changing the user role from reporter to administrator, no notification is received by user with company domain email.

Bottomline: send mail from server is working. Tracing the emails notification from Control panel of hosting, I can see that it was sent to the company smtp servers in Japan: smtp.XXXXXXXX.co.jp but no notifications are received by users.

Any users of Mantis BT encounter similar issue or able to point me to the right direction?

Regards
Kim
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: All notifications not received by users and MX record

Post by atrol »

viewtopic.php?f=3&t=15398

Did you set $g_return_path_email ?
Maybe also your issue https://www.mantisbt.org/bugs/view.php?id=19511
Please use Search before posting and read the Manual
kimteng
Posts: 2
Joined: 14 Apr 2015, 23:17

Re: All notifications not received by users and MX record

Post by kimteng »

I have resolved the issue.

If any one is facing similar kind of issue. To fix the issue, you have to add acceptable email address to the the notification email header. Generally corporate smtp mail server will not allow spam email to pass thru' e.g.
noreply@example.com>: Recipient address rejected: 550 Relay reject

Please amend config_default_inc.php under MantisBT Email Settings with proper email address which is acceptable by smtp mail server e.g.
$g_from_email = 'noreply@example.com'; //CHANGE THIS TO ACCEPTABLE EMAIL ADDRESS

If not all users (e.g. user1@test.com) of a corporate company website e.g. http://mantisbt.test.com may not receive the notification email.
atrol
Site Admin
Posts: 8376
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: All notifications not received by users and MX record

Post by atrol »

Please use Search before posting and read the Manual
abdulk
Posts: 3
Joined: 04 Mar 2016, 07:07

Re: All notifications not received by users and MX record

Post by abdulk »

Hi,
I am not able send email notification from my mantis bug tracker. in
configurtation file everything is correct.i am getting error in server log that
i mentioned below.


my config_inc.php configuration is ..

$g_log_destination = 'file:/home/evolvuss/public_html/support/merror.log';
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_email_send_using_cronjob = OFF;

$g_display_errors[E_WARNING] = 'inline';
$g_display_errors[E_USER_WARNING] = 'inline';

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = "smtp.gmail.com";
$g_smtp_port =587;
$g_smtp_username = "noreply@evolvussolutions.com";
$g_smtp_password = "xxxxxxx";
$g_smtp_connection_mode = "tls";
$g_administrator_email = 'noreply@evolvussolutions.com';
#$g_webmaster_email = 'test@evolvussolutions.com';
#$g_from_email = 'test@evolvussolutions.com';
$g_return_path_email = 'roshan.gaongerikar@evolvussolutions.com';
$g_view_changelog_threshold = "administrator";
$g_enable_project_documentation = "OFF";
$g_view_summary_threshold = "administrator";
$g_allow_signup = OFF;
#$g_email_receive_own = ON;
$g_enable_email_notification = ON;


This is error log.
====
2016-03-03 08:15:46 dovecot_login authenticator failed for
royal.serverchamber.com (evolvussolutions.com) [167.114.126.65]:38175: 535
Incorrect authentication data (set_id=noreply@evolvussolutions.com)
2016-03-03 08:15:46 SMTP connection from royal.serverchamber.com
(evolvussolutions.com) [167.114.126.65]:38175 lost
2016-03-03 08:15:52 dovecot_login authenticator failed for
royal.serverchamber.com (evolvussolutions.com) [167.114.126.65]:38180: 535
Incorrect authentication data (set_id=noreply@evolvussolutions.com)
2016-03-03 08:15:52 SMTP connection from royal.serverchamber.com
(evolvussolutions.com) [167.114.126.65]:38180 lost
====
Post Reply