Page 1 of 1

Replacement Sendmail by other mailing server

Posted: Tue Jun 25, 2013 8:08 am
by kiba91
Hi all, i am a EMM beginner. I want to customise a exist OpenEMM system by replacing Sendmail server with others like AmazonSES. :D In OpenEMM, a mail is send at backend (python language). I'm not good at python :( , anyone can tell me where can i start,please .

Re: Replacement Sendmail by other mailing server

Posted: Fri Aug 16, 2013 5:03 pm
by Anton
Hi,
It took me a while to figure it out also. What you want to do is use a "smart-relay" (I don't know why it's called a "smart-relay", I'd just call it a "relay"...). Look up in the docs for more information. Basically you just have to create a file:

/home/openemm/conf/smart-relay

and put in the following:

user:password@relayhost:port

e.g.
anton:antonspwd@antons.smtpserver.com:2525

The docs aren't particularly clear on anything that deviates from the standard but it all works great. Warning - if you don't have a user:password then don't put anything there like so:

antons.smtpserver.com:2525

You only have to put a port if it is not 25, so you can often just put:

antons.smtpserver.com

If your relayhost is set up correctly it should just work FOR SENDING. You will then have to make sure your relay is set up for returning the sync bounces and you are processing them correctly or you will quickly get blocked!!!!!!!

Cheers,
Anton