Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How can I send emails out from my Ubuntu VPS? I have a domain I want to use (@mydomain.com) for the emailing also. Do I need to set up my own DNS (like bind9 or something)? Or can I use my registrar's DNS (http://name.com) but still yet configure my email server to send emails out using my domain.

share|improve this question

closed as off-topic by mdpc, Ward, Caleb, Jenny D, MadHatter Oct 20 at 11:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – mdpc, Ward, Caleb, Jenny D
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

This is a pretty vague question and it isn't clear whether you are asking about general best practices, specific software needs, or configuration options. Unless you make the question more specific, expect general answers.

In general you will want to setup DNS hosting somewhere that specifies the MX and SPF records for your domain to use your server. Reverse DNS will also need to work so that other mail servers can validate who you are. You'll need software such as exim, postfix or sendmail to handle the server mail protocols and possibly some sort of authentication method so that you can connect from your computer to the server to send mails so that they come from the server. Of course if you are sending from the server itself that doesn't apply.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.