Linux – How to quickly set up postfix to just accept all incoming messages and save them, no more logic done

emaillinuxpostfix

F-cked up trying to set up a mail server (having close to zero Linux experience for the moment) I just want to stop loosing incoming messages (it's about current used company's mail server, with pretty a flow of incoming mail from partners and potential clients I can't afford to loose) and have a normal weekend and sleep a night to come back with a mind refreshed. Please, how can I configure postfix so that it just accepts all the mails send to it and put somewhere (reporting a sender successful delivery) for further processing. I'd like no user/mailbox/domains/security management. Just accept any message came from the outside to the server, save it and forget.

The system is Ubuntu 10.04 LTS Server (Lucyd Lynx x86-64).

Have my sincere enormous thanks in advance if you help me to take a break. I like the Unix way and Linux in particular very much and enjoy digging into it, but am just a humble red-eyed noob yet and need some sleep while can't just give up even for a moment.

Best Answer

The most reasonable way to handle this is to issue "postfix stop" and go home. The clients will retry delivery for a few days.

Postfix makes it somewhat hard to completely "open up" the system as you want to. Also, this really won't do what you expect. The mails will be delivered then and dispatching them to their intended recipients will give you a bigger headache than you might expect now.