File: OPTIONS

package info (click to toggle)
smtpfeed 1.19-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 832 kB
  • ctags: 796
  • sloc: ansic: 13,878; sh: 203; perl: 133; makefile: 97
file content (125 lines) | stat: -rw-r--r-- 5,711 bytes parent folder | download | duplicates (4)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Command line options

-1		Disable SMTP piggybacking (equivalent to -R1)
-5		When the smtpfeed works only with IPv4 (IPv6) protocol
		(specifing by -N option, etc.), and if destination host has
		only AAAA (A) RRs on DNS respectively, messages will not be
		bounced back with "Host not found" error, and fallbackmx
		will be used
-A		Try T_ANY query first to get MX list from DNS
-a alias	Alias for the host (can be specified multiple times)
-b size		TCP send buffer size (Default: system default)
-c name		FQDN of the host (used as HELO parameter of SMTP)
		(default is obtained by gethostname(2))
-d debugopt	Debug options (specify like: "acel")
		A: enable all debug options of small letter
		a: address	c: connection	e: event	h: hash
		l: LMTP		m: routing map	n: DNS		r: resolv
		s: SMTP		t: transaction	u: resource
		D: surpress delivery	Q: DNS query only
-E		Extract queueID information from "id" portion of Received:
		header line inserted by sendmail. QueueID information will
		be logged for enevy transactions even in runqueue processing.
-F		Insert To: header field with envelope recipient address
		when -1 option specified.
		(Just for bounced address detection -- administrative use)
-F -F		Modify envelope sender address like:
			SenderUser+RecptUser=RecptDomain@SenderDomain
		when -1 option specified. If you want to use this feature,
		configure your mail server to receive such addresses.
		Note: this modification will not be done when envelope sender
		is <>. You should see the item on -S option below.
-g pgateway	Protocol gateway host (Default: not defined)
		(-5 option must be specified at the same time. -N4 or -N6 must
		also be specified at the same time if compiled with -DINET6)
		When -N4 specified (or compiled without -DINET6), if a MX has
		IPv6 addresses, pgateway will be used as first MX. This feature
		will be useful when delivery via pgateway with fat IPv6 network
		is faster than direct delivery with narrow IPv4 network.
		When -N6 specified, pgateway will be used if a MX has IPv4
		addresses, conversely.
-h		Show help message
-I queue-id	Equivalent to -i but no purge information on RSET state
-i queue-id	Queue-id generated by sendmail just for logging information
		(macro name for queue-id in sendmail.cf is $i.)
-l facility	Logging facility (Default: local5)
-M mapfile	Path of routing map file (Default: not defined)
		syntax of routing map file:
			DOMAIN		DEST1:DEST2:...		# comments
		on DOMAIN:
			domain  -- exact matching
			.domain -- substring matching
		on DEST:
			hostname	MX for hostname
			[hostname]	A for hostname
			[IPaddress]	IP address
			MX		MX for domain part of a mail address
			MX?		same as MX (skip to following dest.
					even under DNS lookup failure)
			A		A for domain part of a mail address
			=alias		MX for an aliased mail address
		e.g.)
			# exact match
			sub.my.domain	A:[backup.server]
			# substring match (true up the right side)
			.co.jp		quick.relay.server:MX
			# aliasing (for BITNET routing in Japan)
			.bitnet		=.bitnet.ad.jp
			# fallback MX style
			.jp		MX?:[fallback.mx]
			# default configuration
			.		MX
-m fallbackmx	Fallback MX host (Default: not defined)
		destination when all MX do not respond or MX can not be
		resolved by DNS.
-N domain	Internet Domain (available with --enable-ipv6 configuration)
		4: use IPv4 only, 6: use IPv6 only, B: use both of IPv4/IPv6
		at random, B4: IPv4 then IPv6, B6: IPv6 then IPv4
		(default is B6)
-n num		Max socket number to be used (Default: (FD_SETSIZE-1)).
		Do not specify larger number than it. Sizes around "fd_set"
		of your system should also be changed and re-compiled
		if you want to set larger max socket number)
-o source-addr	Source address for SMTP connection
		(Default: an appropriate address will be dynamically assigned)
-p port		Source port number for sender side of SMTP connection.
		(Default: a free port will be dynamically assigned)
-q num		Max DNS query concurrency (Default: 50). 0 means unlimited.
-R num/file	Max number of recipients to be sent in a SMTP transaction
		from SMTPfeed. (Default: 100)
		If a file is specified, number of recipients can be defined
		par domain basis. e.g.:
			example.jp	10
			DEFAULT		50
		If DEFAULT (for other domains) is not defined in the file,
		100 is the default.
-r num		Minimum number of recipients not to reject delivery operation.
		(Default: 1)
-S /path	File path in which senders address listed. If -F or -F -F
		option specified and envelope sender address is matched with
		one of lists in the file, -1 option is specified automatically.
-S pattern	Format to be used at envelope sender address conversion when
		-F -F option specified. (Default: <%s+%s=%s@%s>)
-s size		Max size of deliverable messages.
		(Default: unlimited)
-t category=val	Timeouts (default values are shown in ())
		Numbers followed by 's' means 'in seconds', by 'm' means
		'in minutes' and by 'h' means 'in hours'. default is 'm'.
			total: total processing limit (55m)
			  it will be take "total + quit"
			connect: till TCP connection establishment (5m)
			greet: till get SMTP greeting message (5m)
			helo: till get response for HELO (5m)
			mail: till get response for MAIL (10m)
			rcpt: till get response for RCPT (60m)
			data: till get response for DATA (5m)
			body: till send next datablock (20m)
			term: till get response for DATA termination (60m)
			cache: for idle SMTP connection (5m)
			rset: till get response for RSET (5m)
			quit: till get response for QUIT (2m)
-u		Enable SMTP connection caching (default: off)
-V		Insert version information on Received: header line
-x		no error even if MX RRs point absent A/AAAA RRs
-y		Refer A RR if this host is the first MX
-z		Disable SMTP pipelining