Skip to content

Instantly share code, notes, and snippets.

@mz0
Last active May 8, 2020 15:55
Show Gist options
  • Save mz0/408d869a660daaf2571e1fae93015216 to your computer and use it in GitHub Desktop.
Save mz0/408d869a660daaf2571e1fae93015216 to your computer and use it in GitHub Desktop.

consumers: https://wiki.debian.org/Debate/DefaultMTA

ssmtp - no queue
msmtp - no queue
nullmailer - has queue ?

other: https://wiki.debian.org/GmailAndExim4 issue: If you send a mail to a mailing list via a SMTP server provided by Gmail, the returned mail message from the mailing list is treated as read by the Gmail POP3 service

http://websistent.com/how-to-use-msmtp-with-gmail-yahoo-and-php-mail/ (smarthost vs satellite)

@mz0
Copy link
Author

mz0 commented Dec 2, 2016

Service         Free Tier       20k CPM 50k     100k+Emails     SMTP    API     Dedicated IP    Templates       Inbound Email
-------         --------------- ------- ------  ------------    ----    ---     ------------    ---------       -------------
Elastic Email	150k/m, 5k/day	$0	$0	$ 1.80(170k)	v	v       $0.79/day       v               v
Amazon SES	 62k/m		$0	$0	~$4		v	v       -               -               v
Gmail SMTP	 60k/m, 2k/day	$0	$0	-		v	-       -               -               -
GAE❖		       100/day
Peppipost	 25k/m		$0	$10	$20(+bonus)	v	v       $20/m		?		?
SparkPost	 15k/m		->	$ 9	$49(150k)	v	v       $20/m, max 4    v               v
SendinBlue	 18k/m†600/day	$25†40k $39(60k)$66(120k)	v	v       v               v               -
Mailgun⬦	 10k/m		$10	$25	$50-79		v	v       v               -               v
MailJet⬦❖	  6k/m,200/day	$7.49	$21.95	$74.95		v	v       v               v               v
SendGrid⬦	 ~3k/m,100/day	$9.95	$19.95	$19.95		v	v       v               v               v
PostageApp	  1k/month	$9	$79	$79		v	v       v               v               -
Mandrill	-		$20	$40	$80		v	v       v               v               v
Postmark	-		$10@10k $50	$100(125k)	v	v       v               v               v
SMTP.com	-		$15@10k	$70	$160		v	v       v               v               -
mailerlite.com	  1k**	$10**	$20**	$35**			-	v	-		v		-
mailchimp.com	 12k/m,*2k/day  $20*	$25*	$30*		-	v	- API: developer.mailchimp.com

†  - Logo
** - up to 1k subscribers, unlimited mail; $20 - up to 2k5, $35 - up to 10k subscribers.
*  - up to 2k subsribers; unlim. emails: $20 - up to 1k5 subs, $25 < 2k, $30 < 2k5; note: Mandrill belongs to mailchimp.
See "Types of Email" http://kb.mailchimp.com/mandrill/mailchimp-vs-mandrill

TODO add/review Zoho Campaigns starting $32/y @500emails?; Benchmark Email, SendPulse.

⬦ - "SendGrid(12k/mo), Mailgun(30k/mo), and Mailjet (25k/mo) are Compute Engine's third-party partners" (checked 01-03-2018) "Mailjet is the first EU data compliant email <transactional & marketing> service provider on Google Cloud Platform. With servers that are entirely EU-based, Mailjet simultaneously complies with data privacy regulations in Europe and the US."

2017-02-28 article, listing Mailerlite and Mailchimp as the top two; #3 - SendInBlue, #4 - Mailjet.

2017-10-16 10 Reliable Transactional Email Service Providers for 2017: 4-SendinBlue, 5-Mailgun, 6-Mailjet, 8-Elastic Email, 9-PepiPost (25k/mo-5k/day free, API/SMTP)

originally taken from metachris.com/2016/03/... updated 2017-01-11, HN-discussion suggests ReachMail (15k/mo, 5k subs, SMTP/API)

@mz0
Copy link
Author

mz0 commented Dec 5, 2016

ssmtp (tested on jessie 8.6, stretch/sid)
fix for Debian bug #661954 - ssmtp.conf is world readable
had patch since 2014.01.28
This bug was known at least since 2008
FreeBSD solution since 2007.07.27

chown nobody:mail /usr/sbin/ssmtp /etc/ssmtp/ssmtp.conf 
chown root:mail /etc/ssmtp/revaliases /etc/ssmtp
chmod 2055 /usr/sbin/ssmtp
chmod 040 /etc/ssmtp/ssmtp.conf

@mz0
Copy link
Author

mz0 commented Dec 12, 2016

https://github.com/KuJoe/Sendmail-to-SSMTP/blob/master/setup.sh
Mandrill example, additional params in ssmtp.conf

@mz0
Copy link
Author

mz0 commented Mar 3, 2018

Elastic Email - impressed me with their API: https://api.elasticemail.com/public/help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment