aboutsummaryrefslogtreecommitdiff
path: root/global.def
blob: 1bf1d364de2d3d2052e4153f91a66d9b59dab0d6 (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
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
# Global constants for Mailfromd.
# Copyright (C) 2005-2018 Sergey Poznyakoff
#
# Mailfromd is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Mailfromd is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Mailfromd.  If not, see <http://www.gnu.org/licenses/>.

# Notes on format:
# 1. Comments start with #.
# 2. Comments and empty lines are ignored.
# 3. A line starting with @ is reproduced verbatim in texinfo output
#    and is suppressed in C output.
# 4. A definition consists of at least two words: a keyword and its value.
#    Definitions are converted to @set statements in texinfo output and
#    to #define statements in C output.
# 5. A value starting with @ is a reference to a C header file.  The definition
#    of the keyword is then looked up in that file and is output only in
#    texinfo format.
# 6. Any part of a value can be enclosed in grave accents.  Such a part is
#    executed as a shell command, and its output is pasted back to the
#    resulting string.  If the command produces multiple lines, they are
#    concatenated and separated by a single space character.

@c DEFAULT_USER is set in configure.
@set DEFAULT_USER mail

@c See stack_size, stack_max_size in src/prog.c (in words)
STACK_SIZE 4096
STACK_INCR 4096

GACOPYZ_TIMEOUT @gacopyz/gacopyz_priv.h
GACOPYZ_WRITE_TIMEOUT   @gacopyz/gacopyz.h
GACOPYZ_READ_TIMEOUT    @gacopyz/gacopyz.h
GACOPYZ_EOM_TIMEOUT     @gacopyz/gacopyz.h
GACOPYZ_CONNECT_TIMEOUT @gacopyz/gacopyz.h

@c Number of built-in exceptions
MAX_E_EXCEPTIONS `grep -c 'dclex e_' mflib/status.mf`

@c See nstreams variable in src/builtin/io.bi
MAX_IOSTREAMS 1024

@c See nmboxes variable in src/builtin/mbox.bi
MAX_MBOXES  64

@c See nmsgs in src/builtin/msg.bi
MAX_MSGS 1024

@c See max_a and max_ptr in src/builtin/dns.bi
MAX_DNS_A 64
MAX_DNS_PTR 64
@c See max_mx ibid. See also MAXMXCOUNT in lib/dns.h
MAX_DNS_MX 32

Return to:

Send suggestions and report system problems to the System administrator.