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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Emails didn't send to my mailboxes. » 2018-12-10 14:30:13

Hello,

So I didn't understand why XSI can't talk to Google using 587 port while I can talk to Google from the console using Python with the same 587 port.

But anyway thanks, I have switched to 465 port and it works.

#3 Re: General matters » Emails didn't send to my mailboxes. » 2018-12-05 14:42:08

I'm already using Gmail account and using Gmail server for sending emails.
here is we using Google G-Suite, --mail-from=no-reply@my.emai ; "my.email" is just an example instead of a company name, used in Google space

#4 Re: General matters » Emails didn't send to my mailboxes. » 2018-12-03 07:34:18

I not too strong in ciphers, but when I am used a Python there was a necessary option for delivering email:
            server = smtplib.SMTP('smtp.gmail.com', 587)
            server.starttls()
That's why I used TLS here.


But even when I ran without TLS option the script returned me the same result:
./xsibackup --backup-point=/vmfs/volumes/DS-3-SATAR5/Backups-xsi --backup-type=custom --backup-vm
s="TEST-VM" --mail-from=no-reply@my.email --mail-to=me@my.email --smtp-srv=smtp.gmail.com --smtp-port=587 --smtp-usr=no-reply@my.email --smtp-pwd=P@55w0rd --smtp-auth=yes

2018-11-30T17:13:18|  Opening port 587 for SMTPout-587 service...
CONNECTED(00000003)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 305 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1543598007
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
Firewall rule SMTPout-587 closed.
Backup finished

Please help me with configuring alerts on email.

#5 General matters » Emails didn't send to my mailboxes. » 2018-11-27 14:28:23

Yurii
Replies: 14

Hello All,

Please explain to me why XSI didn't send email?

Here is a string for executing:
/xsibackup --backup-point=/vmfs/volumes/volume/backups --backup-type=custom --backup-vms="TEST-VM" --mail-from=no-reply@my.email --mail-to=me@my.email --smtp-srv=smtp.gmail.com --smtp-port=587 --smtp-usr=no-reply@my.email --smtp-pwd=P@55w0rd --smtp-auth=yes  --smtp-sec=TLS

The credentials are correct. I can use my email via PowerShell or using Python. Here is XSI output:

2018-11-27T14:16:55|  Opening port 587 for SMTPout-587 service...
CONNECTED(00000003)
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 305 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : 0000
    Session-ID:
    Session-ID-ctx:
    Master-Key:
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1543328224
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
Firewall rule SMTPout-587 closed.
Backup finished

Please help me to find out where is the issue.

Board footer