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

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 2023-11-14 10:20:38

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

SMTP not working on 2.1.0.0.009

Config
1;192.168.122.100:25;xsibackup.app@olcs.com.au;xsibackup.app;xsibackup.app;none;none;0

Even thought the result is OK, postifix is dropping the connection.
Relay is enable from the IP address.
Why does it send  "EHLO 33hops.com" and "STARTTLS" ?



xsibackup --smtp-test
|---------------------------------------------------------------------------------|
||-------------------------------------------------------------------------------||
|||   (c)XSIBackup-Free 2.1.0.0.009: Backup & Replication Software              |||
|||   (c)33HOPS, Sistemas de Informacion y Redes, S.L. | All Rights Reserved    |||
||-------------------------------------------------------------------------------||
|---------------------------------------------------------------------------------|
                   (c)Daniel J. Garcia Fidalgo | info@33hops.com
|---------------------------------------------------------------------------------|
System Information: Linux, Kernel 3 Major 10 Minor 0 Patch 1160
-------------------------------------------------------------------------------------------------------------
SSL Key path: /home/root/.xsi/xsibackup_id_rsa
-------------------------------------------------------------------------------------------------------------
PID: 31789, Running job as: root
-------------------------------------------------------------------------------------------------------------
Available SMTP Servers
-------------------------------------------------------------------------------------------------------------
ID  SERVER                           SMTP-USER                                         SEC
-------------------------------------------------------------------------------------------------------------
1   192.168.122.100:25               xsibackup.app                                     none
-------------------------------------------------------------------------------------------------------------
2   mail.olcs.com.au:2555            xsibackup.app                                     none
-------------------------------------------------------------------------------------------------------------
Enter the SMTP server ID you want to check: 1
Enter some e-mail address to send the test e-mail to: stuart.edge@olcs.com.au
Sending e-mail to stuart.edge@olcs.com.au through SMTP#1...
-------------------------------------------------------------------------------------------------------------
=== Trying 192.168.122.100:25...
=== Connected to 192.168.122.100.
<-  220 xpr.olcs.com.au olcs.com.au olcs.net.au yourbetterhealth.com.au ipbx.net.au ecctec.com.au xpr.webconnex.au webconnex.au ESMTP Postfix (3.5.8)
-> EHLO 33hops.com
<-  250-mail.olcs.com.au
<-  250-PIPELINING
<-  250-SIZE 10240000
<-  250-VRFY
<-  250-ETRN
<-  250-STARTTLS
<-  250-ENHANCEDSTATUSCODES
<-  250-8BITMIME
<-  250-DSN
<-  250 SMTPUTF8
-> STARTTLS
<-  220 2.0.0 Ready to start TLS
=== TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/CN=mail.olcs.com.au"
~> EHLO 33hops.com
<~  250-mail.olcs.com.au
<~  250-PIPELINING
<~  250-SIZE 10240000
<~  250-VRFY
<~  250-ETRN
<~  250-ENHANCEDSTATUSCODES
<~  250-8BITMIME
<~  250-DSN
<~  250 SMTPUTF8
*** Host did not advertise authentication
~> QUIT
<~  221 2.0.0 Bye
=== Connection closed with remote host.
E-mail was sent               OK
-------------------------------------------------------------------------------------------------------------

Offline

#2 2023-11-15 10:00:35

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: SMTP not working on 2.1.0.0.009

In the ©XSIBackup-App appliance we are using Swaks as an SMTP client by now, which requires authentication.

This will change in next version 1.1.0.1, the new default SMTP client will be cURL in sake of compatibility and to limit space usage, as Swaks depends on Perl and in the end requires more than 45 MB for just an e-mail client.

©XSIBackup-App 1.1.0.1 will also allow to select the classic ©XSIBackup sendmail module, which has been ported to Linux, via the --smtp-client=sendmail argument. Sendmail module uses STARTTLS (port 587) while cURL method (default) uses a direct TLS/SSL connection on port 465.

All these changes are transparent to the user 99% of the times, except in cases like yours in which you are using an open relay and Swaks does not support that configuration.

Offline

#3 2023-11-15 21:40:39

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: SMTP not working on 2.1.0.0.009

When will we have version 1.1.0.1 ?

Offline

#4 2023-11-16 12:10:53

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: SMTP not working on 2.1.0.0.009

Offline

#5 2023-11-20 23:54:51

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: SMTP not working on 2.1.0.0.009

I have updated and it is still not working.

Offline

#6 2023-11-23 16:34:04

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: SMTP not working on 2.1.0.0.009

We are now revising the SMTP client to make it easier to configure. In 1.1.0.1 you can use --smtp-client=sendmail argument to use the classic SMTP client.

Offline

#7 2023-11-23 23:04:57

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: SMTP not working on 2.1.0.0.009

The template in the XSIBackup-App was empty.
/home/root/.xsi/var/html/000.html
I copied one from another server.
Now it works OK.
Please make sure this file is included in the XSIBackup-App image

Offline

#8 2023-11-23 23:10:44

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: SMTP not working on 2.1.0.0.009

One more thing, the subject is set with:
--subject="Backup of VMs VMware11"

However, a pipe "|" symbol is being appended to the subject when I receive the email.
Backup of VMs VMware11 |

Offline

#9 2023-11-26 11:42:06

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: SMTP not working on 2.1.0.0.009

In your case you could probably sort your problems with your SMTP server by increasing the last field in the SMTP server entry from 0 to 1. This will set a sleep time between commands that many SMTP servers require to prevent SPAM.

Offline

#10 2023-11-26 21:16:31

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: SMTP not working on 2.1.0.0.009

SMTP is working OK.
The remaining issue is the pipe "|" at the end of the subject.
Input = --subject="Backup of VMs VMware11"
Output = Backup of VMs VMware11 |

Offline

#11 2023-11-27 16:58:40

admin
Administrator
Registered: 2017-04-21
Posts: 2,057

Re: SMTP not working on 2.1.0.0.009

Can you share what you did to sort your issue?.

Offline

#12 2023-11-27 23:05:13

stuart.edge
Member
From: Sydney, Australia
Registered: 2021-12-18
Posts: 12
Website

Re: SMTP not working on 2.1.0.0.009

email is working with  --mail-to="stuart.edge@olcs.com.au" --subject="Backup of VMs VMware11"  --smtp-client=sendmail
However, I still get the | appended to the subject
Backup of VMs VMware11 |

Offline

Board footer