Updating etc mail aliases
I recently upgraded my Mac to use Apple’s latest operating system, Mountain Lion, and in so doing, wiped out my postfix configuration that I had previously set up with advice from many different blogs.Postfix is essential for my line of business where I send many emails through MAMP on my local machine.
This process is much simpler if you don’t need SSL encryption when sending mail.Plug in your keyboard, mouse and monitor cables (I connected the Pi to my TV). Your Raspberry Pi will boot, and a window will appear with a list of different operating systems that you can install.I picked Raspbian Lite as I don't need the desktop environment - tick the box next to Raspbian Lite and click on Install.mydomain_fallback = localhost mail_owner = _postfix setgid_group = _postdrop relayhost=smtp.gmail.com:587 # Enable SASL authentication in the Postfix SMTP client.smtp_sasl_auth_enable=yes smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd smtp_sasl_security_options= # Enable Transport Layer Security (TLS), i.e. smtp_use_tls=yes smtp_tls_security_level=encrypt tls_random_source=dev:/dev/urandom If all goes well, you should receive an email to your inbox.As we won't be running a desktop we don't need the GPU to have much memory, so we can set it to 16 - leaving the rest of the RAM free for the system to use.
SSH is the protocol we will be using to access and control the Pi from another computer. Select 'Finish' - if it asks, yes you want to reboot. In addition to that a Postfix, Dovecot email server. One of the things I want to do now is getting rid of the television.
The following part comes from Matt Wilcox' guide I use later on. We won't be using the desktop (we're going to run headless), and disabling the boot to desktop option will free up some system resources so the Pi performs better.
This specific part from his guide I will use right now. If raspi-config isn't open yet, type: Do the following: We'll be deleting the default "pi" user account later (for security) but right now, if you were connected to the internet your Pi would be susceptible to someone SSHing into it - because every Pi has the same default password. If you're in the UK then it's already set to use UK English in UTF8 - if not, pick the best choice for your location and if you can, a UTF-8 version of your locale. I used US-UTF8 and my timezone is in Amsterdam Your 'hostname' is simply the name of the Pi itself, you can choose anything but don't use special characters or spaces.
G:/ In SD Formatter, select the drive letter for your SD card and format it.
Once your SD card has been formatted, drag all the files in the extracted NOOBS folder and drop them onto the SD card drive.
Raspbian will then run through its installation process. When the install process has completed, the Raspberry Pi configuration menu (raspi-config) will load.