The best way to send email from MarkLogic server an EC2 instance is to
configure MarkLogic server to use localhost, and then configure your
local mailer to do an authenticated (and possibly encrypted) relay
through some other SMTP server that you have access to.

Wayne.

On Mon, 2010-03-15 at 08:40 -0700, Lee, David wrote: 

> I just tried this on my ML server on EC2.
> Startup sendmail
> 
> 
>       service sendmail start
> 
> 
> Mail stuff
>       mail [email protected]
>       ...
> 
> 
> Worked to 1 domain but not another.
> 
> 
> There's nothing technically stopping you from sending email directly
> from EC2, you can use a local sendmail server as above (set your mail
> host to localhost) .. BUT
> The IP addresses of EC2 instances are known as transient/dynamic IP
> addresses and are blocked by many blacklist services so the chances of
> the email getting to an arbitrary user are low.
> If you are the recipient you may be able to configure your system to
> allow the mail.
> 
> An alternative is to run a sendmail server from a dedicated IP somewhere
> and route mail through that.
> 
> 
> 
> ----------------------------------------
> David A. Lee
> Senior Principal Software Engineer
> Epocrates, Inc.
> [email protected]
> 812-482-5224
> 
> 
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Andrew
> Welch
> Sent: Monday, March 15, 2010 6:57 AM
> To: General Mark Logic Developer Discussion
> Subject: [MarkLogic Dev General] smtp relay on amazon ec2
> 
> Hi,
> 
> Does anyone know if its possible to send email alerts from an instance
> running on Amazon EC2?  What should the SMTP Relay be set to?
> 
> thanks
> 


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to