Ok all the log you sent all its trying to sent email to localhost.
but i want to see log when its showing email outside
Open 2 window, in one windows execute this command
tail -f /var/log/maillog : this command will show realtime log
and from another window, execute this command
cat /etc/hosts | mail -s "test"
[email protected] : its sent /etc/hosts file to your
[email protected] now you will have to show me the log for sending email to
[email protected]does it make sense ??