-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email Backup error #2
Comments
I have never seen this myself. This must be device or configuration specific. Is there anything bogus with identity name, board and model name or serial number? You could try to edit the script and comment the lines with extra information to find the causing value. |
Hi, The causing value is the file backup file. The board is a RB433. |
You have the default configuration for backup?
Does it help if you replace |
Yes I use the default configuration.
still the same error. |
Does your device's identity contain bogus (possibly invisible) characters? Run...
... then try again. |
still the same. I testet it also on a rb1100ahx2. also the same problem. I thought that the backup is taking to long. So I tried it on the rb1100 ,-) |
The device performance is not relevant, I am using this on RB751 with 400 MHz CPU... Would you mind sending me a mail without backup and copy? Edit the script, remove the line with
... and run the script. Do not forget to revert the change for |
Well, wondering if your SMTP server is the problem... Can you configure an account from a different SMTP server? |
If i use my server i get the ":invalid BODY" error. I try the google server also. I can send over the google server a testmail from Tools/Email |
I received two mails from two different addresses. I guess both servers do not like mails from RouterOS devices when attachments are included... You could enable logging and see if anything useful pops up there:
Also if one of the servers is yours... Have a look at the MTA's logs. Anyway... I think this is out of scope for my scripts. Looks like the issue is how RouterOS assebles the attachment into the mail. |
very strange. This script is working from the same RB with the server. Also with the attachment
|
Really strange... Is it possible that the file name confuses the servers? Possibly too many dots? Replace the line for file name with just:
... and try again. |
Ok now its working fine. It seems that "mikrotik" has a problem with the dots |
No, it's you provider that has problems with dots. ;) |
Hello,
If i try to trun "/ system script run email-backup" i get the error "Error sending email [xxx] Backup & Config>:invalid BODY; I seems that there is a problem with the file.
Im using version 6.44.5 and 6.45.1. Sending a test mail over the menu is working fine.
Thanks a lot for your work
The text was updated successfully, but these errors were encountered: