Discussion:
Error while trying to send mails using smtp option
Abdullah Al-Darmaki
2018-07-12 11:03:05 UTC
Permalink
Dear support,

Can you please share me the right configuration to configure the smtp feature for sending mails in bugzilla, because after I did all the configuration I am getting error that unable to establish the connection also note that we using exchange server (smtp.domain.com)


Regard,
Abdullah
Abdullah Al-Darmaki
2018-07-12 11:06:50 UTC
Permalink
Sent from my HTC

----- Forwarded message -----
From: "Abdullah Al-Darmaki" <a.darmaki-***@rgo.gov.om>
To: "support-***@lists.mozilla.org" <support-***@lists.mozilla.org>
Subject: Error while trying to send mails using smtp option
Date: Thu, Jul 12, 2018 3:03 PM

Dear support,

Can you please share me the right configuration to configure the smtp feature for sending mails in bugzilla, because after I did all the configuration I am getting error that unable to establish the connection also note that we using exchange server (smtp.domain.com)


Regard,
Abdullah
Thorsten Schöning
2018-07-12 12:37:43 UTC
Permalink
Guten Tag Abdullah Al-Darmaki,
am Donnerstag, 12. Juli 2018 um 13:03 schrieben Sie:

> Can you please share me the right configuration to configure the
> smtp feature for sending mails in bugzilla, because after I did all
> the configuration I am getting error that unable to establish the
> connection also note that we using exchange server (smtp.domain.com)

Please provide exact error messages and what you have done to debug
this problem on your own already. The message might simply be correct
because of wrong firewall settings or you are missing required
libraries to use TLS whatever. How can anyone know with the facts you
provided?

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Abdullah Al-Darmaki
2018-07-12 12:48:15 UTC
Permalink
Dear Therostan,

Thanks for reply,
the error message is "unable to establish smtp connection".
Also note that bugzilla server already added in exchange settings also its allowed in firewall, so everything is done on that side so nothing is blocked.
My configration in bugzilla like the follow:
1-sending type i choice (smtp).
2-I put the email address that we use for send(***@domain.com).
3-I put the user name and password.
4-ssl is on.

I hope to guide me to solve this

Thanks & Regard,

Abdullah


----- Reply message -----
From: "Thorsten Schöning" <***@am-soft.de>
To: "support-***@lists.mozilla.org" <support-***@lists.mozilla.org>
Subject: Error while trying to send mails using smtp option
Date: Thu, Jul 12, 2018 4:34 PM

Guten Tag Abdullah Al-Darmaki,
am Donnerstag, 12. Juli 2018 um 13:03 schrieben Sie:

> Can you please share me the right configuration to configure the
> smtp feature for sending mails in bugzilla, because after I did all
> the configuration I am getting error that unable to establish the
> connection also note that we using exchange server (smtp.domain.com)

Please provide exact error messages and what you have done to debug
this problem on your own already. The message might simply be correct
because of wrong firewall settings or you are missing required
libraries to use TLS whatever. How can anyone know with the facts you
provided?

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

_______________________________________________
support-bugzilla mailing list
support-***@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-***@lists.mozilla.org in the To: field when you reply.
Abdullah Al-Darmaki
2018-07-12 13:17:37 UTC
Permalink
Dear Therostan,

Thanks for reply,
the error message is "unable to establish smtp connection".
Also note that bugzilla server already added in exchange settings also its allowed in firewall, so everything is done on that side so nothing is blocked.
My configration in bugzilla like the follow:
1-sending type i choice (smtp).
2-I put the email address that we use for send(***@domain.com).
3-I put the user name and password.
4-ssl is on.

I hope to guide me to solve this

Thanks & Regard,

Abdullah

----- Forwarded message -----
From: "Abdullah Al-Darmaki" <a.darmaki-***@rgo.gov.om>
To: "Thorsten Schöning" <***@am-soft.de>, "support-***@lists.mozilla.org" <support-***@lists.mozilla.org>
Subject: Error while trying to send mails using smtp option
Date: Thu, Jul 12, 2018 4:48 PM

Dear Therostan,

Thanks for reply,
the error message is "unable to establish smtp connection".
Also note that bugzilla server already added in exchange settings also its allowed in firewall, so everything is done on that side so nothing is blocked.
My configration in bugzilla like the follow:
1-sending type i choice (smtp).
2-I put the email address that we use for send(***@domain.com).
3-I put the user name and password.
4-ssl is on.

I hope to guide me to solve this

Thanks & Regard,

Abdullah


----- Reply message -----
From: "Thorsten Schöning" <***@am-soft.de>
To: "support-***@lists.mozilla.org" <support-***@lists.mozilla.org>
Subject: Error while trying to send mails using smtp option
Date: Thu, Jul 12, 2018 4:34 PM

Guten Tag Abdullah Al-Darmaki,
am Donnerstag, 12. Juli 2018 um 13:03 schrieben Sie:

> Can you please share me the right configuration to configure the
> smtp feature for sending mails in bugzilla, because after I did all
> the configuration I am getting error that unable to establish the
> connection also note that we using exchange server (smtp.domain.com)

Please provide exact error messages and what you have done to debug
this problem on your own already. The message might simply be correct
because of wrong firewall settings or you are missing required
libraries to use TLS whatever. How can anyone know with the facts you
provided?

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

_______________________________________________
support-bugzilla mailing list
support-***@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-***@lists.mozilla.org in the To: field when you reply.
Thorsten Schöning
2018-07-12 14:04:01 UTC
Permalink
Guten Tag Abdullah Al-Darmaki,
am Donnerstag, 12. Juli 2018 um 14:48 schrieben Sie:

> the error message is "unable to establish smtp connection".

That might be the following:

https://bugzilla.mozilla.org/show_bug.cgi?id=1182445
https://groups.google.com/forum/#!topic/mozilla.support.bugzilla/xFqK7S3h25g

There's a debug setting for SMTP, enable that, trigger the error and
have a look at the log of your web server for additional details.

> Also note that bugzilla server already added in exchange settings
> also its allowed in firewall, so everything is done on that side so nothing is blocked.

You could have made a mistake, so try to send mails using SMTP
manually from the server hosting Bugzilla using telnet or such. There
are plenty of tutorials how to do that in the net:

https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/

> My configration in bugzilla like the follow:
> 1-sending type i choice (smtp).
> 2-I put the email address that we use for send(***@domain.com).
> 3-I put the user name and password.
> 4-ssl is on.

Doesn't read that wrong, trying without SSL is always a good idea as
well. Not only the flag off of course, but the mail server configured
to not require it as well. This way you can check if all TLS only is
the problem, e.g. because of missing dependencies.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Abdullah Al-Darmaki
2018-07-17 08:37:52 UTC
Permalink
________________________________
From: support-bugzilla <support-bugzilla-bounces+a.darmaki-it=***@lists.mozilla.org> on behalf of Thorsten Schöning <***@am-soft.de>
Sent: Thursday, July 12, 2018 6:04 PM
To: support-***@lists.mozilla.org
Subject: Re: Error while trying to send mails using smtp option

Guten Tag Abdullah Al-Darmaki,
am Donnerstag, 12. Juli 2018 um 14:48 schrieben Sie:

> the error message is "unable to establish smtp connection".

That might be the following:

https://bugzilla.mozilla.org/show_bug.cgi?id=1182445
https://groups.google.com/forum/#!topic/mozilla.support.bugzilla/xFqK7S3h25g

There's a debug setting for SMTP, enable that, trigger the error and
have a look at the log of your web server for additional details.

> Also note that bugzilla server already added in exchange settings
> also its allowed in firewall, so everything is done on that side so nothing is blocked.

You could have made a mistake, so try to send mails using SMTP
manually from the server hosting Bugzilla using telnet or such. There
are plenty of tutorials how to do that in the net:

https://www.port25.com/how-to-check-an-smtp-connection-with-a-manual-telnet-session-2/

> My configration in bugzilla like the follow:
> 1-sending type i choice (smtp).
> 2-I put the email address that we use for send(***@domain.com).
> 3-I put the user name and password.
> 4-ssl is on.

Doesn't read that wrong, trying without SSL is always a good idea as
well. Not only the flag off of course, but the mail server configured
to not require it as well. This way you can check if all TLS only is
the problem, e.g. because of missing dependencies.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

_______________________________________________
support-bugzilla mailing list
support-***@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-***@lists.mozilla.org in the To: field when you reply.
Abdullah Al-Darmaki
2018-07-17 09:08:46 UTC
Permalink
Dear Thorsten,


Any chance to use send mail method instead of SMTP method for sending mails in Bugzilla as I explained to you last time I was using SMTP method and I got an error "unable to establish SMTP connection" you gave me some solutions I tried that but I was getting the same error every time, so please guide me to use send mail method as I already installed that application but I am not sure from the details which I put in sendmail.ini file, because after I test that also I got this error " error when closing pipe to sendmail: Inappropriate I/O control operation " so please can you guide me step by step to do that and send me the sendmail.ini file so I can know if there is any mistake I did, waiting for your reply ASAP.



Thanks & Regard,


Abdullah
Thorsten Schöning
2018-07-17 09:56:10 UTC
Permalink
Guten Tag Abdullah Al-Darmaki,
am Dienstag, 17. Juli 2018 um 11:08 schrieben Sie:

> Any chance to use send mail method instead of SMTP method for
> sending mails in Bugzilla

That depends on the problem with your mail server, sendmail itself
only forwards mails to some other mail server, which might be your
Exchange again or some completely different.

> so please guide me to use send
> mail method as I already installed that application but I am not
> sure from the details which I put in sendmail.ini file,

There are multiple sendmail implementations out there, sendmail.ini
sounds like you are using sendmail.exe for Windows? That file is
pretty good documented, I can't tell you anything more. Provide it's
content here and someone might have a look for obvious wrong settings.

> because
> after I test that also I got this error " error when closing pipe to
> sendmail: Inappropriate I/O control operation "

sendmail.ini of sendmail.exe allows error and debug logs, activate
those during your tests. Additionally thing of file permissions, it is
executed by your web server and therefore might need writer
permissions somewhere. Use Process Monitor for Windows to debug that.

https://docs.microsoft.com/en-us/sysinternals/downloads/procmon

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Loading...