I am doing some testing with sendmail on my linux mail server.
I currently have 2 user accounts (excluding root) on the one server and wish to send emails from one to the other using the server IP address instead of localhost.
e.g.
[mary@mailserver]$ mail -s "Hello World" john@192.168.0.1
But when ever I try this I get a dead.letter reply, effectively saying the mail could not be delivered.
I tryed changing a few setting in sendmail.mc (sorry can’t remember which ones), rebuild it and restarted the sendmail service. I also added the server IP address to the sendmail db, rebuilt it and restarted the sendmail service. Neither of which seemed to help.
I’m very unfamiliar with sendmail so any help would be great.
Thanks.
IP adresses are not allowed by the RFC specification.