ssmtp.conf
1 |
# |
---|---|
2 |
# Config file for sSMTP sendmail |
3 |
# pour EOLE 2.3 |
4 |
# Equipe Eole 2010 |
5 |
# |
6 |
|
7 |
#Root |
8 |
# The user that gets all mail for userids less than 1000. |
9 |
# If blank, address rewriting is disabled. |
10 |
Root=%%system_mail_to |
11 |
|
12 |
#Mailhub |
13 |
# The host to send mail to, in the form host port | IP_addr port [: port]. |
14 |
# The default port is 25. |
15 |
%if %%is_defined('container_ip_mail') |
16 |
Mailhub=%%container_ip_mail |
17 |
%elif %%tls_smtp == 'port 465' |
18 |
Mailhub=%%passerelle_smtp:465 |
19 |
%else |
20 |
Mailhub=%%passerelle_smtp |
21 |
%end if |
22 |
|
23 |
#UseTLS |
24 |
# Specifies whether ssmtp uses TLS to talk to the SMTP server. |
25 |
# The default is “no”. |
26 |
%if %%tls_smtp == 'port 465' |
27 |
UseTLS=yes |
28 |
%end if |
29 |
|
30 |
#UseSTARTTLS |
31 |
# Specifies whether ssmtp does a EHLO/STARTTLS before starting SSL negotiation. |
32 |
# See RFC 2487. |
33 |
%if %%tls_smtp == 'port 25' |
34 |
UseSTARTTLS=yes |
35 |
%end if |
36 |
|
37 |
# Hostname |
38 |
# The full qualified name of the host. |
39 |
# If not specified, the host is queried for its hostname. |
40 |
Hostname=%%nom_machine.%%nom_domaine_local |
41 |
|
42 |
# Where will the mail seem to come from? |
43 |
%if %%rewrite_domain_mail == 'oui' |
44 |
rewriteDomain=%%nom_domaine_local |
45 |
%end if |
46 |
|
47 |
# Are users allowed to set their own From: address? |
48 |
# YES - Allow the user to specify their own From: address |
49 |
# NO - Use the system generated From: address |
50 |
#FromLineOverride=YES |
51 |
|