Subject: pkg/24238: SqWebMail install missing files
To: None <gnats-bugs@gnats.netbsd.org>
From: None <diro@bw113.antioch-college.edu>
List: netbsd-bugs
Date: 01/25/2004 16:43:58
>Number:         24238
>Category:       pkg
>Synopsis:       SqWebMail install missing files
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 25 21:45:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1
>Organization:
>Environment:
System: NetBSD nixsys 1.6.1 NetBSD 1.6.1 (NIXSYS) #7: Mon Dec 8 20:12:26 EST 2003 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:
	In the default install of SqWebMail 3.3.1, some files apparently are missing, most notably: makemime, mimegpg, and reformime. Also worth noting, when signing and/or encrypting messages with GPG, SqWebMail expects mimegpg to be in /usr/pkg/bin and the install script apparently installs it in /usr/pkg/libexec/courier/sqwebmail. These files are build during make, just installed in the wrong places or not at all. It seems the manpages or anything else relating to these files (libs, etc) are build as well, but not installed.

Below is correspondance with the author:

# BOF

From mrsam@courier-mta.com Mon Jan 12 19:53:34 2004
Date: Mon, 12 Jan 2004 18:32:36 -0500
From: Sam Varshavchik <mrsam@courier-mta.com>
To: "othyro@freeshell.org" <othyro@freeshell.org>
Subject: Re: Some SqWebMail problems

othyro@freeshell.org writes:

>
> First, I'd like to thank you for making such a great webmail program. I'd
> considered using Squirrelmail, but found SqWebMail to be more efficient.
> I've run into a couple problems that you may be able to help with, if you
> have time.
>
> 1) We're getting this error when uploading attachments:
>
> /usr/pkg/bin/makemime: failed to MIME-encode the attachment. Contact the
> system administrator.
>
> 2) We're getting this error when signing and/or encrypting a message with
> GPG 1.2.4. I realize that SqWebMail is said to work only with versions
> 1.0.4-1.0.6.
>
> mimegpg: No such file or directory
>
> If there's any other relevant information you need, please let me know. If
> you'd like an account on my NetBSD/alpha server to do some development for
> SqWebMail, please let me know as well.
>
> Thanks, Sam, for making such great software.

Both errors are due to the same root cause: your sqwebmail installation is
corrupt, and is missing at least two necessary programs: makemime and
mimegpg.

I see that one of the error messages refers to â^À^Ü/usr/pkg/bin/makemimeâ^À^Ý.

There's nothing in the default sqwebmail configuration that gets installed
in /usr/pkg/bin.  The makemime program, for example, gets installed as
/usr/local/share/sqwebmail/libexec/sqwebmail/makemime.

You must've either used a parameter to the configure script that specifies
non-default installation directories for these support programs, or you've
used someone else's pre-built packages.

If you are using someone else's pre-built packages, report this error to
them.  Otherwise, if you've installed sqwebmail yourself, simply rerun 'make
install' to install the missing files, after investigating what happened to
them in the first place.


    [ Part 2, Application/PGP-SIGNATURE  196bytes. ]
    [ Unable to print this part. ]

# EOF

>How-To-Repeat:
        Build SqWebMail from pkgsrc.
>Fix:
	I'm guessing the install script, but not sure the exact parameters to change.

>Release-Note:
>Audit-Trail:
>Unformatted: