Last active
December 22, 2015 12:46
-
-
Save DavidePrincipi/b557fddba1554dabe857 to your computer and use it in GitHub Desktop.
NethServer mail configuration for Office365 (experimental)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 90smarthosts_accounts (template-custom) | |
# /etc/e-smith/templates-custom/etc/postfix/main.cf/90smarthosts_accounts | |
# | |
smtp_sender_dependent_authentication = yes | |
sender_dependent_relayhost_maps = hash:/etc/postfix/relaymaps | |
smtp_sasl_auth_enable = yes | |
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd | |
smtp_tls_policy_maps = hash:/etc/postfix/tls_policy | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# | |
# 40smarthosts_accounts (custom templates) | |
# /etc/e-smith/templates-custom/postfix/postmap/40smarthosts_accounts | |
# | |
push @postmapList, qw(relaymaps); | |
''; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 90smarthosts_accounts | |
# /etc/e-smith/templates-custom/etc/postfix/relaymaps/90smarthosts_accounts | |
# | |
# This line is an example: replace it with actual data | |
# | |
first.user@{$DomainName} smtp.gmail.com:587 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 90smarthosts_accounts (custom-template) | |
# /etc/e-smith/templates-custom/etc/postfix/sasl_passwd/90smarthosts_accounts | |
# | |
# This line is an example: replace it with actual data | |
# | |
first.user@{$DomainName} isp_username:isp_password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 90accounts_smarthosts (template-custom) | |
# /etc/e-smith/templates-custom/etc/postfix/tls_policy/90accounts_smarthosts | |
# | |
# This line is an example: replace it with actual data | |
# | |
smtp.gmail.com:587 encrypt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an experiment DON'T use it on production
templates-custom
, as reported in the commentOriginal idea from Linux4All:
http://community.nethserver.org/t/custom-templates-are-not-working/2374?u=davidep