Is it possible to configure a postfix (or any other mailprogram for linux) in this way that it is able to recieves/send mails from and to multiple internet mailserver and deliver those mails to local network.

The idea behind it is that I'll set up all my mailaccounts (gmail, hotmail, etc.. ) on my linux machine as a relay account and I send all my mails to this relay and he'll forward it to the corresponding internet server.
The same for recieving mail from the internet account.

Could anyone please point me to a tutorial or man page.
Thanks indeed


For sending mails from local network to multiple ISPs you should configure relaymaps This howto should be helpful.

For receiving mail you can use fetchmail, al natxo asenjo suggested.

| improve this answer | |

so you want to pop mail from gmail/hotmail to your linux computer at home? Use fetchmail for that.

In order to have postfix relay mail in your home lan, consult the postfix docs: http://www.postfix.org/documentation.html , specially the standard configuration examples: http://www.postfix.org/STANDARD_CONFIGURATION_README.html

Be advised that unless your isp has a very good reputation, if you try to be your own mail server you will be blocked by a lot of other mail servers. Use your isp smtp server to relay mail from your postfix server.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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