[99700] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: Fixing IMAP mail directory and building RPM.

daemon@ATHENA.MIT.EDU (Charles Galpin)
Mon Nov 16 16:43:58 1998

Date: Mon, 16 Nov 1998 16:17:18 -0500
From: Charles Galpin <cgalpin@lighthouse-software.com>
To: Colin Cyr <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Colin

Before doing this, please consult Chuck (the man) Mead <chuck@moongroup.com> 
on this issue. He is convinced this is not necessary, so you would be a 
great person to prove him right or wrong. I don't remember the details why I 
resorted to this, but I'm sure I'd exhausted all configuration options.

Anyway, here is the patch.

In /usr/src/redhat/SOURCES/imap-4.1.FINAL/src/osdep/unix

change
      myHomeDir = cpystr (home);
to
      sprintf (tmp,"%s/mail",home);
      myHomeDir = cpystr (tmp);      /* I prefer home/mail directory */

rebuild and replace the existing imap binary. Not sure how to make a new 
patched RPM yet.

hth
charles

===== Original Message from Colin Cyr <redhat-list@redhat.com> at 11/15/98 
8:37 pm
>I know we'd discussed this once, but I lost the e-mail and the archives have
>proved useless.
>
>I need to change the IMAP mail directory from '/' to something like '/.imap'.
>
>This would appear to be the NAMESPACE defines in env_unix.c
>
>What do I need to alter?
>
>The second is, I installed this source from a SRPM.
>
>I untar'd the gzip to alter the source, from here, what do I need to do to
>make an SRPM and Binart RPM with my small change?
>
>Thank you in advance for the help.

-- Charles Galpin  <cgalpin@lighthouse-software.com>


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post