SMTP Protocol Error: 501 5.1.7 Bad sender address syntax when sending mail from our printer through Nethserver

Hi @greavette

Make sure the mail server definition is configured in Cockpit manager.
Make sure the user myuser@mydomain.ca is a defined user.
Make sure the IP address of the printer is on the same IP network as the mail server and the masks are the same.
If there is a gateway parameter for the printer, make sure it is the IP of the mail server.

=> Bad sender address syntax
For the IP address, try 10.101.1.2

TESTING:

ncat -v -u smtp.10.101.1.2 587
Ncat: Version 7.50 ( https://nmap.org/ncat )  (STANDARD OUTPUT LINE OF ncat)
Ncat: Connected to 10.101.1.2:587. (=> OUTPUT OF ncat IF CONNECTION IS OK)
   (if there is a problem, the above line will be replaced with the corresponding problem)
quit (TO QUIT ncat)
Ncat: Connection refused.

EDIT:
You might have to specify a FQDN address for the mail server in the printer config:

SMTP Server - mydomain.ca

Michel-André