Author:
erics , October 31st, 2011
Here are the Amazon docs: http://docs.amazonwebservices.com/ses/latest/DeveloperGuide/index.html?IntegratingWithServer.Sendmail.html Edit sendmail.mc and generate a new sendmail.cf
# yum install sendmail-cf mailx
# cd /etc/mail
# cp sendmail.cf sendmail.cf.original
# cp sendmail.mc sendmail.mc.original
# vi sendmail.mc - Apply edits shown below
# make -C /etc/mail
# vi mailertable
# makemap hash /etc/mail/mailertable < /etc/mail/mailertable
# service sendmail restart
/etc/mail/mailertable .{TAB}aws-email:%0 Replace the {TAB} with an actual tab character, and the last character is a zero. /etc/mail/sendmail.mc Change: DAEMON_OPTIONS(Port=smtp,Addr=127.0.0.1, Name=MTA’)dnl To: dnl DAEMON_OPTIONS(Port=smtp,Addr=127.0.0.1, Name=MTA’)dnl Please note above the space after the leading ‘dnl’ and that there is a trailing ‘dnl’ […]
Categories: How-To's , Technology Tags: AWS , CentOS , howto , SES , Simple Email Service , Simple Email Services , tips
| 5 comments
Author:
erics , October 27th, 2011
Your mileage may vary widely…
export AWS_CREDENTIALS_FILE = / root / aws / aws - credentials
mkdir / opt / aws / bin
cd / opt / aws / bin
wget http : //aws-catalog-download-files.s3.amazonaws.com/AmazonSES-2011-07-21.zip
unzip AmazonSES - 2011 - 07 - 21.zip
CentOS
yum install libxml2 - devel
Ubuntu
apt - get install gcc
apt - get install libssl - dev
apt - get install libxml2 - dev
apt - get install libio - socket - ssl - perl
apt - get install libnet - ssleay - perl
apt - get install libnet - https - any - perl
apt - get install liblwp - useragent - determined - perl
For all OS
cpan CPAN YAML Digest :: SHA URI :: Escape Bundle :: LWP MIME :: Base64 Crypt :: SSLeay XML :: LibXML LWP :: Protocol :: https
perl - e 'print "@INC;\n";'
cp SES . pm { one path from above command }
/ opt / aws / bin / ses - verify - email - address . pl - l
Categories: How-To's , Technology Tags: Amazon , apt-get , AWS , CPAN , howto , perl , SES , Simple Email Service , tips , XML , Yum
| No comments
Author:
erics , October 24th, 2011
Easy Install Of AWS SES PHP SDK
pear channel - discover pear . amazonwebservices . com
Adding Channel “pear.amazonwebservices.com” succeeded Discovery of channel “pear.amazonwebservices.com” succeeded
downloading sdk-1.4.5.tgz … Starting to download sdk-1.4.5.tgz (1,992,454 bytes) ………….done: 1,992,454 bytes install ok: channel://pear.amazonwebservices.com/sdk-1.4.5 PHP Configuration
require _ once 'AWSSDKforPHP/sdk.class.php' ;
Copy the contents of config-sample.inc.php and add your credentials as instructed in the file. Move your file to ~/.aws/sdk/config.inc.php. […]
Categories: How-To's , Technology Tags: AWS , howto , SES , Simple Email Services , tips
| No comments