Amazon SES with Sendmail as Relay

Over and over, sendmail keeps getting whacked out of configuration and it’s puzzling why this keeps happening. I followed everything at Amazon SES’ instruction here with no luck. So to set things straight once for all, here are the steps to make the changes permanent. Open up sendmail.mc typically located at /etc/mail Add FEATURE(`mailertable')dnl below where all the FEATURE() codes are Add the lines below at the end of file MAILER_DEFINITIONS Maws-email, P=/etc/aws/ses-send-email.pl, F=mDFMuXn, U=mail, S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, A=ses-send-email.pl -r -k /etc/aws/aws-credentials -e https://email.us-east-1.amazonaws.com -f $f $u Save the file Generate sendmail.cf by doing m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf Open up mailertable typically located in /etc/mail and add .[TAB]aws-email:%0. Replace [TAB] with a real TAB character Build the mailertable database by doing makemap hash /etc/mail/mailertable < /etc/mail/mailertable Test the configuration by doing sendmail -bv [email protected] If all goes well, restart sendmail by doing /etc/init.d/sendmail restart

January 25, 2012 · Batista Harahap

Small is NOT so small

It’s been like a few months not posting into my own blog. The 24th day of 2011 and it seems that months have passed by just like that. In the span of 24 days that have passed, every single day is cramped with all the aspects of being a startup. Just today, I went from a programmer, a cable crimper, a business partner, a troubleshooter, a mobile app consultant, a colleague to a friend for a friend, all in just one day. Multiply that by 24 and that’s exactly what’s been going on. The dynamics revolving is mind blowing. ...

January 24, 2011 · Batista Harahap