procmail
[Top] [All Lists]

Re: Help compiling v3.11pre6

1997-04-12 09:39:00
On Sat, 12 Apr 1997 00:04:56 -0700 (PDT), bodysurf(_at_)netcom(_dot_)com 
(Tim) wrote:
 > specifically, I believe I changed the line from:
 >    /*#define SYSTEM_MBOX   "$HOME/.mail"
 > to:
 >    define SYSTEM_MBOX   "$HOME/.mailbox/inbox"

(That should be #define, of course.)

 >    /* This usually allowed you to define SYSTEM_MBOX.  This has changed.
 >    If you want mail delivery to custom mail-spool-files, edit the
 >    authenticate.c file and change the content of:  auth_mailboxname() */
 > Ok, so now I go to "src/authenticate.c" and look for 'auth_mailboxname('
 > and find:
 > 
 >    const char*auth_mailboxname(pass)auth_identity*const pass;

This is the function declaration. The content of that function follows
this line in braces. However, the place you want to modify is the
definition for MAILSPOOLHOME near the beginning of the file [line 44].
(Perhaps the comment which I quote above needs to be changed. If I
have understood this correctly, that is. I also find it somewhat
baffling that this is not in the config file.)

I think that's it.  I made the following modification in the
"src/authenticate.c" file from:


        /*#define MAILSPOOLHOME "/.mail"

to:

        #define MAILSPOOLHOME "/.mailbox/inbox"

and all seems to work well now.  Thanks for the help!

 > which is Greek to me (I don't know C/C++).  

It is rather brave to try to hack the source under those circumstances :-)

I've been hacking stuff I don't understand my whole (computer) life...
:^>

Lates!
---------------------------------------------------------------------------
Tim <bodysurf(_at_)pobox(_dot_)com>                          
mailto:bodysurf(_at_)pobox(_dot_)com
Finger bodysurf(_at_)pobox(_dot_)com for my PGP public key (Bits 1024/KeyID 
09DA5C49).
PGP Key FPrint (09/03/94): 4C 97 F1 FA 70 55 68 91  49 D1 AD F2 DD 63 0C 15
---------------------> Please PGP encrypt your email <---------------------

<Prev in Thread] Current Thread [Next in Thread>