Skip to content

clkao-cookbooks/sesgateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Configures a tunnel to Amazone Simple Email Service

Requirements

  • stunnel coobook

Attributes

See attributes/default.rb for default values.

Usage

Most likely you want to use it along with postfix. Note that you must verify your sender address with SES, and you probably want to use sender_canonical_maps in postfix too.

By default the smtp gateway listens on localhost:2525, so you will want to configure your postfix accordingly.

Examples

name "base"
run_list("recipe[postfix]", "recipe[postfix::sasl_auth]", "recipe[sesgateway]")
override_attributes(
  "postfix" => {
    "smtp_tls_cafile": "/etc/ssl/certs/cacert.org.pem",
    "relayhost": "localhost:2525",
    "mail_type" => "client",
    "mydomain" => "example.com",
    "myorigin" => "example.com",
    "relayhost": "localhost:2525",
    "smtp_sasl_user_name": "Your SES user name"
    "smtp_sasl_passwd": "Your SES password"
  }
)

About

SMTP gateway to Amazon Simple Email Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages