?
Solved

Sending external email from Debian Box

Posted on 2010-01-03
4
Medium Priority
?
764 Views
Last Modified: 2013-12-16
This should be really simple but I can't find a simple solution.

Got a basic Debian box and I want to send email from the command line
 # mail user@domain.com .....

When I do so, I get "Mailing to remote domains not supported".
The Exim and other configuration seem very complex - I just want to send the email

How can I turn off the remote domain block?  I can use an external SMTP relay if that helps.

Thanks
BT
0
Comment
Question by:brothertom
3 Comments
 

Author Comment

by:brothertom
ID: 26194165
Thanks for the link - I'll check out it and get back to you.
0
 
LVL 1

Accepted Solution

by:
NateTech earned 2000 total points
ID: 26220870
You need to either configure an installed MTA (Mail Transfer Agent) or install one.

For a machine where you're not intending to run a full blown mail server, I recommend using a "simple" MTA that doesn't do local mail delivery on the machine to local users, but sends all mail off (usually through your "regular" mail server) elsewhere, for security and the KISS principal.

Table 6.4 in the MTA section of the Debian Reference Manual provides a list of choices for MTA in Debian:
http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_mail_transport_agent_mta

You might consider the "ssmtp" package vs. configuring a more full-featured MTA, if all you're trying to do is get mail to deliver OFF/AWAY from this machine.



0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question