1

Is there any small utility to receive emails on linux ? Ideally I would need to point mx records on my server and through just a command read all the emails received. I don't need pop3, imap, any user account management, database etc ... basically just a catch-all email service on linux. Basically if it would write all the emails received to a text file it would be good enough but i don't know how to listen for emails ...

Andrew B
  • 32,588
  • 12
  • 93
  • 131
Doing Things
  • 23
  • 1
  • 4
  • 1
    the question is quite precise ... don't really understand why Ward, devicenull, Michael Hampton, John Gardeniers, mdpc don't get it. – Doing Things Apr 20 '13 at 05:55

1 Answers1

0

Not out of the box. You would need to configure a MTA (postfix, exim, etc.) with aliases for all the mail accounts you want to receive mail for to a single user, and then invoke a console based e-mail client as the user you're routing the mail to.

I will not recommend a specific MTA or client, as there are several that can do the job and this already risks being interpreted as a shopping question.

Andrew B
  • 32,588
  • 12
  • 93
  • 131
  • that sounds complicated – Doing Things Feb 16 '13 at 16:38
  • 1
    It's not a simple thing, no. MTA servers are used for receiving and processing mail. E-mail clients are used for reading e-mail after the processing. There is no solution that I'm aware of that combines both into one, let alone something that is simple to use. SMTP (the email protocol) has its own subset of knowledge, much like many other server related technology specializations. – Andrew B Feb 16 '13 at 16:49