I have postfix and mail installed on my server.
The following command works fine
But if I use this command
The system thinks I am trying to send a local email to the user 'aj'. How can set mail to send emails to firstname.lastname@example.org externally?
The output from /etc/mailname is
$cat /etc/mailname mydomain.com
The output from /etc/mail.rc
$cat /etc/mail.rc set ask askcc append dot save crt ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via Delivered-To