Discussion:
James with AWS SES mail receiving
Jeremy T. Bouse
2018-06-10 18:53:03 UTC
Permalink
    Has anyone thought about how to possibly make use of AWS SES email
receiving to accept inbound email and get it passed along into James?
With AWS SES email receiving you can have it save the actual message to
an S3 bucket and then fire off an SNS topic or Lambda function so the
question would really be how to trigger James to be able to process the
alert and ingest the message from S3. I've been thinking about it as a
possible email solution for myself and it seems like it should be
possible but I've not yet been able to determine if there's already an
easy method to do so or if it'll take some development to make it work.
Wanted to see if anyone else had thought about it.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-***@james.apache.org
For additional commands, e-mail: server-user-***@james.apache.org
Benoit Tellier
2018-06-11 04:44:38 UTC
Permalink
Hi Jeremy,

Can't AWS SES send these messages to a SMTP endpoint? This way it will
work without any further development.

That being said, I consider the feature you propose extremely
interesting, as it will provide alternatives to SMTP for applications
sending emails.

In my opinion, you would need to implement a new component in James
listening on AWS SNS, upon messages retrieving the mails, and then
enqueue them in James internal MailQueue.

Cheers,

Benoit Tellier
Post by Jeremy T. Bouse
    Has anyone thought about how to possibly make use of AWS SES email
receiving to accept inbound email and get it passed along into James?
With AWS SES email receiving you can have it save the actual message to
an S3 bucket and then fire off an SNS topic or Lambda function so the
question would really be how to trigger James to be able to process the
alert and ingest the message from S3. I've been thinking about it as a
possible email solution for myself and it seems like it should be
possible but I've not yet been able to determine if there's already an
easy method to do so or if it'll take some development to make it work.
Wanted to see if anyone else had thought about it.
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-***@james.apache.org
For additional commands, e-mail: server-user-***@james.apache.org
Jeremy T. Bouse
2018-06-11 13:16:07 UTC
Permalink
Benoit,

    Yes it can send to a SMTP endpoint but the FROM address has to be an
approved email address/domain for SES to be able to send it which means
having to modify the envelope headers. Further to that I'm looking at
the possibility of running James in containers on AWS ECS which would be
on a private subnet so it wouldn't be reachable directly without going
through a load-balancer.
Post by Benoit Tellier
Hi Jeremy,
Can't AWS SES send these messages to a SMTP endpoint? This way it will
work without any further development.
That being said, I consider the feature you propose extremely
interesting, as it will provide alternatives to SMTP for applications
sending emails.
In my opinion, you would need to implement a new component in James
listening on AWS SNS, upon messages retrieving the mails, and then
enqueue them in James internal MailQueue.
Cheers,
Benoit Tellier
Post by Jeremy T. Bouse
    Has anyone thought about how to possibly make use of AWS SES email
receiving to accept inbound email and get it passed along into James?
With AWS SES email receiving you can have it save the actual message to
an S3 bucket and then fire off an SNS topic or Lambda function so the
question would really be how to trigger James to be able to process the
alert and ingest the message from S3. I've been thinking about it as a
possible email solution for myself and it seems like it should be
possible but I've not yet been able to determine if there's already an
easy method to do so or if it'll take some development to make it work.
Wanted to see if anyone else had thought about it.
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-***@james.apache.org
For additional commands, e-mail: server-user-***@james.apache.org
Loading...