Thanks,
I want to use sendmail + IMAP
and if i put the command as
df -h | mail "kumars.nitin123@gmail.com"
then
kumars.nitin123@gmail.com should receive mail from
root@computer.mydomain.com
But, I find the following logs in maillog:
Nov 5 11:07:12 computer sm-msp-queue[4178]: nA5G7AF5004178: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pr
i=37296, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Nov 5 11:45:55 computer sendmail[4789]: nA5Gjtjp004789: from=root, size=337, class=0, nrcpts=1, msgid=<200911051645.nA5Gjtjp
004789@computer.mydomain.com>, relay=root@localhost
Nov 5 11:45:55 computer sendmail[4789]: nA5Gjtjp004789: to=kumars.nitin123@gmail.com, ctladdr=root (0/0), delay=00:00:00, xdelay
=00:00:00, mailer=relay, pri=30337, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1
]
I have my domain registered and need configuration on my computer only.