| Author |
Message |
Quik
Joined: 17 Sep 2003
Posts: 124
|
| Posted: Tue Jun 01, 2004 12: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? |
|
| Back to top |
|
jftuga
Joined: 23 Apr 2004
Posts: 19
|
| Posted: Tue Jun 01, 2004 2: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 |
|
| Back to top |
|
Quik
Joined: 17 Sep 2003
Posts: 124
|
| Posted: Tue Jun 01, 2004 3: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 :( |
|
| Back to top |
|
acid2000
Joined: 31 May 2004
Posts: 4
|
| Posted: Tue Jun 01, 2004 7:58 pm Post subject: |
|
|
| Have you tried running eximconfig? |
|
| Back to top |
|
Quik
Joined: 17 Sep 2003
Posts: 124
|
| Posted: Wed Jun 02, 2004 9:47 am Post subject: |
|
|
acid2000 wrote: Have you tried running eximconfig?
Thanks! ;) |
|
| Back to top |
|
| |