View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Unable to setup an SMTP on dockerized install - Page 2 - ProjeQtOr
 
 

Unable to setup an SMTP on dockerized install

More
11 Jan 2021 11:40 #7 by babynus

 When I add the sendmail path : /usr/sbin/sendmail, boht PHPMailer and PHPMail indicate a success but no email is sent. Same with /usr/sbin/. no error is indcated in the logs. I tried also to install and inidcate the mailx package, same results. 

You should enter senmail path only for local smtp. Your is remote (not on current server)

I think your configuration does not allow smtp though speficied port, or possibly your server requires an authentication for remote mailing.
Try wih IP of smtp server instead of name (will avoir name resolution issue)
Try with authentication.
Check on smtp server if it receives the connection.
 

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
12 Jan 2021 23:09 #8 by it@convexum.fr
Hi babynus, 

You should enter senmail path only for local smtp. Your is remote (not on current server)

Okay noted. thansk for the information.

I think your configuration does not allow smtp though speficied port, or possibly your server requires an authentication for remote mailing.

I tried the telnet on port 25 from the docker and it is working fine. 

I checked that by email directly from the docker using "remote smtp enabled" sendmail (s-nail) : so from the docker container I am able to send the email to my smtp and everything is okay. at this test, I tried at that stage both IP and name.

I did not try from the interface and I will let you know.

I have tried :
  • LAN located SMTP with open relay configuration results : 
  • LAN located SMTP with open relay and no auth 
  • WAN located SMTP (office 365 and inios account, no very confident on the office 365...) with auth
All test were conducted from :
 -  the interface (with all the options PHPMailer / PHP Mail / Direct socket) 
 - the docker itself with s-mail as interface for authetificated SMTP
 - tenel port 25 for unauth local SMTP

All the tests conducted from the docker  were positive (email sent, email received, logs on the LAN SMTP).

From the interface : some options reported positive results but no email were receied whatever the test made. To summarized it : no email sent no connection to the SMTP (no error either) operated locally and no email sent.  

I am guessing that the problem is coming from the apache / php  stack up. 

Is there a way to generate an email using the php framework to test that idea ? I can probably be more specific on the error localization with that. 

Best regards, 



 

Please Log in or Create an account to join the conversation.

More
15 Jan 2021 10:49 #9 by it@convexum.fr
HI!

It tooks me some time to figure it out because from the docker VM it is working fine to connect to the SMTP but from projetqor it seems that it is not with the IP hardcoded for the SMTP, it works very well with PHPMailer.

So you were right about the name resolution !

It is not however working for the two other options (PHPMail and direct socket). I checked on the SMTP no incoming connections in that case. Not sure how I could help for that and maybe you are not interested in this corner case. 

If you want and if you are interested I can share with you the docker-compose and the docker procedure / architecture. 

Best regards, 


 

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.036 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.