Replacement Sendmail by other mailing server

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

kiba91
Posts: 2
Joined: Tue Jun 04, 2013 9:35 am

Replacement Sendmail by other mailing server

Post 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 .
Anton
Posts: 46
Joined: Sun Jun 24, 2012 9:58 pm

Re: Replacement Sendmail by other mailing server

Post 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
Post Reply