Error sending e-mail <>:invalid TO address

Hello,

i try to setup email notifications, also sending backups to my email.
Problem is, when i try to test sending email i getting those error:
https://www.dropbox.com/s/ecqmze15ecy4l5a/mikrotik.JPG
But TO address is 100% correct also login data for smtp.

Anyone know where is the problem?

It`s 751G-2Hnd model with 6.0 version of router OS.


thank you.

That error could be because the “to” address is not valid, or it is not an address (domain) handled by that email server, and you do not have permission to relay on that server. It appears you are sending to the email address “test”, not “test@yourdomain.com”.

You can see more about the transaction in the log if you enable verbose logging.

/system logging
add topics=e-mail,debug action=memory

Hello SurferTim,

thank you for response and help.
Something weird happen, when i wrote what you said, i see more logs, but all pass ok? :S
Any way, working now :smiley: thank you!

Can i ask you one more thing? :slight_smile:
How to enable logging for firewall?

and how to disable now additional logging for email? :slight_smile:


thank you one more time!

The removal is easy.

/system logging
print
remove X

Change X to the line number of the email topic.

Same adding the firewall.

/system logging
add topics=firewall action=memory

If that is not enough info, you can enable verbose logging with the “topics=firewall,debug” like above.

If you want to see all the stuff you can log, use this.

/system logging
add topics=

Don’t press ENTER after the ‘=’. Instead, press the TAB key. It will display all the topics you can add.

Great!
that`s all what i need for now.

Thank you SurferTim.

I was able to solve the problem.

I activated the firewall log and realized that the mikrotik address was on a spam list.

I followed the instructions of the site that was listed ip and removed from the list.

After a few minutes everything worked perfectly.