-
Notifications
You must be signed in to change notification settings - Fork 3
/
pmilter.conf
56 lines (42 loc) · 1.47 KB
/
pmilter.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[server]
# hoge.sock or ipaddree:port
#listen = "/var/spool/postfix/pmilter/pmilter.sock"
#listen = "inet:127.0.0.1:12525"
listen = "pmilter.sock"
timeout = 7210
log_level = "notice"
mruby_handler = true
listen_backlog = 128
debug = 0
min_worker = 32
[handler]
[handler.config]
# post config handler
mruby_postconfig_handler = "handler/postconfig.rb"
# master exit config handler
mruby_master_exit_handler = "handler/master_exit.rb"
[handler.session]
# connection filter handler
mruby_connect_handler = "handler/connect.rb"
# SMTP HELO command filter handler
mruby_helo_handler = "handler/helo.rb"
# envelope sender filter handler
mruby_envfrom_handler = "handler/mail_from.rb"
# envelope recipient filter handler
mruby_envrcpt_handler = "handler/rcpt_to.rb"
# header filter handler
mruby_header_handler = "handler/header.rb"
# end of header handler
#mruby_eoh_handler = "/path/to/handler.rb"
# body block filter handler
mruby_body_handler = "handler/body.rb"
# end of message handler
mruby_eom_handler = "handler/eom.rb"
# message aborted handler
#mruby_abort_handler = "/path/to/handler.rb"
# connection cleanup handler
#mruby_close_handler = "/path/to/handler.rb"
# unknown SMTP commands handler
#mruby_unknown_handler = "/path/to/handler.rb"
# DATA command handler
#mruby_data_handler = "/path/to/handler.rb"