Line 1... |
Line 1... |
1 |
#!/bin/bash
|
1 |
#!/bin/bash
|
2 |
|
2 |
|
3 |
###########################################################################################
|
3 |
###########################################################################################
|
4 |
## ALCASAR MAIL SERVICE CONFIGURATION
|
4 |
## ALCASAR MAIL SERVICE CONFIGURATION
|
5 |
##
|
5 |
##
|
6 |
## Script by K@M3L & T3RRY (LaPlateform), joss_p & Rexy
|
6 |
## Script by K@M3L & T3RRY (LaPlateforme.io), joss_p & Rexy
|
7 |
## This script configure PostFix
|
7 |
## This script configure PostFix
|
8 |
## 0 : no email autoregistration
|
8 |
## 0 : no email autoregistration
|
9 |
## 1 : PostFix is the SMTP server
|
9 |
## 1 : PostFix is the SMTP server
|
10 |
## 2 : PostFix relay to an other SMTP server
|
10 |
## 2 : PostFix relay to an other SMTP server
|
11 |
## 3 : PostFix use an external email address (with Cyrus-SASL)
|
11 |
## 3 : PostFix use an external email address (with Cyrus-SASL)
|
Line 15... |
Line 15... |
15 |
## Email configuration examples (mode = 3)
|
15 |
## Email configuration examples (mode = 3)
|
16 |
## common parameters : smtp_use_tls = yes, smtp_tls_security_level = encrypt, smtp_sasl_auth_enable = yes
|
16 |
## common parameters : smtp_use_tls = yes, smtp_tls_security_level = encrypt, smtp_sasl_auth_enable = yes
|
17 |
## common rules : 'myhostname' parameter should be the domain name of the sasl_email account
|
17 |
## common rules : 'myhostname' parameter should be the domain name of the sasl_email account
|
18 |
########## smtp.free.fr:465 (expose mechanisms : PLAIN LOGIN CRAM-MD5 DIGEST-MD5)
|
18 |
########## smtp.free.fr:465 (expose mechanisms : PLAIN LOGIN CRAM-MD5 DIGEST-MD5)
|
19 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.free.fr]:465, smtp_tls_wrappermode = yes
|
19 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.free.fr]:465, smtp_tls_wrappermode = yes
|
20 |
########## smtp.free.fr:587 (expose mechanismes
|
20 |
########## smtp.free.fr:587 (expose mechanismes
|
21 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.free.fr]:587, smtp_tls_wrappermode = no, smtputf8_enable = no
|
21 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.free.fr]:587, smtp_tls_wrappermode = no, smtputf8_enable = no
|
22 |
########## smtp.orange.fr:465 (expose mechanisms : LOGIN PLAIN)
|
22 |
########## smtp.orange.fr:465 (expose mechanisms : LOGIN PLAIN)
|
23 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.orange.fr]:465, smtp_tls_wrappermode = yes, smtputf8_enable = no
|
23 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.orange.fr]:465, smtp_tls_wrappermode = yes, smtputf8_enable = no
|
24 |
########## smtp.sfr.fr:465 (expose mechanisms : LOGIN PLAIN)
|
24 |
########## smtp.sfr.fr:465 (expose mechanisms : LOGIN PLAIN)
|
25 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.sfr.fr]:465, smtp_tls_wrappermode = yes
|
25 |
## smtp_sasl_security_option = noanonymous, relayhost = [smtp.sfr.fr]:465, smtp_tls_wrappermode = yes
|