Pine 4.44 Privacy Patch

Pine 4.44 Privacy Patch

Post by Roger Marqui » Sun, 09 Jun 2002 10:46:13



Problem description:

    The Pine email client allows users to define the "From:"
    address independent of their Unix username.  This is an
    indispensable feature for help desks and other role accounts.

    Unfortunately, user names and/or ids can still be leaked due to
    Pine's insertion of "Sender:" and/or "X-Sender:" headers.  Pine
    versions earlier than 4.44 may also insert the Unix username
    into other envelope and header fields.

Solution:

    Applying the following patch to pine 4.4 will cause
    {X-}Sender:  headers to be omitted.  Users may also need to
    define a remote "smtp-server" to prevent certain local MTAs
    from inserting this information.  Other details on changing
    Pine's "From:" line are detailed in the FAQ at:

        http://www.washington.edu/pine/faq/config.html#9.5

    To apply this patch, download the source code from:

        ftp://ftp.cac.washington.edu/pine/

    Unpack (tar xzvf ...) and cd into the source directory, apply
    the patch (patch < patch_file_name) and recompile per the
    documentation.

Disclaimers:

    This patch has been tested under Solaris and FreeBSD operating
    systems using the gcc compiler, however, no warranty is made
    regarding its accuracy or reliability.  Use it at your own
    risk.

    Pine and Pico are registered trademarks of the University of
    Washington. No commercial use of these trademarks may be made
    without prior written permission of the University of
    Washington.  Pine, Pico, and Pilot software and its included
    text are Copyright 1989-2002 by the University of Washington.

--
Roger Marquis
Roble Systems Consulting
http://www.roble.com/

--------------------------------------------------------------------
--- pine/send.c.orig    Tue Jan  8 12:59:37 2002

        outgoing->return_path = rfc822_cpy_adr(outgoing->from);

+
        /*
         * Don't ever believe the sender that is there.
         * If From doesn't look quite right, generate our own sender.
         */
+       /**** fix u-washington anti-privacy loophole
        if(outgoing->sender)
          mail_free_address(&outgoing->sender);
+       /****

        /*

         *
         * Don't add a personal_name since the user can change that.
         */
+       /**** fix u-washington anti-privacy loophole
        if(!outgoing->from
           || !outgoing->from->mailbox

            outgoing->sender->mailbox = cpystr(ps_global->VAR_USER_ID);
            outgoing->sender->host    = cpystr(ps_global->hostname);
        }
+       /****

         /*----- Message is edited, now decide what to do with it ----*/
        if(editor_result & (COMP_SUSPEND | COMP_GOTHUP | COMP_CANCEL)){
--------------------------------------------------------------------

 
 
 

Pine 4.44 Privacy Patch

Post by Sami Sihvone » Tue, 11 Jun 2002 20:10:02




> This patch has been tested under Solaris and FreeBSD operating
> systems using the gcc compiler, however, no warranty is made
> regarding its accuracy or reliability.  Use it at your own
> risk.

Btw, it works out-of-the-box with GNU/Linux Debian Potato too.

 
 
 

1. New Solaris Packages: xplanet & pine 4.44

I posted new pages for Solaris SPARC and Intel for:

1. xplanet - the planet on your Xroot background (or image file).
        Includes optional clouds or cities.  Better than xearth.

2. pine 4.44 - the latest favorite screen-oriented mailer.

They are at
        http://sun.drydog.com/packages.php

Enjoy!

--

2. Beginner AMD question

3. libc 4.44

4. Always loading the ZIP parport modules

5. System-fault with lib5.4.44

6. HOME (sh)

7. Make and libc-5.4.44

8. Help on Error "Connection interrupted" (CERN httpd 3.0)

9. System-Fault with libc5.4.44

10. Help: Libc5.4.44 and NYS/NIS

11. Upgrading to egcs-1.0.3/gcc-5.4.44

12. patching pine 3.95 with aix patch ...

13. Pine 3.95 and pine.conf/pine.conf.fixed