Re: [courier-users] makeuserdb error

2005-01-28 Thread Sam Varshavchik
Tom Eicher writes:

> Turns out that makeuserdb was expecting makedatprog in 
> /usr/libexec/courier-authlib, but it lived in 
> /usr/lib/courier/libexec/courier/makedatprog.

When I build the RPMs, I get /usr/libexec/courier-authlib/makedatprog 
packaged just fine.
Hm, I just rechecked - makedatprog is not contained in any of the
courier-authlib packages I built, only in the courier package, which
installs it into the /usr/lib/courier/libexec directory.
Just in case you want to track this, below is what I did (but as I said,
everything works for me now).
-tom
I did the following:
1) built courier-authlib (see command below)
2) installed courier-authlib
3) built courier, courier-imap etc. (which would not build without
courier-authlib-devel installed)
4) upgraded the courier-* packages.
My build command is as follows, I used it for the authlib as well as the
courier packages:
rpmbuild -ta --define 'xflags --without-ipv6 --with-mailuser=courier
--with-mailgroup=courier --without-authldap --without-authmysql
--without-authpgsql --without-authvchkpw --without-authcram
--without-ispell --enable-unicode --enable-hardtimeout=72000
--enable-softtimeout=7200 --disable-autorenamesent' $<
Double-check your version of courier-authlib.
$ rpm -q -l -p courier-authlib-0.53.20050119-1.2.x86_64.rpm | grep makedatprog
/usr/libexec/courier-authlib/makedatprog
Additionally:
The xflags setting is ignored by the courier-authlib package, and the 
courier package no longer uses most of the above options.




pgpVveExlELbv.pgp
Description: PGP signature


Re: [courier-users] makeuserdb error

2005-01-28 Thread Tom Eicher

> Turns out that makeuserdb was expecting makedatprog in 
> /usr/libexec/courier-authlib, but it lived in 
> /usr/lib/courier/libexec/courier/makedatprog.

When I build the RPMs, I get /usr/libexec/courier-authlib/makedatprog 
packaged just fine.
Hm, I just rechecked - makedatprog is not contained in any of the
courier-authlib packages I built, only in the courier package, which
installs it into the /usr/lib/courier/libexec directory.
Just in case you want to track this, below is what I did (but as I said,
everything works for me now).
-tom
I did the following:
1) built courier-authlib (see command below)
2) installed courier-authlib
3) built courier, courier-imap etc. (which would not build without
courier-authlib-devel installed)
4) upgraded the courier-* packages.
My build command is as follows, I used it for the authlib as well as the
courier packages:
rpmbuild -ta --define 'xflags --without-ipv6 --with-mailuser=courier
--with-mailgroup=courier --without-authldap --without-authmysql
--without-authpgsql --without-authvchkpw --without-authcram
--without-ispell --enable-unicode --enable-hardtimeout=72000
--enable-softtimeout=7200 --disable-autorenamesent' $<

---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] makeuserdb error

2005-01-24 Thread Sam Varshavchik
Luca Zancan writes:
 HTML content follows Â
Thank you Sam for your kind reply, but I can't understand what do you mean
with "broken links"...
The "userdb" folder was manually created by me and there are no links in
it...
Should the "courier-authlib" installation create some links in the
"userdb" directory?
No, but a broken soft link would be one explanation for the error message.

Should I suspect some mistake during the installation
of the authlib package?
Obviously something didn't work right.


pgpaVDrUx6dS6.pgp
Description: PGP signature


Re: [courier-users] makeuserdb error

2005-01-24 Thread Luca Zancan
All is OK, now.
I think it was a problem with my "configure" launch.
At the first installation I had used "./configure --with-mailuser=vmail 
--with-mailgroup=vmail".
Now I've reinstalled ("make clean" and "make distclean") the entire 
package (logging as user "vmail"):
this time I've used:
"./configure --with-authuserdb --with-db=db --with-mailuser=vmail 
--with-mailgroup=vmail",
and everything is working well (no more "makeuserdb" errors).

Thank you for your support, anyway.
Luca

---- Original Message 
Subject:[Fwd: Re: [courier-users] makeuserdb error]
Date:   Mon, 24 Jan 2005 08:43:03 +0100
From:   Luca Zancan <[EMAIL PROTECTED]>
Reply-To:   [EMAIL PROTECTED]
Organization:   Logica S.r.l.
To: courier-users@lists.sourceforge.net

Thank you Sam for your kind reply, but I can't understand what do you 
mean with "broken links"...

The "userdb" folder was manually created by me and there are no links in 
it...

Should the "courier-authlib" installation create some links in the 
"userdb" directory? Should I suspect some mistake during the 
installation of the authlib package?

Thank you again.
Regards,
Luca
 Original Message 
Subject:Re: [courier-users] makeuserdb error
Date:   Wed, 19 Jan 2005 18:42:52 -0500
From:   Sam Varshavchik <[EMAIL PROTECTED]>
To: courier-users@lists.sourceforge.net
References: <[EMAIL PROTECTED]>

Luca Zancan
Logica S.r.l.
Via Calatafimi, 1/B
30174 Mestre (VE)
tel. 041961970
fax 041961010
www http://www.logicaonline.com


file:///C|/DOCUME%7E1/LDB44%7E1.ZAN/IMPOST%7E1/TEMP/nsmail.tmp
Description: PGP signature


[Fwd: Re: [courier-users] makeuserdb error]

2005-01-23 Thread Luca Zancan




Thank you Sam for your kind reply, but I can't understand what do you
mean with "broken links"...


The "userdb" folder was manually created by me and there are no links
in it...


Should the "courier-authlib" installation create some links in the
"userdb"
directory? Should I suspect some mistake during the installation of the
authlib package?


Thank you again.


Regards,


Luca


 Original Message ----

  
    
  Subject: 
  Re: [courier-users] makeuserdb error


  Date: 
  Wed, 19 Jan 2005 18:42:52 -0500


  From: 
  Sam Varshavchik <[EMAIL PROTECTED]>


  To: 
  courier-users@lists.sourceforge.net


  References: 
  <[EMAIL PROTECTED]>

  



Luca Zancan writes:

> Hi everybody,
> 
> I'm trying to run "makeuserdb" on a SuSE 9.2 Linux, with 
> "courier-authlib-0.53" and "courier-imap-4.0.1".
> I've untarred and configured "courier-imap" as user "vmail" (not root) 
> and the same user I've used for "courier-authlib" (with this module I've 
> untarred and configured also as root, but the following error remains).
> 
> My commands are:
> 
> userdb-f /usr/local/etc/authlib/userdb/mydomain.it
> [EMAIL PROTECTED]setuid=200gid=200
> home=/home/vmail/domains/mydomain.it/info
> mail=/home/vmail/domains/mydomain.it/info/Maildir
> 
> (where "uid=gid=200" are the uid and gid of the "vmail" account and 
> "Maildir" is a soft link to "/var/spool/virtual/mydomain.it/info" - I'm 
> using Postfix)
> 
> then I've run:
> 
> userdbpw-md5|userdb-f 
> /usr/local/etc/authlib/userdb/mydomain.it[EMAIL PROTECTED]set
> imappw (and it asks me the password twice)
> 
> but when I run
> makeuserdb
> it responds:
> "No such file or directory"
> 
> The permissions on /usr/local/etc/authlib/userdb/ are 700 and the owner 
> is "root.vmail" (but I've tried also "vmail.vmail").
> 
> Where am I wrong?

Check for any broken soft links in the userdb directory.





-- 
Luca Zancan

Logica S.r.l.
Via Calatafimi, 1/B
30174 Mestre (VE)
tel. 041961970
fax 041961010
www http://www.logicaonline.com




file:///C|/DOCUME%7E1/LDB44%7E1.ZAN/IMPOST%7E1/TEMP/nsmail.tmp
Description: PGP signature


Re: [courier-users] makeuserdb error

2005-01-19 Thread Sam Varshavchik
Luca Zancan writes:
Hi everybody,
I'm trying to run "makeuserdb" on a SuSE 9.2 Linux, with 
"courier-authlib-0.53" and "courier-imap-4.0.1".
I've untarred and configured "courier-imap" as user "vmail" (not root) 
and the same user I've used for "courier-authlib" (with this module I've 
untarred and configured also as root, but the following error remains).

My commands are:
userdb-f /usr/local/etc/authlib/userdb/mydomain.it
[EMAIL PROTECTED]setuid=200gid=200
home=/home/vmail/domains/mydomain.it/info
mail=/home/vmail/domains/mydomain.it/info/Maildir

(where "uid=gid=200" are the uid and gid of the "vmail" account and 
"Maildir" is a soft link to "/var/spool/virtual/mydomain.it/info" - I'm 
using Postfix)

then I've run:
userdbpw-md5|userdb-f 
/usr/local/etc/authlib/userdb/mydomain.it[EMAIL PROTECTED]set
imappw (and it asks me the password twice)

but when I run
makeuserdb
it responds:
"No such file or directory"
The permissions on /usr/local/etc/authlib/userdb/ are 700 and the owner 
is "root.vmail" (but I've tried also "vmail.vmail").

Where am I wrong?
Check for any broken soft links in the userdb directory.



pgpF34GUwaC6p.pgp
Description: PGP signature


[courier-users] makeuserdb error

2005-01-19 Thread Luca Zancan
Hi everybody,
I'm trying to run "makeuserdb" on a SuSE 9.2 Linux, with 
"courier-authlib-0.53" and "courier-imap-4.0.1".
I've untarred and configured "courier-imap" as user "vmail" (not root) 
and the same user I've used for "courier-authlib" (with this module I've 
untarred and configured also as root, but the following error remains).

My commands are:
userdb-f /usr/local/etc/authlib/userdb/mydomain.it
[EMAIL PROTECTED]setuid=200gid=200
home=/home/vmail/domains/mydomain.it/info
mail=/home/vmail/domains/mydomain.it/info/Maildir

(where "uid=gid=200" are the uid and gid of the "vmail" account and 
"Maildir" is a soft link to "/var/spool/virtual/mydomain.it/info" - I'm 
using Postfix)

then I've run:
userdbpw-md5|userdb-f 
/usr/local/etc/authlib/userdb/mydomain.it[EMAIL PROTECTED]set
imappw (and it asks me the password twice)

but when I run
makeuserdb
it responds:
"No such file or directory"
The permissions on /usr/local/etc/authlib/userdb/ are 700 and the owner 
is "root.vmail" (but I've tried also "vmail.vmail").

Where am I wrong?
Maybe the "makeuserdb" script searches in another directory and not in 
"/usr/local/etc/authlib/userdb/"? But, from the script, it seems that 
this is the directory (I'm not practical with Perl...).

Thank you very much.
Luca
--
Luca Zancan
Logica S.r.l.
Via Calatafimi, 1/B
30174 Mestre (VE)
tel. 041961970
fax 041961010
www http://www.logicaonline.com



---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users