I'm having some trouble configuring one postfix as a client to send
mails through my mail server. So I have 2 servers, one of them running
as the postfix server with virtual users using MySQL (everything ok
there), let's call it mail.domain.es and another one, let's call it
The goal is to achieve sending mails from nagios.domain.es through
'domain.es' using the 'mail' command, but I get the "Incorrect
authentication data" message in the logs whenever I try.
The relevant part of postconf -n on the server side - mail.domain.es - is: