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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » "SMTP protocol violation, see RFC 2821" when sending mail » 2018-01-12 00:04:43

I see. There is no way to send an email to an SMTP server without auth with XSIBackup, does the pro version support this? Are there any future plans to support such a thing?

It is a bit confusing since the docs for the --smtp-auth say

You can choose plain text authentication or no authentication for SMTP servers configured as open relays inside a controlled LAN. Use at your own risk.

#2 Re: General matters » "SMTP protocol violation, see RFC 2821" when sending mail » 2018-01-11 17:38:19

admin wrote:

Have you enabled "less secure apps" in your GMail profile?
https://support.google.com/a/answer/6260879?hl=en

Thanks for the reply, I should have clarified that I'm using the GSuite SMTP relay. I don't need to provide authentication as it authenticates me automatically based on a static IP. The "Allow or disallow less secure apps to access accounts" won't apply. I have enabled it anyways to test, and received the same results.

I am sending mail from other services successfully using the same method (sending mail to the smtp relay with no auth details).

#3 General matters » "SMTP protocol violation, see RFC 2821" when sending mail » 2018-01-10 22:14:03

douglasg14b
Replies: 5

I'm setting up the email alerts, and am using smtp-relay.gmail.com, when the script goes to test (./xsibackup --check-smtp=myemail@mydomain.com --use-smtp=1) I get the following output:

Using stored SMTP server info...
Found conf/smtpsrvs file...
Firewall rule SMTPout-587 added...
220 smtp-relay.gmail.com ESMTP y200sm4420039itc.8 - gsmtp
250 smtp-relay.gmail.com at your service
250-smtp-relay.gmail.com at your service, [209.126.235.43]
250-SIZE 157286400
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
503 5.5.1 bad sequence of commands y200sm4420039itc.8 - gsmtp
502 5.5.1 Unrecognized command. y200sm4420039itc.8 - gsmtp
502 5.5.1 Unrecognized command. y200sm4420039itc.8 - gsmtp
451 4.5.0 SMTP protocol violation, see RFC 2821 y200sm4420039itc.8 - gsmtp
Firewall rule SMTPout-587 closed.
Killed

Any idea why this might be happening, and how to fix it?

Board footer