Skip to content

Instantly share code, notes, and snippets.

@apisznasdin
Created January 24, 2014 08:19
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save apisznasdin/8593838 to your computer and use it in GitHub Desktop.
Save apisznasdin/8593838 to your computer and use it in GitHub Desktop.
Config file for sSMTP sendmail using Mandrill
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=user@domain.com
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=smtp.mandrillapp.com:587
AuthUser=mandrill_username
AuthPass=mandrill_api_key
# Where will the mail seem to come from?
#rewriteDomain=
# The full hostname
hostname=mail.domain.com
# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES
@elegantcoder
Copy link

👍

@Xavier-72
Copy link

Great !!!

thanks

@mrprompt
Copy link

mrprompt commented Oct 19, 2017

Config file for sSMTP sendmail

The person who gets all mail for userids < 1000

Make this empty to disable rewriting.

root=user@domain.com

The place where the mail goes. The actual machine name is required no

MX records are consulted. Commonly mailhosts are named mail.domain.com

mailhub=smtp.mandrillapp.com:587

UseSTARTTLS=YES

AuthUser=mandrill_username
AuthPass=mandrill_api_key

Where will the mail seem to come from?

#rewriteDomain=

The full hostname

hostname=mail.domain.com

Are users allowed to set their own From: address?

YES - Allow the user to specify their own From: address

NO - Use the system generated From: address

FromLineOverride=YES

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