Gunnar Ritter | 2 Oct 2004 21:54
Picon

nail 11.9 released

Hi,

nail 11.9 has been released and is available from
<http://nail.sourceforge.net> as usual. Changes are:

[11.9] released 10/2/04
* A Bayesian junk mail filter has been added. See the 'EXAMPLES' section of
  the manual page for an introduction.
* Fixed an IMAP response parsing bug which caused nail to hang on messages
  that contained no text with many IMAP servers.
* Empty lines within the command lists for account or macro definitions are
  now ignored.
* An attempt to define a macro twice is now properly detected and results in
  an error message.
* Nail was reported to hang sporadically when sending multipart messages on
  HP-UX. A possible reason for such problems on systems without /dev/urandom
  has been eliminated (Bugreport by Patrick Briggs).
* Fixed a small internal stack buffer overflow that occured regardless of
  input data and lead to segmentation faults on some platforms when the
  header summary was printed, depending on the stack layout.
* Nail now builds without socket (networking) support again.
* Function declarations and definitions have been converted to ANSI C. This
  should cause no problems since the code used ANSI C features anyway before.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
(Continue reading)

Gunnar Ritter | 3 Oct 2004 15:08
Picon

nail 11.10 released

Hi,

nail 11.10 has been released and is available from
<http://nail.sourceforge.net> as usual. Changes are:

[11.10] released 10/3/04
* The creation of quoted-printable encoded MIME data was broken in 11.9.
* Junk mail filter improvement: Do not ignore single-letter words; extract
  hostnames from URLs and store them separately.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Gunnar Ritter | 13 Oct 2004 02:23
Picon

nail 11.11 released

Hi,

nail 11.11 has been released and is available from
<http://nail.sourceforge.net> as usual. Changes are:

[11.11] released 10/13/04
* When sending messages that contain ASCII control characters but neither
  NULs nor non-ASCII characters, the quoted-printable MIME encoding is now
  used instead of 7bit.
* A dangling pointer after a memory reallocation could result in a coredump
  when the junk mail database was updated by a 'good' or a 'junk' command.
* The code for accessing the junk mail database has been made more machine-
  independent. It will not make a difference on most of the platforms on
  which nail runs. If your compiler does insert padding into C structs that
  contain only members of type char, you will have to create the junk mail
  database from scratch again, though.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Bob Tennent | 13 Oct 2004 18:01
Picon
Picon

lost To headers in recorded mail

Hi. Has anyone else noticed that some of the messages saved by nail
using the "record" mechanism are missing "To" headers? This is with To
listed as to be retained and an empty saveretain list.

Bob T.

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Gunnar Ritter | 13 Oct 2004 18:46
Picon

Re: lost To headers in recorded mail

Bob Tennent <rdt@...> wrote:

> Hi. Has anyone else noticed that some of the messages saved by nail
> using the "record" mechanism are missing "To" headers?

This occurs when replying to a message without having the 'fullnames'
variable set. The reason was that the 'n_type' field in the internal
'name' structure was too small for a value added for release 11.5. It
is possible to work around the problem by 'set fullnames'.

The problem is now fixed in the CVS repository. (Note that it takes up
to six hours until the changes appear in the public CVS repository due
to SourceForge limitations.) Instructions on how to get the code from
there are accessible via the nail homepage.

> This is with To listed as to be retained and an empty saveretain list.

The problem occurs regardless of saveignore/saveretain settings.

Thanks for your report.

	Gunnar

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Dan Jacobson | 13 Oct 2004 01:40
Favicon
Gravatar

can't affect Content-Type

Help. In a batch script I am unable to affect Content-Type
etc. headers, even with:
echo {whatever}|
env MAILRC=/dev/null content-type="text/plain; charset=big5" \
content-transfer-encoding=8bit nail -n $USER

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Gunnar Ritter | 15 Oct 2004 15:16
Picon

Re: can't affect Content-Type

Dan Jacobson <jidanni@...> wrote:

> Help. In a batch script I am unable to affect Content-Type
> etc. headers, even with:
> echo {whatever}|
> env MAILRC=/dev/null content-type="text/plain; charset=big5" \
> content-transfer-encoding=8bit nail -n $USER

You cannot set arbitrary header fields using the variable mechanism.
Only use the variables which are documented in the manual page.

For this example, you do not need to set anything except 'charset'
anyway. Otherwise, see the 'MIME types' section in the manual page
and the description of the 'encoding' variable.

	Gunnar

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
Scott Swanson | 15 Oct 2004 18:21

Filtering outgoing attachments

I often have to send out multiple jpeg attachments for my wife's realty
business, and would like to use nail to automate the process.

I figured out to do:

  nail `for f in dir/*.jpeg; do echo -n "-a $f "; done` ...

probably there is a better way.

What I would like is to preprocess the outgoing images. I thought to do

  set pipe-image/jpeg="djpeg -scale 1/2 | cjpeg -quality 60"

but apparently this has no effect on the outgoing attachments.

Is there a way to do this? Forgive if "asked & answered", but I couldn't
see anything in the archives.

Please cc me, as I am (not yet) subscribed to the list.

TIA,

Scott Swanson

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
(Continue reading)

Gunnar Ritter | 15 Oct 2004 18:41
Picon

Re: Filtering outgoing attachments

Scott Swanson <DrMemory@...> wrote:

> What I would like is to preprocess the outgoing images. I thought to do
>
>   set pipe-image/jpeg="djpeg -scale 1/2 | cjpeg -quality 60"
>
> but apparently this has no effect on the outgoing attachments.
>
> Is there a way to do this?

No, not directly. You must convert the images before you invoke nail.

	Gunnar

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
towo | 19 Oct 2004 14:26

proposal: default interpretation of message encoding

Character encoding support seems to be very good, thank you.
However, I think a message without explicit encoding mime tag should 
by default be displayed as iso-8859-1 encoded as this is common 
practice, or at least it should be configurable.
I cannot use the charset variable for this purpose because it 
configures message interpretation and screen assumption at the same 
time which is not what is needed here. I'm running nail in both 
Latin-1 and UTF-8 terminals and charset would spoil that.

Thanks for considering my suggestions and kind regards,
Thomas Wolff

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl

Gmane