How to send mail with Mamp WordPress on a Mac

First off a big thank you to Matt Messmer for the fix.

Open your mail log

open /var/log/mail.log

Open the file /etc/postfix/ in any text editor.

Add this to

myorigin =
myhostname =
relayhost = []:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_mechanism_filter = plain
inet_protocols = ipv4
smtp_use_tls = yes

I had to comment these out for mine to work

#mydomain_fallback =
#sender_canonical_maps = regexp:/etc/postfix/sender_canonical
#recipient_canonical_maps = regexp:/etc/postfix/recipient_canonical

Open /private/etc/postfix/

Uncomment this line (remove the #)

tlsmgr  unix -       -       n       -       1       tlsmgr

Create sasl_passwd

sudo nano /etc/postfix/sasl_passwd

add this line to it


CMD-X to close

Y to save

NOTE: Change username and password to your google username and password

Run the following commands in terminal, one by one

sudo chmod 600 /etc/postfix/sasl_passwd
sudo postmap /etc/postfix/sasl_passwd
sudo launchctl stop org.postfix.master
sudo launchctl start org.postfix.master
sudo postfix upgrade-configuration

sudo postfix reload
sudo postfix flush


date | mail -s test


Pay close attention to mail.log along the way, note the errors and fix them.

How to make pretty archives in WordPress

If you have a wordpress blog, you will notice that the default archives for a large amount of posts is not very pretty. As with most open source applications, there’s usually a plugin or addon that someone has kindly created. Continue reading

Email campaign tips

I have done my fair share of email campaigning for various clients and this knowledge mixed with some tips from the pros can surely help you get started.

Whether you want to do a campaign, subscription newsletter or you just want to email a bunch of potential clients you should do a little reading.
Continue reading