10 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Problems building...
FromSent OnAttachments
EndaJan 28, 2006 10:44 am 
EndaJan 28, 2006 12:11 pm 
Sam VarshavchikJan 28, 2006 1:53 pm 
EndaJan 28, 2006 3:23 pm 
Egbert JanJan 28, 2006 3:37 pm 
Sam VarshavchikJan 28, 2006 5:51 pm 
EndaJan 29, 2006 8:56 am 
Sam VarshavchikJan 29, 2006 9:17 am 
EndaJan 29, 2006 10:55 am 
Bowie BaileyJan 30, 2006 9:20 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Problems building courier.Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Jan 28, 2006 1:53:42 pm
List:net.sourceforge.lists.courier-users

Enda writes:

OK.... have done some more digging with reference to the "courierfilter.c:378: error: syntax error before ',' token" build error.....

and then I change the paramters I pass into ./configure to enda@courier:~/courier-0.52.2> ./configure --with-mailuser=1001 --with-mailgroup=1000 --with-paranoid-smtpext --enable-unicode --enable-https=login --with-calendarpurge=90 --with-trashquota

And I get the same error.

I've done a make clean and tried a make without passing in values for UID / GID, and I get the exact same error.

I feel I'm going around in circles reading the FAQ and the installation instructions, but clearly I'm not configuring the UID / GID in the right place. Can anybody quickly tell me where I'm going wrong? or wherelse I'm supposed to be priming MAILUID & MAILGID ?

The --with-mailuser=1001 and --with-mailgroup=1000 configuration parameters get added to sourcedir/courier/uidgid which looks like:

mailuser=1001 mailgroup=1000

These values in turn, are used to configure the values for #defines in sourcedir/courier/uidgid.h which now looks like this:

#define MAILUSER "1001" #define MAILGROUP "1000" #define MAILUID #define MAILGID

So my values for for mailuser and mailgroup are being used, and are being added to the header file to prime the code. However, the MAILUD and MAILGID values are unassigned in the #define and causing the build error. If I had any idea what they did represent, I would manually define them....

Since these two values clearly do not represent the mailuser and mailgroup parameters, does anybody know what they do represent??

You do not need to know what they represent.

The --with-mailuser and --with-mailgroup options are not documented anywhere in INSTALL, and you are not to use them directly. They are for internal use only.

Follow the instructions in courier-authlib's and courier's INSTALL files, and these options will be set correctly for you.