Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
45fad189
...
45fad189bc2034ff7afcb8d15b57e7fa24d79860
authored
2005-02-21 08:56:31 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add debug flag 'i' for symmetry with sieve. Minor fixes in diagnostic messages
1 parent
df5021f7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
mail.local/main.c
mail.local/main.c
View file @
45fad18
...
...
@@ -55,9 +55,10 @@ N_("GNU mail.local -- the local MDA\
\v
\
Debug flags are:
\n
\
g - guimb stack traces
\n
\
T - mailutil traces (MU_DEBUG_TRACE)
\n
\
T - mailutil
s
traces (MU_DEBUG_TRACE)
\n
\
P - network protocols (MU_DEBUG_PROT)
\n
\
t - sieve trace (MU_SIEVE_DEBUG_TRACE)
\n
\
i - sieve instructions trace (MU_SIEVE_DEBUG_INSTR)
\n
\
l - sieve action logs
\n
\
0-9 - Set mail.local debugging level
\n
"
);
...
...
@@ -86,12 +87,12 @@ static struct argp_option options[] =
N_
(
"SQL query to retrieve mailbox quota"
),
0
},
#endif
{
"sieve"
,
'S'
,
N_
(
"PATTERN"
),
0
,
N_
(
"Set name pattern for user-defined
s
ieve mail filters"
),
0
},
N_
(
"Set name pattern for user-defined
S
ieve mail filters"
),
0
},
{
"message-id-header"
,
ARG_MESSAGE_ID_HEADER
,
N_
(
"STRING"
),
0
,
N_
(
"Identify messages by the value of this header when logging Sieve actions"
),
0
},
#ifdef WITH_GUILE
{
"source"
,
's'
,
N_
(
"PATTERN"
),
0
,
N_
(
"Set name pattern for user-defined mail filters"
),
0
},
N_
(
"Set name pattern for user-defined
Scheme
mail filters"
),
0
},
#endif
{
"debug"
,
'x'
,
N_
(
"FLAGS"
),
0
,
N_
(
"Enable debugging"
),
0
},
...
...
@@ -190,6 +191,10 @@ parse_opt (int key, char *arg, struct argp_state *state)
sieve_debug_flags
|=
MU_SIEVE_DEBUG_TRACE
;
break
;
case
'i'
:
sieve_debug_flags
|=
MU_SIEVE_DEBUG_INSTR
;
break
;
case
'l'
:
sieve_enable_log
=
1
;
break
;
...
...
Please
register
or
sign in
to post a comment