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
22130e2e
...
22130e2e03a4e6233ad3a141024749131c328f64
authored
2003-01-16 13:48:18 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Updated
1 parent
aab945ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
15 deletions
ChangeLog
mh/README
mh/TODO
ChangeLog
View file @
22130e2
2003
-
01
-
16
Sergey
Poznyakoff
*
include
/
mailutils
/
mutil
.
h
(
mu_rfc2822_references
)
(
mu_rfc2822_in_reply_to
)
:
New
functions
.
*
mail
/
reply
.
c
(
concat
,
strip_message_id
)
(
get_msgid_header
)
:
Removed
(
make_in_reply_to
,
make_references
)
:
Rewritten
using
new
rfc2822
functions
.
*
mailbox
/
mutil
.
c
(
mu_rfc2822_references
)
(
mu_rfc2822_in_reply_to
)
:
New
functions
.
*
mh
/
replcomps
:
New
file
.
Default
format
for
repl
utility
.
*
mh
/
Makefile
.
am
:
Added
mhlibdir
*
mh
/
mh_getopt
.
h
(
struct
mh_option
)
:
Replaced
`
int
key
'
with
`
char
*
longopt
'
.
(
mh_argv_preproc
)
:
New
function
.
(
mh_optind
,
mh_optarg
)
:
Globals
removed
.
*
mh
/
mh_argp
.
c
(
struct
mh_argp_data
)
:
Moved
to
mh_getopt
.
h
(
parse_opt
,
mh_argp_parse
)
:
Rewritten
.
Argument
parsing
goes
in
two
stages
:
first
any
old
-
style
mh
arguments
are
expanded
to
corresponding
GNU
long
options
,
then
argp_parse
is
run
over
the
constructed
argv
array
.
*
mh
/
mh_getopt
.
c
(
mh_getopt
)
:
Rewritten
.
The
main
purpose
is
to
expand
old
-
style
options
to
their
double
-
dash
equivalents
.
(
mh_argv_preproc
)
:
New
function
.
Preprocess
the
argv
array
.
*
mh
/
mh_fmtgram
.
y
(
want_arg
)
:
New
lexical
tie
-
in
to
correctly
process
trailing
whitespace
in
calls
like
%
(
putaddr
To
:
).
*
mh
/
mh_format
.
c
(
builtin_in_reply_to
,
builtin_references
)
:
New
functions
.
Interfaces
to
rfc2822
functions
.
*
mh
/
mh
.
h
(
RCPT_DEFAULT
)
:
Default
value
for
rcpt_mask
*
mh
/
mh_global
.
c
:
Initialize
rcpt_mask
with
RCPT_DEFAULT
.
*
mh
/
mh_init
.
c
(
mh_expand_name
)
:
Correctly
handle
full
and
relative
pathname
specifications
.
*
mh
/
fmtcheck
.
c
:
Use
new
struct
mh_option
*
mh
/
folder
.
c
:
Likewise
.
*
mh
/
inc
.
c
:
Likewise
.
*
mh
/
refile
.
c
:
Likewise
.
*
mh
/
repl
.
c
:
Likewise
.
*
mh
/
rmf
.
c
:
Likewise
.
*
mh
/
scan
.
c
:
Likewise
.
*
mh
/
whatnow
.
c
:
Likewise
.
*
mh
/
README
:
Updated
.
*
mh
/
TODO
:
Updated
.
2003
-
01
-
15
Wojciech
Polak
*
auth
/
tls
.
c
:
Fixed
typo
.
...
...
mh/README
View file @
22130e2
...
...
@@ -5,31 +5,55 @@ README -- Differences between Mailutils and the RAND implementation of MH:
options is provided for backward compatibility.
* Format specifications
** Function unre
This function is a GNU extension. It removes any leading whitespace
and eventual "Re:" prefix from its string argument. Useful for creating
subjects in reply messages:
** New functions
*** unre
Argument: string
Return: string
The function removes any leading whitespace and eventual "Re:" prefix
from its argument. Useful for creating subjects in reply messages:
%<{subject}Subject: Re: %(unre{subject})\\n%>
** Function rcpt
Mailutils provides new format function rcpt. The function takes a
string argument (one of "to", "cc", "me", "all") and returns true
if the given element is present in the recipient mask (as modified
by any --cc and --nocc options) and false otherwise. It is used in
default formats for repl and comp, e.g.:
*** rcpt
Argument: string, one of "to", "cc", "me", "all"
Return: boolean
This function returns true if the given element is present in the
recipient mask (as modified by any --cc and --nocc options) and
false otherwise. It is used in default formats for repl and comp, e.g.:
%(lit)%<(rcpt to)%(formataddr{to})%>
Notice that this means that usual replcomps file will be ignoring
--cc and --nocc options, unless it has been modified as shown above.
** Function concat
Appends whitespace + arg to str.
*** concat
Argument: string
Return: none
Appends whitespace + arg to string register.
*** printstr
Argument: string
Return: none
** Function printstr
Prints the value of string register, prefixed by the given argument.
*** in_reply_to
Argument: none
Return: string
Generates the value for the In-reply-to: header according to RFC 2822.
*** references
Argument: none
Return: string
Generates the value for the References: header according to RFC 2822.
* rmm
** Different behaviour if one of the messages in the list does not exist.
...
...
mh/TODO
View file @
22130e2
...
...
@@ -19,7 +19,7 @@ State Nice Utility Comments
-------------------------------------------
+ -20 scan
+ -20 inc
* -20 repl
Does not actually send the message.
* -20 repl
See comments for whatnow
- -20 comp
- -20 forw
- -20 send
...
...
@@ -36,7 +36,7 @@ State Nice Utility Comments
- 10 burst
- 10 whom
+ 10 mhpath
* 10 whatnow push,refile,send.
* 10 whatnow push,refile,send
are not supported
.
- 20 sortm
Utilities In Alphabetical Order
...
...
Please
register
or
sign in
to post a comment