DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th October 2008
jrs665 jrs665 is offline
New User
 
Join Date: Oct 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default Courier IMAP Different MD5 version

Tried to install courier-imap-4.1.1p2 on Open BSD 4.3 which is currently running qmail with Maildir mailboxs.

Fatal error is :

Collision: the following files already exist
/usr/local/bin/maildirmake (different md5)


Do I simply delete /usr/local/bin/maildirmake then retry installation?
Reply With Quote
  #2   (View Single Post)  
Old 29th October 2008
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,645
Thanked 214 Times in 189 Posts
Default

Check the output of
$ pkg_info
It is my guess you had a failure during your first attempted installation, and now have a partial-courier-imap-4.1.1p2 installed.

If so, use
# pkg_delete partial-courier-imap
to remove it.

If you don't have a partial-* package installation, the output of
$ pkg_info -E /usr/local/bin/maildirmake
will tell you which package it belongs to.
Reply With Quote
  #3   (View Single Post)  
Old 30th October 2008
jrs665 jrs665 is offline
New User
 
Join Date: Oct 2008
Posts: 8
Thanked 0 Times in 0 Posts
Default

courier-imap-4.1.1p2 had not been installed as failed with fatal error after the collision of maildirmake which is incidentally a sybbolic link to /usr/local/qmail/bin/maildirmake. Maildirmake is a program that came with qmail which was installed from source. The program is used to create maildir folders specified by procmail rules.

I assume (differnt md5) simply means that the 2 executable files are not identical.
Can the maildirmake from courier cause problems for qmail if I delete old maildirmake and let couier replace it with its version?

Quote:
Originally Posted by jggimi View Post
Check the output of
$ pkg_info
It is my guess you had a failure during your first attempted installation, and now have a partial-courier-imap-4.1.1p2 installed.

If so, use
# pkg_delete partial-courier-imap
to remove it.

If you don't have a partial-* package installation, the output of
$ pkg_info -E /usr/local/bin/maildirmake
will tell you which package it belongs to.

Last edited by jrs665; 30th October 2008 at 12:07 PM.
Reply With Quote
  #4   (View Single Post)  
Old 30th October 2008
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,645
Thanked 214 Times in 189 Posts
Default

Quote:
Originally Posted by jrs665 View Post
Maildirmake is a program that came with qmail which was installed from source.
You are seeing interference in /usr/local between the ports/packages system and manually installed 3rd party software you installed from the wild.
Quote:
I assume (differnt md5) simply means that the 2 executable files are not identical.
Correct.
Quote:
Can the maildirmake from courier cause problems for qmail if I delete old maildirmake and let couier replace it with its version?
The two versions of the same named program may behave identically. Or, they may be entirely different. You can either assume they are different, and manage appropriately, or, you will have to do careful testing. This is something you will have to consider on your own, since installing software from the wild is entirely unsupported.

The best practice for the safe installation of such software is to keep all of it away from any hierarchy used by the ports/package system, such as /usr/local/bin or /usr/local/lib. Installing in /usr/local/qmail as you did meets such best practice, but ... but rather than using a symlink for binaries, it is safer to use a private $PATH when using these applications in order to avoid problems like the one you are seeing now.

There has been at least one port of qmail for OpenBSD -- and the use of qmail has been discussed on the ports@ mailing list. Here's a link to a mailing list archive, with a list of posts that mentions qmail:

http://marc.info/?l=openbsd-ports&w=2&r=1&s=qmail&q=b
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Courier IMAP/POP3 can't auth to mysql db revzalot OpenBSD Packages and Ports 5 6th September 2009 05:44 AM
version of OpenBSD milo974 OpenBSD General 1 6th August 2008 08:24 AM
Recommendation for Imap and POP server Pher FreeBSD Installation and Upgrading 5 20th July 2008 07:43 PM
How I can have two version of zsh mfaridi FreeBSD Ports and Packages 7 15th May 2008 05:56 PM
FAM keeps crashing with courier-imap krreagan FreeBSD General 0 14th May 2008 11:15 PM


All times are GMT. The time now is 05:02 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick