Question : Configure Postfix to accept and save all incoming mail, regardless of host.

Any help will be much appreciated.



I need to configure postfix to accept ALL incoming mail, regardless of what host (@domain) it is sent to.

I don't want to relay it. I just want to accept ALL of the mail and save it (yes, even the junk spam).



I will not know ahead of time what the domain will be, so adding the domain(s) to mydomain in  main.cf is not an option.



Is there any way to configure postfix to do this? Or is there any other SMTP server I could use to do this?

Answer : Configure Postfix to accept and save all incoming mail, regardless of host.

1. for http://www.postfix.org/postconf.5.html#mydestination use pcre or regexp look-up map, which will accept anything
  http://www.postfix.org/DATABASE_README.html
2. configure http://www.postfix.org/postconf.5.html#local_recipient_maps to accept any user, or disable consulting it all
3. configure http://www.postfix.org/postconf.5.html#mailbox_command or transport to accept any user
Random Solutions  
 
programming4us programming4us