Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to setup a SMTP server to receive all mails.
I have only found mail sending software so far (like postfix).
But I want to have software to make the server being able to receive mails.

Bonus points if it could work like temporary mailsites, like (I know, but no DNS MX forwarding advice please) and

share|improve this question
NOTICE though: if you're on a residential ISP, such a server will not work, as the ISPs usually block mailservers for sending and receiving on residential type networks. – Thomas W. Jun 29 '12 at 14:59

You should definitely try iRedMail

  • Deploy full-featured mail server in LESS THAN 1 MINUTE, low maintenance after deployed.
  • Unlimited number of virtual mail domains, users, mail lists, aliases, admins.

Just download, extract and run the script.

Installation guide

share|improve this answer

Postfix, Exim, Sendmail and the rest are Mail Transfer Agents and can act as a Mail Submission Agent, Mail Exchange, Mail Transfer Agent, and Mail Delivery Agent. Given the proper cofiguration they will both send and receive email. (If you want to run your own Mail Exchange (MX) server you need a fixed address, and should get your IP address provider to configure your PTR address with your mail servers domain name.)

However, to retrieve email from a service like mailinator you need a program like fetchmail which will read mail from an inbox and pass it to your local MSA (Mail Submission Agent). The trick with a service like mailinator could be to configure pick up addresses dynamically.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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