Ok I have tried to search for the answers on the internet but I couldn't find any (or I did and I have completely missed it).
I'm setting up an email server on my home network, what I want it to do is to be able to download emails from several domains (and a few from the same domain) and to be able to access it from a variety of different methods (thunderbird and squirrelmail for example). So far I have managed to set it up so that I can download email from any address that I have, but I haven't figured out how to send emails so that it appears from those address.
The software that I have installed is as follows:
FreePOPs -> Fetchmail -> Postfix -> Procmail -> Cyrus IMAP
Some of the emails come from IMAP/POP servers and some from web servers (like hotmail).
If someone could point me in the right direction of how to achieve this I would really appreciate it.