notifications setup problem

Re: notifications setup problem

Postby Jocko » Tue Aug 04, 2020 10:22 am

Hi

I removed your pdf as it contains your credentials (base64 which may be easily decrypted !); but likely your file does not yet downloaded by somebody.

It seems office365 smtp expect ehlo command before auth command (see https://support.sugarcrm.com/Knowledge_Base/Email/Testing_Outbound_Email_Using_Command_Line/) and does not support plain login. so you have to sent password and login in a single command.
So first encrypt alone login and password
Code: Select all
/usr/bin/echo -n "yourlogin" | /usr/bin/openssl enc -base64 -A
/usr/bin/echo -n "yourpassword" | /usr/bin/openssl enc -base64 -A

Then run the openssl command
Code: Select all
openssl s_client -starttls smtp -connect smtp.office365.com:587
and send an hello command
Code: Select all
ehlo
Then send auth login.
if you get "334 VXNlcm5hbWU6" you can send first your login (encrypted previously) and on the output "334 UGFzc3dvcmQ6" send your encrypted password.

So you should to be accepted (code 235). In all case I need to update the mail script... :whistle
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: notifications setup problem

Postby Jocko » Tue Aug 11, 2020 11:59 am

Hi

Any news about it ?
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: notifications setup problem

Postby Kippara » Fri Aug 21, 2020 8:06 am

Sorry Jocko, dropped the ball a bit here, been busy fencing. Lost 10Km in bushfires. Hope to have a look this weekend.
Kippara
Donator VIP
Donator VIP
 
Posts: 32
Joined: Sat Jul 11, 2020 3:06 pm

Re: notifications setup problem

Postby Jocko » Fri Aug 21, 2020 8:52 am

Hi

No issue I can easily wait your feedback.

On the same time, I implemented the login mode in our mail script. Now the script checks what modes are supported. If Plain is not allowed, it will try to use the login mode.
So to install it, do
Code: Select all
mv /usr/bin/mail /usr/bin/mail.org
plugout download 6480
unzip -d /usr/bin /tmp/mai.7.2.rc-login-mode-21aug2020.zip
chmod a+x /usr/bin/mail


Then you should have now two binary files
Code: Select all
ls -l /usr/bin/mail*
(and check if /usr/bin/mail file has run permissions)
You do not have the required permissions to view the files attached to this post.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Previous

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 1 guest