Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[OT] mantis not sending e-mail

259 views
Skip to first unread message

Joao Ferreira Gmail

unread,
Nov 12, 2011, 10:10:01 AM11/12/11
to
Hello all,

I'm trying to get mantis to send e-mails but I can't get it right.

I posted on the mantis list but I got no replies. So I wonder if anyone
on Debian list is using mantis.

I've tried many scenarios but I still can't get mantis to send e-mails.
The logs generated are not clear enough.

Anyone out there has had experience with this ?

my config_local.php contains no settings. below is my config_inc.php

<?php
/* Debian default configuration file for mantis. */

$g_hostname = 'localhost';
$g_db_username = 'mantis_user';
$g_db_password = '*********';
$g_database_name = 'mantis';
$g_db_type = 'mysql';

/* E-Mail addresses */
$g_administrator_email = 'joao.miguel...@gmail.com';
$g_webmaster_email = 'joao.miguel...@gmail.com';
$g_from_email = 'joao.miguel...@gmail.com';
$g_return_path_email = 'joao.miguel...@gmail.com';

include("config_local.php");
?>

and my contains this concerning smtp stuff

cat /usr/share/mantis/www/config_defaults_inc.php | grep smtp

$g_smtp_host = 'gate.*******.com';
$g_smtp_username = 'jmcferreira';
$g_smtp_password = '*******';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 25;


Any help would be much appreciated. The smtp settings are correct
because this is the smtp server I use every day.

Thank you
Joao



--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1321109923....@wheejy.critical.pt

Camaleón

unread,
Nov 13, 2011, 8:20:02 AM11/13/11
to
On Sat, 12 Nov 2011 14:58:43 +0000, Joao Ferreira Gmail wrote:

> I'm trying to get mantis to send e-mails but I can't get it right.
>
> I posted on the mantis list but I got no replies. So I wonder if anyone
> on Debian list is using mantis.

I've never used Mantis before but I can make some comments though :-)
>
> I've tried many scenarios but I still can't get mantis to send e-mails.
> The logs generated are not clear enough.
>
> Anyone out there has had experience with this ?
>
> my config_local.php contains no settings. below is my config_inc.php

(...)

Did you already follow the steps detailed here? They are for Gmail but
the basics should also valid for other email servers.

Please read this if you have problems with emails
http://www.mantisbt.org/forums/viewtopic.php?f=3&t=15398

Anyway, just for testing the mailing facility of Mantis, you can use your
own Gmail account and follows the same steps presented there.

> cat /usr/share/mantis/www/config_defaults_inc.php | grep smtp
>
> $g_smtp_host = 'gate.*******.com';
> $g_smtp_username = 'jmcferreira';
> $g_smtp_password = '*******';
> $g_smtp_connection_mode = 'tls';
> $g_smtp_port = 25;
>
>
> Any help would be much appreciated. The smtp settings are correct
> because this is the smtp server I use every day.

Hum... some things:

- The file you are editing ("config_defaults_inc.php") is different than
the one of the forums guide ("config_inc.php"). Is that right?

- Using TLS on port 25 can be right but it can also make things more
difficult to debug because you rely on the client side to do the right
things. To discard a problem with authentication or an error on the
server/client I would first try to configure a Gmail account as
instructed at the guide.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.11...@gmail.com

Joao Ferreira Gmail

unread,
Nov 13, 2011, 9:40:02 AM11/13/11
to
:) bull's eye :)

On Sun, 2011-11-13 at 13:14 +0000, Camaleón wrote:
> On Sat, 12 Nov 2011 14:58:43 +0000, Joao Ferreira Gmail wrote:
>
> Did you already follow the steps detailed here? They are for Gmail but
> the basics should also valid for other email servers.
>
> Please read this if you have problems with emails
> http://www.mantisbt.org/forums/viewtopic.php?f=3&t=15398
>
> Anyway, just for testing the mailing facility of Mantis, you can use your
> own Gmail account and follows the same steps presented there.

Thank you. I got it working now after following the steps on that link.


> - The file you are editing ("config_defaults_inc.php") is different than
> the one of the forums guide ("config_inc.php"). Is that right?

Yes. On Debian systems there is an additional file for "local" changes:

# egrep "config_local|Attention" /usr/share/mantis/www/config_inc.php
/* Attention: if you need to add another config params
is highly recommended that you use the config_local.php file. */
include("config_local.php");

>
> Greetings,

Thanks a lot (again). You rule Camaleón :)

Joao

>
> --
> Camaleón
>
>



--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1321194944....@wheejy.critical.pt
0 new messages