Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

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.

share|improve this answer
    
thanks a lot, this was exactly what I was looking for –  cb0 Feb 21 '10 at 23:00
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

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.