aboutsummaryrefslogtreecommitdiff
path: root/mail/emailrelay/files/emailrelay.config
blob: 7b73de89608107a6403ff629c6abb02643d8a5e1 (plain)
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
config emailrelay 'server'
	option enabled '0'
	option mode 'server'
	option port '25'
	option remote_clients '0'
#	option address_verifier '/usr/local/bin/address-verifier.sh'
#	option domain 'my.example.com'
#	option anonymous '1'
#	option server_tls '/etc/path/to/certificate'
#	option server_auth '/etc/emailrelay.auth'
#	option extra_cmdline ''

config emailrelay 'proxy'
	option enabled '0'
	option mode 'proxy'
	option smarthost '192.0.2.1:25'
	option port '25'
	option remote_clients '0'
#	option address_verifier '/usr/local/bin/address-verifier.sh'
#	option domain 'my.example.com'
#	option anonymous '1'
#	option server_tls '/etc/path/to/certificate'
#	option server_auth '/etc/emailrelay.auth'
#	option client_tls '1'
#	option client_auth '/etc/emailrelay.auth'
#	option extra_cmdline ''

config emailrelay 'cmdline'
	option enabled '0'
	option mode 'cmdline'
	# specify all arguments that should be passed to emailrelay here
	# see http://emailrelay.sourceforge.net/reference.html for command line reference
	option extra_cmdline '--some-other --cmdline-options'