· 9 years ago · Sep 13, 2016, 07:32 PM
1postconf -n
2
3
4alias_database = hash:/etc/aliases
5
6body_checks = regexp:/etc/postfix/body_checks
7
8broken_sasl_auth_clients = yes
9
10command_directory = /usr/sbin
11
12config_directory = /etc/postfix
13
14content_filter = amavis:[127.0.0.1]:10024
15
16daemon_directory = /usr/libexec/postfix
17
18data_directory = /var/lib/postfix
19
20debug_peer_level = 2
21
22debugger_command = PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; echo where) | gdb $daemon_directory/$process_name $process_id 2>&1 >$config_directory/smtpd/$process_name.$process_id.log & sleep 5
23
24dovecot_destination_recipient_limit = 1
25
26header_checks = regexp:/etc/postfix/header_checks
27
28html_directory = no
29
30inet_interfaces = all
31
32inet_protocols = ipv4
33
34mail_owner = postfix
35
36mailman_destination_recipient_limit = 1
37
38mailq_path = /usr/bin/mailq.postfix
39
40manpage_directory = /usr/share/man
41
42mydestination = localhost.$mydomain, localhost, example.com.au, vmx.example.com.au
43
44mydomain = example.com.au
45
46myhostname = vmx.example.com.au
47
48mynetworks = 127.0.0.0/8
49
50myorigin = $mydomain
51
52newaliases_path = /usr/bin/newaliases.postfix
53
54proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
55
56queue_directory = /var/spool/postfix
57
58readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
59
60receive_override_options = no_address_mappings
61
62recipient_delimiter = +
63
64relay_domains = $mydestination
65
66relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman
67
68sample_directory = /usr/share/doc/postfix-2.10.1/samples
69
70sendmail_path = /usr/sbin/sendmail.postfix
71
72setgid_group = postdrop
73
74smtp_tls_note_starttls_offer = yes
75
76smtp_tls_security_level = may
77
78smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
79
80smtpd_error_sleep_time = 0
81
82smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unverified_recipient, reject_non_fqdn_recipient, reject_non_fqdn_sender, reject_invalid_hostname, reject_unlisted_recipient, check_client_access hash:/etc/postfix/client_checks, check_sender_access hash:/etc/postfix/sender_checks,
83
84smtpd_sasl_auth_enable = yes
85
86smtpd_sasl_authenticated_header = yes
87
88smtpd_sasl_local_domain = $myhostname
89
90smtpd_sasl_path = private/auth
91
92smtpd_sasl_security_options = noanonymous
93
94smtpd_sasl_type = dovecot
95
96smtpd_tls_auth_only = yes
97
98smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
99
100smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
101
102smtpd_tls_loglevel = 3
103
104smtpd_tls_received_header = yes
105
106smtpd_tls_security_level = may
107
108smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
109
110smtpd_tls_session_cache_timeout = 3600s
111
112smtpd_use_tls = yes
113
114tls_random_source = dev:/dev/urandom
115
116transport_maps = proxy:mysql:/etc/postfix/mysql_virtual_transports.cf
117
118unknown_local_recipient_reject_code = 550
119
120unverified_recipient_reject_code = 550
121
122unverified_sender_reject_code = 550
123
124virtual_alias_domains =
125
126virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_forwardings.cf, mysql:/etc/postfix/mysql_virtual_email2email.cf
127
128virtual_gid_maps = static:5000
129
130virtual_mailbox_base = /home/vmail
131
132virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains.cf
133
134virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
135
136
137
138virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailboxes.cf
139
140virtual_transport = dovecot
141
142virtual_uid_maps = static:5000
143
144dict_proxy_lookup: table=mysql:/etc/postfix/mysql_virtual_forwardings.cf flags=lock|fold_fix key=awards@example.net.au -> status=0 result=forward_to@optusnet.com.au
145
146Sep 13 23:31:30 vmx postfix/smtpd[11120]: maps_find: virtual_alias_maps: proxy:mysql:/etc/postfix/mysql_virtual_forwardings.cf(0,lock|fold_fix): awards@example.net.au = forward_to@optusnet.com.au
147
148Sep 13 23:31:30 vmx postfix/smtpd[11120]: mail_addr_find: awards@example.net.au -> forward_to@optusnet.com.au
149
150Sep 13 23:31:30 vmx postfix/smtpd[11120]: generic_checks: name=reject_unlisted_recipient status=0
151
152Sep 13 23:31:30 vmx postfix/smtpd[11120]: generic_checks: name=check_client_access
153
154Sep 13 23:31:30 vmx postfix/smtpd[11120]: check_namadr_access: name mail-pf0-f176.google.com addr 209.85.192.176
155
156Sep 13 23:31:30 vmx postfix/smtpd[11120]: check_domain_access: mail-pf0-f176.google.com
157
158Sep 13 23:31:30 vmx postfix/smtpd[11120]: check_addr_access: 209.85.192.176
159
160Sep 13 23:31:30 vmx postfix/smtpd[11120]: generic_checks: name=check_client_access status=0
161
162Sep 13 23:31:30 vmx postfix/smtpd[11120]: generic_checks: name=check_sender_access
163
164Sep 13 23:31:30 vmx postfix/smtpd[11120]: check_mail_access: example@gmail.com
165
166Sep 13 23:31:30 vmx postfix/smtpd[11120]: ctable_locate: move existing entry key example@gmail.com
167
168Sep 13 23:31:30 vmx postfix/smtpd[11120]: check_access: example@gmail.com
169
170Sep 13 23:31:30 vmx postfix/smtpd[11120]: check_domain_access: gmail.com
171
172Sep 13 23:31:30 vmx postfix/smtpd[11120]: check_access: example@
173
174Sep 13 23:31:30 vmx postfix/smtpd[11120]: generic_checks: name=check_sender_access status=0
175
176Sep 13 23:31:30 vmx postfix/smtpd[11120]: >>> END Recipient address RESTRICTIONS <<<
177
178Sep 13 23:31:30 vmx postfix/smtpd[11120]: before input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping enable_milters
179
180Sep 13 23:31:30 vmx postfix/smtpd[11120]: after input_transp_cleanup: cleanup flags = enable_header_body_filter
181
182Sep 13 23:31:30 vmx postfix/smtpd[11120]: connect to subsystem public/cleanup
183
184Sep 13 23:31:30 vmx postfix/smtpd[11120]: public/cleanup socket: wanted attribute: queue_id
185
186Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute name: queue_id
187
188Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute value: 7B0085FE91
189
190Sep 13 23:31:30 vmx postfix/smtpd[11120]: public/cleanup socket: wanted attribute: (list terminator)
191
192Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute name: (end)
193
194Sep 13 23:31:30 vmx postfix/smtpd[11120]: send attr flags = 130
195
196Sep 13 23:31:30 vmx postfix/smtpd[11120]: 7B0085FE91: client=mail-pf0-f176.google.com[209.85.192.176]
197
198Sep 13 23:31:30 vmx postfix/smtpd[11120]: > mail-pf0-f176.google.com[209.85.192.176]: 250 2.1.5 Ok
199
200Sep 13 23:31:30 vmx postfix/smtpd[11120]: < mail-pf0-f176.google.com[209.85.192.176]: DATA
201
202Sep 13 23:31:30 vmx postfix/smtpd[11120]: > mail-pf0-f176.google.com[209.85.192.176]: 354 End data with <CR><LF>.<CR><LF>
203
204Sep 13 23:31:30 vmx postfix/cleanup[11125]: 7B0085FE91: message-id=<D3FE3CE9.3B208%example@gmail.com>
205
206Sep 13 23:31:30 vmx postfix/smtpd[11120]: public/cleanup socket: wanted attribute: status
207
208Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute name: status
209
210Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute value: 0
211
212Sep 13 23:31:30 vmx postfix/smtpd[11120]: public/cleanup socket: wanted attribute: reason
213
214Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute name: reason
215
216Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute value: (end)
217
218Sep 13 23:31:30 vmx postfix/smtpd[11120]: public/cleanup socket: wanted attribute: (list terminator)
219
220Sep 13 23:31:30 vmx postfix/smtpd[11120]: input attribute name: (end)
221
222Sep 13 23:31:30 vmx postfix/smtpd[11120]: > mail-pf0-f176.google.com[209.85.192.176]: 250 2.0.0 Ok: queued as 7B0085FE91
223
224Sep 13 23:31:30 vmx postfix/qmgr[8175]: 7B0085FE91: from=<example@gmail.com>, size=2822, nrcpt=1 (queue active)
225
226Sep 13 23:31:31 vmx postfix/smtpd[11120]: < mail-pf0-f176.google.com[209.85.192.176]: QUIT
227
228Sep 13 23:31:31 vmx postfix/smtpd[11120]: > mail-pf0-f176.google.com[209.85.192.176]: 221 2.0.0 Bye
229
230Sep 13 23:31:31 vmx postfix/smtpd[11120]: match_hostname: mail-pf0-f176.google.com ~? 127.0.0.0/8
231
232Sep 13 23:31:31 vmx postfix/smtpd[11120]: match_hostaddr: 209.85.192.176 ~? 127.0.0.0/8
233
234Sep 13 23:31:31 vmx postfix/smtpd[11120]: match_list_match: mail-pf0-f176.google.com: no match
235
236Sep 13 23:31:31 vmx postfix/smtpd[11120]: match_list_match: 209.85.192.176: no match
237
238Sep 13 23:31:31 vmx postfix/smtpd[11120]: send attr request = disconnect
239
240Sep 13 23:31:31 vmx postfix/smtpd[11120]: send attr ident = smtp:209.85.192.176
241
242Sep 13 23:31:31 vmx postfix/smtpd[11120]: private/anvil: wanted attribute: status
243
244Sep 13 23:31:31 vmx postfix/smtpd[11120]: input attribute name: status
245
246Sep 13 23:31:31 vmx postfix/smtpd[11120]: input attribute value: 0
247
248Sep 13 23:31:31 vmx postfix/smtpd[11120]: private/anvil: wanted attribute: (list terminator)
249
250Sep 13 23:31:31 vmx postfix/smtpd[11120]: input attribute name: (end)
251
252Sep 13 23:31:31 vmx postfix/smtpd[11120]: disconnect from mail-pf0-f176.google.com[209.85.192.176]
253
254Sep 13 23:31:31 vmx postfix/smtpd[11120]: master_notify: status 1
255
256Sep 13 23:31:31 vmx postfix/smtpd[11120]: connection closed
257
258Sep 13 23:31:31 vmx amavis[10651]: (10651-01) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: Connection refused
259
260Sep 13 23:31:32 vmx amavis[10651]: (10651-01) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: Connection refused
261
262Sep 13 23:31:32 vmx amavis[10651]: (10651-01) (!)ClamAV-clamd: All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock, retrying (2)
263
264Sep 13 23:31:34 vmx postfix/smtpd[11120]: auto_clnt_close: disconnect private/tlsmgr stream
265
266Sep 13 23:31:35 vmx postfix/smtpd[11120]: rewrite stream disconnect
267
268Sep 13 23:31:35 vmx postfix/smtpd[11120]: verify stream disconnect
269
270Sep 13 23:31:35 vmx postfix/smtpd[11120]: proxymap stream disconnect
271
272Sep 13 23:31:38 vmx amavis[10651]: (10651-01) (!)connect to /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX socket /var/run/clamd.amavisd/clamd.sock: Connection refused
273
274Sep 13 23:31:38 vmx amavis[10651]: (10651-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /var/run/clamd.amavisd/clamd.sock (All attempts (1) failed connecting to /var/run/clamd.amavisd/clamd.sock) at (eval 131) line 613.n
275
276Sep 13 23:31:38 vmx amavis[10651]: (10651-01) (!)WARN: all primary virus scanners failed, considering backups
277
278Sep 13 23:31:59 vmx postfix/smtpd[11142]: initializing the server-side TLS engine
279
280Sep 13 23:31:59 vmx postfix/smtpd[11142]: connect from localhost[127.0.0.1]
281
282Sep 13 23:32:00 vmx postfix/smtpd[11142]: 04B2E5FE92: client=localhost[127.0.0.1]
283
284Sep 13 23:32:00 vmx postfix/cleanup[11125]: 04B2E5FE92: message-id=<D3FE3CE9.3B208%example@gmail.com>
285
286Sep 13 23:32:00 vmx amavis[10651]: (10651-01) Passed CLEAN {RelayedInbound}, [209.85.192.176]:36332 [124.190.58.25] <example@gmail.com> -> <awards@example.net.au>, Queue-ID: 7B0085FE91, Message-ID: <D3FE3CE9.3B208%example@gmail.com>, mail_id: 0E8o8pY8Qy0x, Hits: -2, size: 2822, queued_as: 04B2E5FE92, dkim_sd=20120113:gmail.com, 29142 ms
287
288Sep 13 23:32:00 vmx postfix/smtp[11126]: 7B0085FE91: to=<awards@example.net.au>, relay=127.0.0.1[127.0.0.1]:10024, delay=30, delays=0.72/0.02/0.01/29, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 04B2E5FE92)
289
290Sep 13 23:32:02 vmx postfix/qmgr[8175]: 04B2E5FE92: from=<example@gmail.com>, size=3373, nrcpt=1 (queue active)
291
292Sep 13 23:32:02 vmx postfix/qmgr[8175]: 7B0085FE91: removed
293
294Sep 13 23:32:02 vmx postfix/pipe[11143]: 04B2E5FE92: to=<awards@example.net.au>, relay=dovecot, delay=3, delays=2.3/0.04/0/0.62, dsn=2.0.0, status=sent (delivered via dovecot service)
295
296Sep 13 23:32:02 vmx postfix/qmgr[8175]: 04B2E5FE92: removed