I have now finished setting up my email server. Spent all night last night finishing the setup, while in the process of creating a documentaion for my CS MiniProject.
I hate writing documentaion. It is hidiously boring. Stayed up late scratching my hair off wondering why my server didn't allow me to send and reciece emails. I can read email, using IMAP or IMAPS. But sending was deificult.
I've learning finished doing that. Last night i set it up so that i would be able to use sendmail, from inside the server. This is so that programs like gotmail and fetchmail work. This way i could transfer all my emails from my old server into this. Its been successful. The transfer was fully painless. All my configurations was still alive. Even my encryption keys was still alive. Talk about lucky :)
All i did was tar my home up and then scp it to the new server and untar. Just incase i still did
$ chown mma:user -R /home/mma
to make sure that i am still the owner of my files. I also did
$ chmod 700 -R /home/mma
so that no one else can access it.
I've also setup SquirrelMail. Which was also painless. I just emerged it. Then i copied the contents of squirrelmail/data from my old server into this new one. However, this time i did have to change the permission. While i was copying, it seems that it became root as the owner. So all i had todo was
chown apache:apache -R squirrelmail/data
all done. working. The chmod data stayed the same though. Which was good, since i had no idea what its supposed to be :)
By tomorow, i'm hoping to get the ClamAV virus scanner working, and SpamAssassin fully operational. Which isn't too hard.
But i still have to get postfix to recieve emails.
This is proving to be harder then i thought. Usually i have a server inside my network, and therefore i know exactly what to do, and i can add trusted network and stuff. However, no its totally different. I have to set it up so that it
only trusts itself. Nothing else. This makes other things, such as sending and recieving mail, quite difficult.