©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » SMTP not working after upgrade to 11.2.6 » 2019-07-24 14:16:05

The new xsibackup_id_rsa file headers look like this:

-----BEGIN OPENSSH PRIVATE KEY-----

Key goes here

-----END OPENSSH PRIVATE KEY-----



The old one looks like this:

-----BEGIN RSA PRIVATE KEY-----

Key

-----END RSA PRIVATE KEY-----

#2 Re: General matters » SMTP not working after upgrade to 11.2.6 » 2019-07-22 16:41:10

As a test, I copied the following files from my previous installation to the new one:

xsibackup_id_rsa.pub
xsibackup_id_rsa.pem
xsibackup_id_rsa
request.key

I noticed that the previous keys were in RSA format vs OPENSSH.

And now it will sucessfully send email.  Not sure if that request.key has anything to do with things..

#3 Re: General matters » SMTP not working after upgrade to 11.2.6 » 2019-07-22 16:22:43

Out of curiosity, what version of ESXi is that from?

I'm on version 6.5.0 Update 3 (Build 13932383) on both servers and both are doing the exact same thing.  No error message nor output to indicate an issue.

#4 Re: General matters » SMTP not working after upgrade to 11.2.6 » 2019-07-22 14:04:52

So what you're telling me is that the free version (11.2.6) is broken with Gmail and this is a known issue?
When will the free version fix be implemented?

#5 Re: General matters » SMTP not working after upgrade to 11.2.6 » 2019-07-21 22:58:55

[root@ESXiR420:/vmfs/volumes/5be9760a-8ba90cd5-3a4e-000af77eadb8/xsi-dir] esxcli network firewall set --enabled false
[root@ESXiR420:/vmfs/volumes/5be9760a-8ba90cd5-3a4e-000af77eadb8/xsi-dir] nc -4z smtp.gmail.com 465

Connection to smtp.gmail.com 465 port [tcp/smtps] succeeded!

Netcat doesn't seem to have an issue reaching smtp.gmail.com either.

#6 General matters » SMTP not working after upgrade to 11.2.6 » 2019-07-21 22:33:53

genesysguy
Replies: 10

Was using xsibackup free version 11.0.1 and needed to upgrade as I ran into a bug where backups were failing to fire off, after I installed the latest ESXi patch.  Was doing (line 490: syntax error: unexpected "&") and not backing up anything.

Upgraded to 11.2.6 and now I can't get SMTP to work with Gmail at all. I've tried installing on two different ESXi boxes and they are both doing the same thing.  I have it configured the same way as 11.0.1 was.

Running  ./xsibackup --check-smtp=username@gmail.com --use-smtp=2
and here are the results:

Using stored SMTP server info...
Found conf/smtpsrvs file...
Using SMTP server #2: smtp.gmail.com:465
Open firewall: 2019-07-21T22:22:08|  Opening port 465 for SMTPout-465 service...
USING KEY: xsibackup_id_rsa
Firewall rule SMTPout-465 closed.
Killed


Not much for me to go on..  Any ideas?  Any way to turn on more detailed debug logging or am I testing incorrectly?

smtpsrvrs:

2;smtp.gmail.com:465;user@gmail.com;user@gmail.com;password;yes;TLS;0

Board footer