Linode Forum
https://forum.linode.com/

Sending mail from the command line only
https://forum.linode.com/viewtopic.php?f=11&t=913
Page 1 of 1

Author:  Quik [ Tue Jun 01, 2004 1:00 pm ]
Post subject:  Sending mail from the command line only

Easy question.

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?

Author:  jftuga [ Tue Jun 01, 2004 3:09 pm ]
Post subject: 

IIRC, you should be able to send mail from the command line with either mail or mutt.

Code:
mail -s "My Subject" user@example.com < message.txt
dmesg | mutt -s "My Subject" user@example.com


-John

Author:  Quik [ Tue Jun 01, 2004 4:55 pm ]
Post subject: 

Thanks for the reply John.

Using either mail or mutt simply results in the error:

Quote:
email@address.com: unrouteable mail domain "address.com"


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 :(

Author:  acid2000 [ Tue Jun 01, 2004 8:58 pm ]
Post subject: 

Have you tried running eximconfig?

Author:  Quik [ Wed Jun 02, 2004 10:47 am ]
Post subject: 

acid2000 wrote:
Have you tried running eximconfig?


Thanks! ;)

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/