@@ -102,40 +102,48 @@ <h2><a name="null_client">Postfix on a null client</a></h2>
102
102
null client typically uses POP, IMAP or NFS for mailbox access. </ p >
103
103
104
104
< p > In this example we assume that the Internet domain name is
105
- "example.com" and that the machine is named "nullclient .example.com".
105
+ "example.com" and that the machine is named "hostname .example.com".
106
106
As usual, the examples show only parameters that are not left at
107
107
their default settings. </ p >
108
108
109
109
< blockquote >
110
110
< pre >
111
111
1 /etc/postfix/< a href ="postconf.5.html "> main.cf</ a > :
112
- 2 < a href ="postconf.5.html#myorigin "> myorigin</ a > = $< a href ="postconf.5.html#mydomain "> mydomain</ a >
113
- 3 < a href ="postconf.5.html#relayhost "> relayhost</ a > = $< a href ="postconf.5.html#mydomain "> mydomain</ a >
114
- 4 < a href ="postconf.5.html#inet_interfaces "> inet_interfaces</ a > = loopback-only
115
- 5 < a href ="postconf.5.html#local_transport "> local_transport</ a > = < a href ="error.8.html "> error</ a > :local delivery is disabled
116
- 6
117
- 7 /etc/postfix/< a href ="master.5.html "> master.cf</ a > :
118
- 8 Comment out the local delivery agent entry
112
+ 2 < a href ="postconf.5.html#myhostname "> myhostname</ a > = hostname.example.com
113
+ 3 < a href ="postconf.5.html#myorigin "> myorigin</ a > = $< a href ="postconf.5.html#mydomain "> mydomain</ a >
114
+ 4 < a href ="postconf.5.html#relayhost "> relayhost</ a > = $< a href ="postconf.5.html#mydomain "> mydomain</ a >
115
+ 5 < a href ="postconf.5.html#inet_interfaces "> inet_interfaces</ a > = loopback-only
116
+ 6 < a href ="postconf.5.html#mydestination "> mydestination</ a > =
119
117
</ pre >
120
118
</ blockquote >
121
119
122
120
< p > Translation: </ p >
123
121
124
122
< ul >
125
123
126
- < li > < p > Line 2: Send mail as "
[email protected] " (instead of
127
- "
[email protected] "), so that nothing ever has a reason
128
- to send mail to "
[email protected] ".
</ p >
124
+ < li > < p > Line 2: Set < a href ="postconf.5.html#myhostname "> myhostname</ a > to hostname.example.com, in case
125
+ the machine name isn't set to a fully-qualified domain name (use
126
+ the command "postconf -d < a href ="postconf.5.html#myhostname "> myhostname</ a > " to find out what the machine
127
+ name is). </ p >
128
+
129
+ < li > < p > Line 2: The < a href ="postconf.5.html#myhostname "> myhostname</ a > value also provides the default
130
+ value for the < a href ="postconf.5.html#mydomain "> mydomain</ a > parameter (here, "< a href ="postconf.5.html#mydomain "> mydomain</ a > = example.com").
131
+ </ p >
132
+
133
+ < li > < p > Line 3: Send mail as "
[email protected] " (instead of
134
+ "
[email protected] "), so that nothing ever has a reason
135
+ to send mail to "
[email protected] ".
</ p >
129
136
130
- < li > < p > Line 3 : Forward all mail to the mail server that is
137
+ < li > < p > Line 4 : Forward all mail to the mail server that is
131
138
responsible for the "example.com" domain. This prevents mail from
132
139
getting stuck on the null client if it is turned off while some
133
- remote destination is unreachable. </ p >
140
+ remote destination is unreachable. Specify a real hostname
141
+ here if your "example.com" domain has no MX record. </ p >
134
142
135
- < li > < p > Line 4 : Do not accept mail from the network. </ p >
143
+ < li > < p > Line 5 : Do not accept mail from the network. </ p >
136
144
137
- < li > < p > Lines 5-8 : Disable local mail delivery. All mail goes to
138
- the mail server as specified in line 3 . </ p >
145
+ < li > < p > Line 6 : Disable local mail delivery. All mail goes to
146
+ the mail server as specified in line 4 . </ p >
139
147
140
148
</ ul >
141
149
0 commit comments