Sending mail from the command line only
I'm running a fairly fresh install of Debian, which comes with Exim installed by default (along with a strange lack of a config file). However, I'm unable to send any outgoing emails from the command line with that.
All I'd like is a very unobtrusive MTA (?) that will let me send mail from the command line and nothing else - I don't need to be able to connect from Outlook or have any ports listening to outside connections, etc.
I think I'm making this harder than it should be!
Edit - I'm also not sure on the DNS settings for this - does it require MX records?
mail -s "My Subject" firstname.lastname@example.org < message.txt dmesg | mutt -s "My Subject" email@example.com
Using either mail or mutt simply results in the error:
I've a feeling this is something to do with my DNS configuration, but I don't have any experience with the mail side of things