Hello all.
See the attachment for patches to include user-specified text in bounce
messages immediately following fetchmail's hard-coded message. They
were applied to fetchmail-5.9.6, but they do apply to 6.2.2 with a few
line offsets.
Command-line option: "--errmsgfile message_or_filename"
Run control file option: "set errmsgfile message_or_filename"
If message_or_filename begins with a slash, it's assumed to be a file,
else it's taken as the literal text (which should be quoted). In either
case, plain, newline-delimited text is expected, and rudimentary logic
changes NL to CRLF on output. If a multi-line message is specified,
add a literal "\r" at the end of each line.
Accessing the file may not meet security concerns, but that shouldn't
be hard to add.
Dave
--
______________________ ______________________
\__________________ \ D. J. HAWKEY JR. / __________________/
\________________/\ hawkeyd(_at_)visi(_dot_)com /\________________/
http://www.visi.com/~hawkeyd/
asdf
Description: patch for user-spec'd text in bounce messages