Re: [vchkpw] vpopmail user/group

2007-10-06 Thread aledr
Yeah! ;D
I'm watching the developers list and saw the thread!

I got It working for now and built an RPM. Seems that works perfectly
too, but I'll wait patiently for the next release.

Best regards!

2007/10/5, Rick Widmer <[EMAIL PROTECTED]>:
>
>
> aledr wrote:
> > So... And If We ask the developers?
>
> Like me?  :)
>
>
> > It'll be very helpful for those intends to create RPMs if We could
> > compile without check user / group...
>
> Version 6 will probably support runtime setting of the uid and gid.  I
> don't believe there is any chance of it in version 5.
>
>
> We are designing version 6 on the [EMAIL PROTECTED]
> list right now.
>
>
> Rick
>
--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"


Re: [vchkpw] vpopmail user/group

2007-10-05 Thread Rick Widmer



aledr wrote:

So... And If We ask the developers?


Like me?  :)



It'll be very helpful for those intends to create RPMs if We could
compile without check user / group...


Version 6 will probably support runtime setting of the uid and gid.  I 
don't believe there is any chance of it in version 5.



We are designing version 6 on the [EMAIL PROTECTED] 
list right now.



Rick


Re: [vchkpw] vpopmail user/group

2007-10-04 Thread aledr
So... And If We ask the developers?
It'll be very helpful for those intends to create RPMs if We could
compile without check user / group...

2007/10/3, Christopher Chan <[EMAIL PROTECTED]>:
> Rick Widmer wrote:
> >
> >
> > Christopher Chan wrote:
> >> Rick Widmer wrote:
> >>>
> >>>
> >>> Christopher Chan wrote:
>  Rick Widmer wrote:
> >
> >
> > Christopher Chan wrote:
> >> Rick Widmer wrote:
> >>>
> >>>
> >>> Christopher Chan wrote:
> 
> >> Have you created the vpopmail user and vchkpw group?  If not
> >> you must.
> >
> > Yes, I will create they when installing the package in my
> > destination
> > host. This is the why I need to get these values into the
> > package when
> > building. The build host isn't my dest host.
> >
> 
>  That is a tough nut to crack. IIRC, vpopmail default uid/gid
>  conflicts with postfix on Redhat distros.
> >>>
> >>> What is the problem?  Just create the group and user with
> >>> different values.  It doesn't matter what the number is, it just
> >>> has to exist when your run ./configure.
> >>
> >> Oh, the vpopmail uid and gid is not hardcoded into the binaries?
> >>
> > The uid and gid are hard coded into the bianaries by ./configure.
> 
>  I cannot then use them on another host where they are different then.
> 
> 
> >>> No.
> >>
> >> Well, that was the whole point of OP's post and why I said it was a
> >> tough nut to crack. The OP wants to build a package that will be used
> >> on other hosts...
> >>
> >
> > Then use the same numbers for the uid and gid values for all qmail and
> > vpopmail users on all systems.
>
> Ah, but what can I do if those systems are not mine? I have been
> planning on make a package for Centos users and to have it included on
> one of the Centos repositories.
>
--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Christopher Chan

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:


Have you created the vpopmail user and vchkpw group?  If not 
you must.


Yes, I will create they when installing the package in my 
destination
host. This is the why I need to get these values into the 
package when

building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid 
conflicts with postfix on Redhat distros.


What is the problem?  Just create the group and user with 
different values.  It doesn't matter what the number is, it just 
has to exist when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


The uid and gid are hard coded into the bianaries by ./configure.


I cannot then use them on another host where they are different then.



No.


Well, that was the whole point of OP's post and why I said it was a 
tough nut to crack. The OP wants to build a package that will be used 
on other hosts...




Then use the same numbers for the uid and gid values for all qmail and 
vpopmail users on all systems.


Ah, but what can I do if those systems are not mine? I have been 
planning on make a package for Centos users and to have it included on 
one of the Centos repositories.


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Christopher Chan

Japheth J.C. Cleaver wrote:

Christopher Chan wrote:

Have you created the vpopmail user and vchkpw group?  If not you must.

Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package when
building. The build host isn't my dest host.


That is a tough nut to crack. IIRC, vpopmail default uid/gid conflicts
with postfix on Redhat distros.



In vpopmail.spec...
"Conflicts: postfix"

:)



I know you are joking but I use postfix with vpopmail. The thing that 
irks me is that Redhat chose to use the vpopmail uid/gid for postfix 
when other distributions like Debian had already used them as standard 
for vpopmail IIRC.


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread James W. Abendschan
On Wed, 3 Oct 2007, Rick Widmer wrote:

> > Oh, the vpopmail uid and gid is not hardcoded into the binaries?
> >
> The uid and gid are hard coded into the bianaries by ./configure.

I've always wondered about this .. why is it done this
way?  Why not resolve the vpopmail login/group name into a UID/GID
at runtime?

James




Re: [vchkpw] vpopmail user/group

2007-10-03 Thread aledr
2007/10/3, Quey <[EMAIL PROTECTED]>:
> aledr wrote:
> > As I said: **I do not have root access** (the build service doesn't
> > allow to build a package as root) what means that I can't add users or
> > groups to the system too...
> >
> > I modified the "configure" and "Makefile" to do not exit if the user /
> > group test fails and included "vpopmail.dir", "vpopmail.uid" and
> > "vpopmail.gid" to the source. It worked, but in the next releases I'll
> > need to do again..
> >
> >
>
>
> How do you intend to start vpopmail?
> port 110 is a privileged port, therefor it needs to have some root
> relation to actually start :)
> ...and if you just want to build it there to move adn run it on  asystme
> you do have root on, then why not do it all there in teh first place.

According to your questions, I'll start in a higher point:
How do I intend to install the RPM???

I will install It on my systems where I'm root. But I'm using a build
service to build the package (build.opensuse.org) where I do not have
root access to build the package. :D

>
> > I appreciate Your help.
> > Regards.
> >
> > 2007/10/3, Rick Widmer <[EMAIL PROTECTED]>:
> >
> >> Christopher Chan wrote:
> >>
> >>> Rick Widmer wrote:
> >>>
>  Christopher Chan wrote:
> 
> > Rick Widmer wrote:
> >
> >> Christopher Chan wrote:
> >>
> >>> Rick Widmer wrote:
> >>>
>  Christopher Chan wrote:
> 
> >>> Have you created the vpopmail user and vchkpw group?  If not
> >>> you must.
> >>>
> >> Yes, I will create they when installing the package in my
> >> destination
> >> host. This is the why I need to get these values into the
> >> package when
> >> building. The build host isn't my dest host.
> >>
> >>
> > That is a tough nut to crack. IIRC, vpopmail default uid/gid
> > conflicts with postfix on Redhat distros.
> >
>  What is the problem?  Just create the group and user with
>  different values.  It doesn't matter what the number is, it just
>  has to exist when your run ./configure.
> 
> >>> Oh, the vpopmail uid and gid is not hardcoded into the binaries?
> >>>
> >>>
> >> The uid and gid are hard coded into the bianaries by ./configure.
> >>
> > I cannot then use them on another host where they are different then.
> >
> >
> >
>  No.
> 
> >>> Well, that was the whole point of OP's post and why I said it was a
> >>> tough nut to crack. The OP wants to build a package that will be used on
> >>> other hosts...
> >>>
> >>>
> >> Then use the same numbers for the uid and gid values for all qmail and
> >> vpopmail users on all systems.
> >> --
> >>
> > [ ]'s
> > Aledr - Alexandre
> > "OpenSource Solutions for SmallBusiness Problems"
> >
> >
>
-- 
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Quey

aledr wrote:

As I said: **I do not have root access** (the build service doesn't
allow to build a package as root) what means that I can't add users or
groups to the system too...

I modified the "configure" and "Makefile" to do not exit if the user /
group test fails and included "vpopmail.dir", "vpopmail.uid" and
"vpopmail.gid" to the source. It worked, but in the next releases I'll
need to do again..

  



How do you intend to start vpopmail?
port 110 is a privileged port, therefor it needs to have some root 
relation to actually start :)
...and if you just want to build it there to move adn run it on  asystme 
you do have root on, then why not do it all there in teh first place.




I appreciate Your help.
Regards.

2007/10/3, Rick Widmer <[EMAIL PROTECTED]>:
  

Christopher Chan wrote:


Rick Widmer wrote:
  

Christopher Chan wrote:


Rick Widmer wrote:
  

Christopher Chan wrote:


Rick Widmer wrote:
  

Christopher Chan wrote:


Have you created the vpopmail user and vchkpw group?  If not
you must.
  

Yes, I will create they when installing the package in my
destination
host. This is the why I need to get these values into the
package when
building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid
conflicts with postfix on Redhat distros.
  

What is the problem?  Just create the group and user with
different values.  It doesn't matter what the number is, it just
has to exist when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?

  

The uid and gid are hard coded into the bianaries by ./configure.


I cannot then use them on another host where they are different then.


  

No.


Well, that was the whole point of OP's post and why I said it was a
tough nut to crack. The OP wants to build a package that will be used on
other hosts...

  

Then use the same numbers for the uid and gid values for all qmail and
vpopmail users on all systems.
--


[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"

  


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Japheth J.C. Cleaver
Christopher Chan wrote:
>>> Have you created the vpopmail user and vchkpw group?  If not you must.
>>
>> Yes, I will create they when installing the package in my destination
>> host. This is the why I need to get these values into the package when
>> building. The build host isn't my dest host.
>>
> 
> That is a tough nut to crack. IIRC, vpopmail default uid/gid conflicts
> with postfix on Redhat distros.


In vpopmail.spec...
"Conflicts: postfix"

:)

-jc


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread aledr
As I said: **I do not have root access** (the build service doesn't
allow to build a package as root) what means that I can't add users or
groups to the system too...

I modified the "configure" and "Makefile" to do not exit if the user /
group test fails and included "vpopmail.dir", "vpopmail.uid" and
"vpopmail.gid" to the source. It worked, but in the next releases I'll
need to do again..

I appreciate Your help.
Regards.

2007/10/3, Rick Widmer <[EMAIL PROTECTED]>:
>
>
> Christopher Chan wrote:
> > Rick Widmer wrote:
> >>
> >>
> >> Christopher Chan wrote:
> >>> Rick Widmer wrote:
> 
> 
>  Christopher Chan wrote:
> > Rick Widmer wrote:
> >>
> >>
> >> Christopher Chan wrote:
> >>>
> > Have you created the vpopmail user and vchkpw group?  If not
> > you must.
> 
>  Yes, I will create they when installing the package in my
>  destination
>  host. This is the why I need to get these values into the
>  package when
>  building. The build host isn't my dest host.
> 
> >>>
> >>> That is a tough nut to crack. IIRC, vpopmail default uid/gid
> >>> conflicts with postfix on Redhat distros.
> >>
> >> What is the problem?  Just create the group and user with
> >> different values.  It doesn't matter what the number is, it just
> >> has to exist when your run ./configure.
> >
> > Oh, the vpopmail uid and gid is not hardcoded into the binaries?
> >
>  The uid and gid are hard coded into the bianaries by ./configure.
> >>>
> >>> I cannot then use them on another host where they are different then.
> >>>
> >>>
> >> No.
> >
> > Well, that was the whole point of OP's post and why I said it was a
> > tough nut to crack. The OP wants to build a package that will be used on
> > other hosts...
> >
>
> Then use the same numbers for the uid and gid values for all qmail and
> vpopmail users on all systems.
> --
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Rick Widmer



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:


Have you created the vpopmail user and vchkpw group?  If not 
you must.


Yes, I will create they when installing the package in my 
destination
host. This is the why I need to get these values into the 
package when

building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid 
conflicts with postfix on Redhat distros.


What is the problem?  Just create the group and user with 
different values.  It doesn't matter what the number is, it just 
has to exist when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


The uid and gid are hard coded into the bianaries by ./configure.


I cannot then use them on another host where they are different then.



No.


Well, that was the whole point of OP's post and why I said it was a 
tough nut to crack. The OP wants to build a package that will be used on 
other hosts...




Then use the same numbers for the uid and gid values for all qmail and 
vpopmail users on all systems.


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Christopher Chan

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:


Have you created the vpopmail user and vchkpw group?  If not you 
must.


Yes, I will create they when installing the package in my 
destination
host. This is the why I need to get these values into the package 
when

building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid 
conflicts with postfix on Redhat distros.


What is the problem?  Just create the group and user with different 
values.  It doesn't matter what the number is, it just has to exist 
when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


The uid and gid are hard coded into the bianaries by ./configure.


I cannot then use them on another host where they are different then.



No.


Well, that was the whole point of OP's post and why I said it was a 
tough nut to crack. The OP wants to build a package that will be used on 
other hosts...


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Rick Widmer



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:


Have you created the vpopmail user and vchkpw group?  If not you 
must.


Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package 
when

building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid 
conflicts with postfix on Redhat distros.


What is the problem?  Just create the group and user with different 
values.  It doesn't matter what the number is, it just has to exist 
when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


The uid and gid are hard coded into the bianaries by ./configure.


I cannot then use them on another host where they are different then.



A better answer would be:  No, not if they are different.


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Rick Widmer



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:


Have you created the vpopmail user and vchkpw group?  If not you 
must.


Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package 
when

building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid 
conflicts with postfix on Redhat distros.


What is the problem?  Just create the group and user with different 
values.  It doesn't matter what the number is, it just has to exist 
when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


The uid and gid are hard coded into the bianaries by ./configure.


I cannot then use them on another host where they are different then.



No.


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Christopher Chan

Rick Widmer wrote:



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:


Have you created the vpopmail user and vchkpw group?  If not you 
must.


Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package when
building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid 
conflicts with postfix on Redhat distros.


What is the problem?  Just create the group and user with different 
values.  It doesn't matter what the number is, it just has to exist 
when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


The uid and gid are hard coded into the bianaries by ./configure.


I cannot then use them on another host where they are different then.


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Rick Widmer



Christopher Chan wrote:

Rick Widmer wrote:



Christopher Chan wrote:



Have you created the vpopmail user and vchkpw group?  If not you must.


Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package when
building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid 
conflicts with postfix on Redhat distros.


What is the problem?  Just create the group and user with different 
values.  It doesn't matter what the number is, it just has to exist 
when your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


The uid and gid are hard coded into the bianaries by ./configure.


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Christopher Chan

Rick Widmer wrote:



Christopher Chan wrote:



Have you created the vpopmail user and vchkpw group?  If not you must.


Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package when
building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid conflicts 
with postfix on Redhat distros.


What is the problem?  Just create the group and user with different 
values.  It doesn't matter what the number is, it just has to exist when 
your run ./configure.


Oh, the vpopmail uid and gid is not hardcoded into the binaries?


Re: [vchkpw] vpopmail user/group

2007-10-03 Thread Rick Widmer



Christopher Chan wrote:



Have you created the vpopmail user and vchkpw group?  If not you must.


Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package when
building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid conflicts 
with postfix on Redhat distros.


What is the problem?  Just create the group and user with different 
values.  It doesn't matter what the number is, it just has to exist when 
your run ./configure.


Re: [vchkpw] vpopmail user/group

2007-10-02 Thread Christopher Chan



Have you created the vpopmail user and vchkpw group?  If not you must.


Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package when
building. The build host isn't my dest host.



That is a tough nut to crack. IIRC, vpopmail default uid/gid conflicts 
with postfix on Redhat distros.


Re: [vchkpw] vpopmail user/group

2007-10-02 Thread aledr
2007/10/2, Rick Widmer <[EMAIL PROTECTED]>:
>
>
> aledr wrote:
> > I do not want to check the vpopmail user and group :)
>
> You don't get any choice in the matter.  The vpopmail uid and vchkpw gid
> are compiled into the program, and must not change between compile and
> run time.  If those uid/gid values change, you must re-compile vpopmail
> to work with the new values.
>
>
> > 2007/10/2, John Simpson <[EMAIL PROTECTED]>:
> >> On 2007-09-30, at 1622, aledr wrote:
> >>> I need to build vpopmail as non-root user and used
> >>> "--enable-non-root-build" but I got this message:
> >>>
> >>> "checking for valid vpopmail user and group... yes
> >>> checking whether password file entry for the vpopmail user exists...
> >>> No vpopmail user found.
> >>> Please add the vchkpw group and
> >>> vpopmail user. Then run configure again
>
> Have you created the vpopmail user and vchkpw group?  If not you must.

Yes, I will create they when installing the package in my destination
host. This is the why I need to get these values into the package when
building. The build host isn't my dest host.

>
> >>> no
> >>> configure: error: Could not compile and run even a trivial ANSI C
> >>> program - check CC."
> >>>
> >>> So, is there a way to do not check the vpopmail user and group at
> >>> build time?
>
> No there is not.  The uid and gid values must be correctly compiled into
> the program, so the user and group must exist when you compile.

So, to do that the package could assume the default value... Clamav
does a trick with option "--disable-clamav".

>
> >> fix the "Could not compile and run even a trivial ANSI C program -
> >> check CC" issue.
> >>
> >> that will probably allow it to compile the test program which looks
> >> for the vpopmail user and vchkpw group.
> >>
> >> 
> >> | John M. Simpson---   KG4ZOW   ---Programmer At Large |
> >> | http://www.jms1.net/ <[EMAIL PROTECTED]> |
> >> 
> >> | http://video.google.com/videoplay?docid=-1656880303867390173 |
> >> 
-- 
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"


Re: [vchkpw] vpopmail user/group

2007-10-02 Thread Rick Widmer



aledr wrote:

I do not want to check the vpopmail user and group :)


You don't get any choice in the matter.  The vpopmail uid and vchkpw gid 
are compiled into the program, and must not change between compile and 
run time.  If those uid/gid values change, you must re-compile vpopmail 
to work with the new values.




2007/10/2, John Simpson <[EMAIL PROTECTED]>:

On 2007-09-30, at 1622, aledr wrote:

I need to build vpopmail as non-root user and used
"--enable-non-root-build" but I got this message:

"checking for valid vpopmail user and group... yes
checking whether password file entry for the vpopmail user exists...
No vpopmail user found.
Please add the vchkpw group and
vpopmail user. Then run configure again


Have you created the vpopmail user and vchkpw group?  If not you must.


no
configure: error: Could not compile and run even a trivial ANSI C
program - check CC."

So, is there a way to do not check the vpopmail user and group at
build time?


No there is not.  The uid and gid values must be correctly compiled into 
the program, so the user and group must exist when you compile.



fix the "Could not compile and run even a trivial ANSI C program -
check CC" issue.

that will probably allow it to compile the test program which looks
for the vpopmail user and vchkpw group.


| John M. Simpson---   KG4ZOW   ---Programmer At Large |
| http://www.jms1.net/ <[EMAIL PROTECTED]> |

| http://video.google.com/videoplay?docid=-1656880303867390173 |







Re: [vchkpw] vpopmail user/group

2007-10-02 Thread aledr
I do not want to check the vpopmail user and group :)

Regards

2007/10/2, John Simpson <[EMAIL PROTECTED]>:
> On 2007-09-30, at 1622, aledr wrote:
> >
> > I need to build vpopmail as non-root user and used
> > "--enable-non-root-build" but I got this message:
> >
> > "checking for valid vpopmail user and group... yes
> > checking whether password file entry for the vpopmail user exists...
> > No vpopmail user found.
> > Please add the vchkpw group and
> > vpopmail user. Then run configure again
> > no
> > configure: error: Could not compile and run even a trivial ANSI C
> > program - check CC."
> >
> > So, is there a way to do not check the vpopmail user and group at
> > build time?
>
> fix the "Could not compile and run even a trivial ANSI C program -
> check CC" issue.
>
> that will probably allow it to compile the test program which looks
> for the vpopmail user and vchkpw group.
>
> 
> | John M. Simpson---   KG4ZOW   ---Programmer At Large |
> | http://www.jms1.net/ <[EMAIL PROTECTED]> |
> 
> | http://video.google.com/videoplay?docid=-1656880303867390173 |
> 
>
>
>
>
-- 
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"


Re: [vchkpw] vpopmail user/group

2007-10-01 Thread John Simpson

On 2007-09-30, at 1622, aledr wrote:


I need to build vpopmail as non-root user and used
"--enable-non-root-build" but I got this message:

"checking for valid vpopmail user and group... yes
checking whether password file entry for the vpopmail user exists...
No vpopmail user found.
Please add the vchkpw group and
vpopmail user. Then run configure again
no
configure: error: Could not compile and run even a trivial ANSI C
program - check CC."

So, is there a way to do not check the vpopmail user and group at  
build time?


fix the "Could not compile and run even a trivial ANSI C program -  
check CC" issue.


that will probably allow it to compile the test program which looks  
for the vpopmail user and vchkpw group.



| John M. Simpson---   KG4ZOW   ---Programmer At Large |
| http://www.jms1.net/ <[EMAIL PROTECTED]> |

| http://video.google.com/videoplay?docid=-1656880303867390173 |





PGP.sig
Description: This is a digitally signed message part


Re: [vchkpw] vpopmail user/group

2007-10-01 Thread Japheth J.C. Cleaver
aledr wrote:
> Good day!
> 
> I need to build vpopmail as non-root user and used
> "--enable-non-root-build" but I got this message:
> 
> "checking for valid vpopmail user and group... yes
> checking whether password file entry for the vpopmail user exists...
> No vpopmail user found.
> Please add the vchkpw group and
> vpopmail user. Then run configure again
> no
> configure: error: Could not compile and run even a trivial ANSI C
> program - check CC."
> 
> So, is there a way to do not check the vpopmail user and group at build time?



In creating the vpopmail RPMs we use internally, I found the only way
was to patch things. The one we're currently using is below... If you're
not using some sort of package management, you should (obviously)
double-check ownership of various files after the normal vpopmail
install process.

http://www.redwire.net/~jccleaver/patches/vpopmail.no-root-needed.5.4.19.patch


Regards,
-jc



[vchkpw] vpopmail user/group

2007-09-30 Thread aledr
Good day!

I need to build vpopmail as non-root user and used
"--enable-non-root-build" but I got this message:

"checking for valid vpopmail user and group... yes
checking whether password file entry for the vpopmail user exists...
No vpopmail user found.
Please add the vchkpw group and
vpopmail user. Then run configure again
no
configure: error: Could not compile and run even a trivial ANSI C
program - check CC."

So, is there a way to do not check the vpopmail user and group at build time?
-- 
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"