Ant: Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-28 Thread gelangweilt_nrw-2004

--- Rick Macdougall [EMAIL PROTECTED] schrieb:


 
 Hi,
 
 Try
 
 stop courier-authlib
 rm -fr /usr/local/etc/authlib
 re-install following the toaster instructions.
 
 All should be well.
 
 I just finished upgrading one server to 4.04 courier
 and all is working.
 
 Rick
 


Thanks for your help, 

but its the same: 

Cannot obtain information for userid 89: No such file
or directory










___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


[toaster] Solved: [toaster] Problems with courier .... pls see below

2005-10-28 Thread gelangweilt_nrw-2004
Removing 

/usr/local/bin/courierauthconfig

solved the problem ... 

Thanks again for your help, Rick :) 






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-28 Thread Alex Dean


Thanks for your help,

but its the same:

Cannot obtain information for userid 89: No such file
or directory


I think user id 89 is usually presumed to be vpopmail.  If you have  
courier using vpopmail as it's authorization scheme, and vpopmail is  
running under a different user id, that might be the problem?  I'm  
not sure what you'd do to resolve the issue, but maybe that would get  
everyone looking in the right direction?


Hopefully,
alex


[toaster] Problems with courier .... pls see below

2005-10-27 Thread gelangweilt_nrw-2004
Hi all, 

when trying to update an old toaster installation to
the new courier versions, i'm getting the following
error when trying to install courier authd:

checking for crypt... yes
checking for crypt() prototype... 0

Cannot obtain information for userid 89: No such file
or directory

Any hints where the problem is and how to solve it? 
Running on a Suse 9.1 installation, dual xeon system. 

Help would be great

tia

Andreas







___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-27 Thread gelangweilt_nrw-2004

--- Rick Macdougall [EMAIL PROTECTED] schrieb:


 
 Hummm,
 
 Kinda rings a bell.  Is there a courierconfig or
 something similar in 
 your path from the old install?  updatedb and locate
 courier.  Something 
 is giving the old info to the new install.
 
 Rick
 
 

Hi Rick, 

thx for the answer. 
Tried this already, there are (beside of the install
files) no courier parts in the system :( 
I think he is getting the uid/gid 89 from
vpopmail/include ... but i don't know, how it comes to
this error. 






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


Re: [toaster] Problems with courier .... pls see below

2005-10-27 Thread Rick Macdougall

Rick Macdougall wrote:

[EMAIL PROTECTED] wrote:

Hi all,
when trying to update an old toaster installation to
the new courier versions, i'm getting the following
error when trying to install courier authd:

checking for crypt... yes
checking for crypt() prototype... 0

Cannot obtain information for userid 89: No such file
or directory

Any hints where the problem is and how to solve it? Running on a Suse 
9.1 installation, dual xeon system.

Help would be great

tia

Andreas


Hummm,

Kinda rings a bell.  Is there a courierconfig or something similar in 
your path from the old install?  updatedb and locate courier.  Something 
is giving the old info to the new install.


Rick




Is this with the 4.x series courier ?

Rick



Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-27 Thread gelangweilt_nrw-2004

--- Rick Macdougall [EMAIL PROTECTED] schrieb:

 [EMAIL PROTECTED] wrote:
  --- Rick Macdougall [EMAIL PROTECTED] schrieb:
  
  Is this with the 4.x series courier ?
 
  Rick
 
 
  
  Yes ... previous install was 3.x, now i tried to
  update to the provided 4.x
 
 Hi,
 
 Yah, there is some sort of authlib or confauth or
 something that it 
 tries to run in the configure process if it exists. 
 I had the same 
 problem once.  I think it was in
 /usr/local/authlib/something something.
 
 Can't help more because I had too many issues with
 the 4.x series and 
 went back to the 3.x series.
 
 Regards,
 
 Rick
 

Tried this - without any luck. 
And as I saw now, incoming mails are not delivered ...

delivery 12: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/

Back to the courier problems: 
Cannot obtain information for userid 89: No such file
or directory

This message comes from authinfo.c

static int getmuid()
{
struct passwd *pw=getpwnam(MAILUSER);

if (pw == NULL)
{
perror(Cannot obtain information for
user  MAILUSER);
exit(1);
}

return (pw-pw_uid);
}


where is the error? in my opinion it can only be the
getpwnam ... but this is all of my coding experience
:( 

Anyway, thanks for your help, Rick







___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-27 Thread Rick Macdougall

[EMAIL PROTECTED] wrote:

--- Rick Macdougall [EMAIL PROTECTED] schrieb:


[EMAIL PROTECTED] wrote:

--- Rick Macdougall [EMAIL PROTECTED] schrieb:


Is this with the 4.x series courier ?

Rick



Yes ... previous install was 3.x, now i tried to
update to the provided 4.x

Hi,

Yah, there is some sort of authlib or confauth or
something that it 
tries to run in the configure process if it exists. 
I had the same 
problem once.  I think it was in

/usr/local/authlib/something something.

Can't help more because I had too many issues with
the 4.x series and 
went back to the 3.x series.


Regards,

Rick



Tried this - without any luck. 
And as I saw now, incoming mails are not delivered ...


delivery 12: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/

Back to the courier problems: 
Cannot obtain information for userid 89: No such file

or directory

This message comes from authinfo.c

static int getmuid()
{
struct passwd *pw=getpwnam(MAILUSER);

if (pw == NULL)
{
perror(Cannot obtain information for
user  MAILUSER);
exit(1);
}

return (pw-pw_uid);
}


where is the error? in my opinion it can only be the
getpwnam ... but this is all of my coding experience
:( 


Anyway, thanks for your help, Rick


Hi,

No, the error is not from authinfo.c, one is userid the other is user.

Gimme a few and I'll download the 4.x series and see where it is 
exactly, I'm pretty sure it comes from the auth deamon, not courier itself.


Rick



Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-27 Thread Rick Macdougall

[EMAIL PROTECTED] wrote:

Hi,

No, the error is not from authinfo.c, one is userid
the other is user.

Gimme a few and I'll download the 4.x series and see
where it is 
exactly, I'm pretty sure it comes from the auth

deamon, not courier itself.

Rick




You are right (there is a line with userid in
authinfo.c, but the error doesnt come from there). 

I think its after line 25606 in the configure script. 
But as i said ... i have no programming experience :) 


It would be great, if you find time to have a look on
this. 

TIA 


Andreas


Hi,

I'm pretty sure it's coming from courierauthconfig, still checking 
though.  That's part of the courier-auth package.


Regards,

Rick



Ant: Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-27 Thread gelangweilt_nrw-2004

--- Rick Macdougall [EMAIL PROTECTED] schrieb:


 
 Hi,
 
 Still installing and no errors yet.  Question, did
 you follow the 
 toaster exactly or did you adlib a bit ?

After i tried to update only selected packages (which
does not work) I tried a fresh install (removed all
packeges, only the data dir is left), following the
rules exactly. 
Both did not work :( 

 
 I think I remember setting --uid 89 or something
 when I got that error 
 before.

I had the authdaemon working, according to ps | aux. 
But it was not responding to queries with the error
no such file. 
So I tried to set the mailuser/group with the
./configure parameters and since this Im getting
this error message. :( 

After one try the authdaemon wasnt starting any longer
... and re-compiling crashes with the mentioned error.


*hmpf* 







___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


Re: Ant: Re: Ant: Re: Ant: Re: Ant: Re: [toaster] Problems with courier .... pls see below

2005-10-27 Thread Rick Macdougall

[EMAIL PROTECTED] wrote:

--- Rick Macdougall [EMAIL PROTECTED] schrieb:



Hi,

Still installing and no errors yet.  Question, did
you follow the 
toaster exactly or did you adlib a bit ?


After i tried to update only selected packages (which
does not work) I tried a fresh install (removed all
packeges, only the data dir is left), following the
rules exactly. 
Both did not work :( 


I think I remember setting --uid 89 or something
when I got that error 
before.


I had the authdaemon working, according to ps | aux. 
But it was not responding to queries with the error
no such file. 
So I tried to set the mailuser/group with the

./configure parameters and since this Im getting
this error message. :( 


After one try the authdaemon wasnt starting any longer
... and re-compiling crashes with the mentioned error.


*hmpf* 


Hi,

Try

stop courier-authlib
rm -fr /usr/local/etc/authlib
re-install following the toaster instructions.

All should be well.

I just finished upgrading one server to 4.04 courier and all is working.

Rick