Re: [qmailtoaster] Re: vpopmail field problem

2010-10-19 Thread Digital Instruments

 Should I change vpopmail-toaster.spec file like that:

line 584 /clear passwd = ON --enable-clear-passwd/ TO /clear passwd = 
OFF --disable-clear-passwd/

line 654 /--enable-clear-passwd/ TO /--disable-clear-passwd/

Thanks
Cheers A.






Il 18/10/2010 17.33, Eric Shubert ha scritto:
qtp-newmodel will use whatever's in /usr/src/qtp-upgrade/SRPMS (unless 
you've changed the default location). If it doesn't find the source 
rpm there, it will download it from the web site. Just be sure that 
you use the latest vpopmail-toaster package, and keep the same version 
numbers in your spec file.




Nessun virus nel messaggio in arrivo.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3204 -  Data di rilascio: 
10/18/10 08:34:00




Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3205 -  Data di rilascio: 
10/18/10 20:34:00
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


[qmailtoaster] Re: vpopmail field problem

2010-10-19 Thread Eric Shubert

On 10/19/2010 12:40 AM, Digital Instruments wrote:

  Should I change vpopmail-toaster.spec file like that:

line 584 /clear passwd = ON --enable-clear-passwd/ TO /clear passwd =
OFF --disable-clear-passwd/
line 654 /--enable-clear-passwd/ TO /--disable-clear-passwd/

Thanks
Cheers A.



I'm not familiar with vpopmail's configure commmand off the top of my 
head. A little googling though appears to indicate that

--enable-clear-passwd=n
would be the correct syntax. I don't see disable being used anywhere.
http://www.inter7.com/vpopmail/install.txt
http://www.inter7.com/vpopmail/FAQ.txt

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: vpopmail field problem

2010-10-19 Thread Digital Instruments

 It works with --disable-clear-passwd
everything solved the field has gone. Thanks to everyone helped me. :)


Now I have another question:
How does it work SSL/TLS with qmailtoaster?


Cheers, A.



Il 19/10/2010 16.36, Eric Shubert ha scritto:

On 10/19/2010 12:40 AM, Digital Instruments wrote:

  Should I change vpopmail-toaster.spec file like that:

line 584 /clear passwd = ON --enable-clear-passwd/ TO /clear passwd =
OFF --disable-clear-passwd/
line 654 /--enable-clear-passwd/ TO /--disable-clear-passwd/

Thanks
Cheers A.



I'm not familiar with vpopmail's configure commmand off the top of my 
head. A little googling though appears to indicate that

--enable-clear-passwd=n
would be the correct syntax. I don't see disable being used anywhere.
http://www.inter7.com/vpopmail/install.txt
http://www.inter7.com/vpopmail/FAQ.txt



Nessun virus nel messaggio in arrivo.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3206 -  Data di rilascio: 
10/19/10 08:34:00




Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3206 -  Data di rilascio: 
10/19/10 08:34:00
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Re: [qmailtoaster] Re: vpopmail field problem

2010-10-18 Thread Digital Instruments

 Nice!
So ... I need to recompile vpopmail package with the right option then 
move it somewhere qtp-newmodel needs and finally re-install all those 
packages with it?
Question: Am I gonna lose any configuration? Such as domains, e-mails 
and everything related to?



--
Cheers,
Alberto.



Il 15/10/2010 21.12, Eric Shubert ha scritto:

Right.

Packages which are dependent on vpopmail-toaster are:
qmail-toaster
qmailadmin-toaster
courier-authlib-toaster
courier-imap-toaster
and these should be rebuilt and reinstalled. qtp-newmodel can do this 
easily for you.


Removing clear text passwords has other implications as well. IIRC, 
some authentication methods require this. While I'm no proponent of 
storing passwords in clear text (it wouldn't bother me if the stock 
toaster removed them), I expect that removing them will take some doing.




Nessun virus nel messaggio in arrivo.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3198 -  Data di rilascio: 
10/15/10 08:34:00




Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3203 -  Data di rilascio: 
10/17/10 20:33:00
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Re: [qmailtoaster] Re: vpopmail field problem

2010-10-18 Thread Digital Instruments
 How do I know if was sucessfull? The only think I've got from the 
command was that:


[r...@ser SRPMS]# rpm -Uvh --replacepkgs 
vpopmail-toaster-5.4.17-1.3.7.src.rpm
   1:vpopmail-toaster   ### 
[100%]


It has been replace correctly?




Il 15/10/2010 21.12, Eric Shubert ha scritto:

Right.

Packages which are dependent on vpopmail-toaster are:
qmail-toaster
qmailadmin-toaster
courier-authlib-toaster
courier-imap-toaster
and these should be rebuilt and reinstalled. qtp-newmodel can do this 
easily for you.


Removing clear text passwords has other implications as well. IIRC, 
some authentication methods require this. While I'm no proponent of 
storing passwords in clear text (it wouldn't bother me if the stock 
toaster removed them), I expect that removing them will take some doing.




Nessun virus nel messaggio in arrivo.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3198 -  Data di rilascio: 
10/15/10 08:34:00




Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3203 -  Data di rilascio: 
10/17/10 20:33:00
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


[qmailtoaster] Re: vpopmail field problem

2010-10-18 Thread Eric Shubert

You'll need to:
.) modify the .spec to your needs
.) create the source rpm (.srpm) package from the spec (rpmbuild -bs)
.) put the .srpm package in /usr/src/qtp-upgrade/SRPMS/
.) run qtp-newmodel and select the package for rebuild. qtp-newmodel 
will automatically rebuild whatever's necessary, and install everything.


On 10/18/2010 12:12 AM, Digital Instruments wrote:

  Nice!
So ... I need to recompile vpopmail package with the right option then
move it somewhere qtp-newmodel needs and finally re-install all those
packages with it?
Question: Am I gonna lose any configuration? Such as domains, e-mails
and everything related to?


--
Cheers,
Alberto.



Il 15/10/2010 21.12, Eric Shubert ha scritto:

Right.

Packages which are dependent on vpopmail-toaster are:
qmail-toaster
qmailadmin-toaster
courier-authlib-toaster
courier-imap-toaster
and these should be rebuilt and reinstalled. qtp-newmodel can do this
easily for you.

Removing clear text passwords has other implications as well. IIRC,
some authentication methods require this. While I'm no proponent of
storing passwords in clear text (it wouldn't bother me if the stock
toaster removed them), I expect that removing them will take some doing.



Nessun virus nel messaggio in arrivo.
Controllato da AVG -www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3198 -  Data di rilascio: 
10/15/10 08:34:00






Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3203 -  Data di rilascio: 
10/17/10 20:33:00




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and installations.
   If you need professional help with your setup, contact them today!



--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: vpopmail field problem

2010-10-18 Thread Eric Shubert
It appears to be ok. If you changed the documentation in the spec file 
appropriately, you can run

# rpm -qi vpopmail-toaster
to see which options are in effect. Note, this comes from a separate 
part of the spec file, and you need to modify this to reflect any 
changes you made to the config command in the spec.

--
-Eric 'shubes'

On 10/18/2010 12:29 AM, Digital Instruments wrote:

  How do I know if was sucessfull? The only think I've got from the
command was that:

[r...@ser SRPMS]# rpm -Uvh --replacepkgs
vpopmail-toaster-5.4.17-1.3.7.src.rpm
1:vpopmail-toaster ### [100%]

It has been replace correctly?




Il 15/10/2010 21.12, Eric Shubert ha scritto:

Right.

Packages which are dependent on vpopmail-toaster are:
qmail-toaster
qmailadmin-toaster
courier-authlib-toaster
courier-imap-toaster
and these should be rebuilt and reinstalled. qtp-newmodel can do this
easily for you.

Removing clear text passwords has other implications as well. IIRC,
some authentication methods require this. While I'm no proponent of
storing passwords in clear text (it wouldn't bother me if the stock
toaster removed them), I expect that removing them will take some doing.



Nessun virus nel messaggio in arrivo.
Controllato da AVG -www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3198 -  Data di rilascio: 
10/15/10 08:34:00






Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3203 -  Data di rilascio: 
10/17/10 20:33:00




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and installations.
   If you need professional help with your setup, contact them today!





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: vpopmail field problem

2010-10-18 Thread Digital Instruments

 Oh :O
thanks Eric.

Btw are you sure qtp-newmodel will use my srpm package of vpopmail and 
will not rebuilt his own?


thanks A.

Il 18/10/2010 16.41, Eric Shubert ha scritto:

You'll need to:
.) modify the .spec to your needs
.) create the source rpm (.srpm) package from the spec (rpmbuild -bs)
.) put the .srpm package in /usr/src/qtp-upgrade/SRPMS/
.) run qtp-newmodel and select the package for rebuild. qtp-newmodel 
will automatically rebuild whatever's necessary, and install everything.


On 10/18/2010 12:12 AM, Digital Instruments wrote:

  Nice!
So ... I need to recompile vpopmail package with the right option then
move it somewhere qtp-newmodel needs and finally re-install all those
packages with it?
Question: Am I gonna lose any configuration? Such as domains, e-mails
and everything related to?


--
Cheers,
Alberto.



Il 15/10/2010 21.12, Eric Shubert ha scritto:

Right.

Packages which are dependent on vpopmail-toaster are:
qmail-toaster
qmailadmin-toaster
courier-authlib-toaster
courier-imap-toaster
and these should be rebuilt and reinstalled. qtp-newmodel can do this
easily for you.

Removing clear text passwords has other implications as well. IIRC,
some authentication methods require this. While I'm no proponent of
storing passwords in clear text (it wouldn't bother me if the stock
toaster removed them), I expect that removing them will take some 
doing.




Nessun virus nel messaggio in arrivo.
Controllato da AVG -www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3198 -  Data di 
rilascio: 10/15/10 08:34:00







Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3203 -  Data di 
rilascio: 10/17/10 20:33:00





- 

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and 
installations.
   If you need professional help with your setup, contact them 
today!





Nessun virus nel messaggio in arrivo.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3204 -  Data di rilascio: 
10/18/10 08:34:00




Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3204 -  Data di rilascio: 
10/18/10 08:34:00
-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


[qmailtoaster] Re: vpopmail field problem

2010-10-18 Thread Eric Shubert
qtp-newmodel will use whatever's in /usr/src/qtp-upgrade/SRPMS (unless 
you've changed the default location). If it doesn't find the source rpm 
there, it will download it from the web site. Just be sure that you use 
the latest vpopmail-toaster package, and keep the same version numbers 
in your spec file.

--
-Eric 'shubes'

On 10/18/2010 08:22 AM, Digital Instruments wrote:

  Oh :O
thanks Eric.

Btw are you sure qtp-newmodel will use my srpm package of vpopmail and
will not rebuilt his own?

thanks A.

Il 18/10/2010 16.41, Eric Shubert ha scritto:

You'll need to:
.) modify the .spec to your needs
.) create the source rpm (.srpm) package from the spec (rpmbuild -bs)
.) put the .srpm package in /usr/src/qtp-upgrade/SRPMS/
.) run qtp-newmodel and select the package for rebuild. qtp-newmodel
will automatically rebuild whatever's necessary, and install everything.

On 10/18/2010 12:12 AM, Digital Instruments wrote:

Nice!
So ... I need to recompile vpopmail package with the right option then
move it somewhere qtp-newmodel needs and finally re-install all those
packages with it?
Question: Am I gonna lose any configuration? Such as domains, e-mails
and everything related to?


--
Cheers,
Alberto.



Il 15/10/2010 21.12, Eric Shubert ha scritto:

Right.

Packages which are dependent on vpopmail-toaster are:
qmail-toaster
qmailadmin-toaster
courier-authlib-toaster
courier-imap-toaster
and these should be rebuilt and reinstalled. qtp-newmodel can do this
easily for you.

Removing clear text passwords has other implications as well. IIRC,
some authentication methods require this. While I'm no proponent of
storing passwords in clear text (it wouldn't bother me if the stock
toaster removed them), I expect that removing them will take some
doing.



Nessun virus nel messaggio in arrivo.
Controllato da AVG -www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3198 - Data di
rilascio: 10/15/10 08:34:00






Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3203 - Data di
rilascio: 10/17/10 20:33:00




-

Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!





Nessun virus nel messaggio in arrivo.
Controllato da AVG -www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3204 -  Data di rilascio: 
10/18/10 08:34:00






Nessun virus nel messaggio in uscita.
Controllato da AVG - www.avg.com
Versione: 9.0.862 / Database dei virus: 271.1.1/3204 -  Data di rilascio: 
10/18/10 08:34:00




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and installations.
   If you need professional help with your setup, contact them today!




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: vpopmail field problem

2010-10-15 Thread Eric Shubert

On 10/15/2010 02:56 AM, Digital Instruments wrote:

Greetings list,

I have recompiled vpopmail without the damn pw_clear_passwd. I've used
the standard script cnt5064-install-script.sh and modify it like so:

if [ $PROCEED = y ]; then
rpmbuild --rebuild --with $DISTRO --with disable-clear-passwd $VPOP
rpm -Uvh /usr/src/$BDIR/RPMS/$ARCH/vpopmail-toaster*.rpm
fi



the result seems not good:

Preparing... ### [100%]
package vpopmail-toaster-5.4.17-1.3.7.x86_64 is already installed
file /home/vpopmail/bin/clearopensmtp from install of
vpopmail-toaster-5.4.17-1.3.7.x86_64 conflicts with file from package
vpopmail-toaster-5.4.17-1.3.7.x86_64
(many other lines like that)
1:vpopmail-toaster ### [ 50%]

I've also try another method:

rpm -Uhv vpopmail-toaster*.src.rpm
edited the vpopmail-toaster.spec (usually in /usr/src/redhat/SPECS/),
change line 729 from --enable-clear-passwd to --disable-clear-passwd
with a text editor.
rpmbuild -bs vpopmail-toaster.spec

that time it went to 100%
1:vpopmail-toaster ### [ 100%]

but unfortunately it doesn't work. If i try to drop the pw_clear_passwd
field from the vpopmail database i can't login with any account.
If i try to create a new account ... error (if the field is drop) or it
write the password in clear if the field isn't drop.

Anyone can help me, please?
Thanks!! A.

-


The first method (--with) does not work. The spec file needs to 
recognize these options, which it doesn't.


The second method (editing the .spec file) is correct. After building 
the rpm from source though, you need to install the binary rpm that was 
produced by the rpmbuild run:

# rpm -Uvh --replacepkgs vpopmail-toaster.*.rpm
Be sure you're in the directory where you built the binary rpm when you 
do this.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Re: vpopmail field problem

2010-10-15 Thread Martin Waschbuesch
Several packages depend on vpopmail and recompiling it may require you to 
recompile the other packages, too? E.g. qmailadmin - don't know about 
others. Also, I do not know how vqadmin and qcontrol work. If they use the 
shell commands vpopmail contains then all should be well, but if they access 
the database directly, they might depend on the structure of that database.


Don't know if that helps, but it might be a starting point for debugging.

Martin

- Original Message - 
From: Eric Shubert e...@shubes.net

To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, October 15, 2010 4:48 PM
Subject: [qmailtoaster] Re: vpopmail field problem



On 10/15/2010 02:56 AM, Digital Instruments wrote:

Greetings list,

I have recompiled vpopmail without the damn pw_clear_passwd. I've used
the standard script cnt5064-install-script.sh and modify it like so:

if [ $PROCEED = y ]; then
rpmbuild --rebuild --with $DISTRO --with disable-clear-passwd $VPOP
rpm -Uvh /usr/src/$BDIR/RPMS/$ARCH/vpopmail-toaster*.rpm
fi



the result seems not good:

Preparing... ### [100%]
package vpopmail-toaster-5.4.17-1.3.7.x86_64 is already installed
file /home/vpopmail/bin/clearopensmtp from install of
vpopmail-toaster-5.4.17-1.3.7.x86_64 conflicts with file from package
vpopmail-toaster-5.4.17-1.3.7.x86_64
(many other lines like that)
1:vpopmail-toaster ### [ 50%]

I've also try another method:

rpm -Uhv vpopmail-toaster*.src.rpm
edited the vpopmail-toaster.spec (usually in /usr/src/redhat/SPECS/),
change line 729 from --enable-clear-passwd to --disable-clear-passwd
with a text editor.
rpmbuild -bs vpopmail-toaster.spec

that time it went to 100%
1:vpopmail-toaster ### [ 100%]

but unfortunately it doesn't work. If i try to drop the pw_clear_passwd
field from the vpopmail database i can't login with any account.
If i try to create a new account ... error (if the field is drop) or it
write the password in clear if the field isn't drop.

Anyone can help me, please?
Thanks!! A.

-


The first method (--with) does not work. The spec file needs to recognize 
these options, which it doesn't.


The second method (editing the .spec file) is correct. After building the 
rpm from source though, you need to install the binary rpm that was 
produced by the rpmbuild run:

# rpm -Uvh --replacepkgs vpopmail-toaster.*.rpm
Be sure you're in the directory where you built the binary rpm when you do 
this.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and 
packages.

To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: 
qmailtoaster-list-h...@qmailtoaster.com







-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: vpopmail field problem

2010-10-15 Thread Eric Shubert

Right.

Packages which are dependent on vpopmail-toaster are:
qmail-toaster
qmailadmin-toaster
courier-authlib-toaster
courier-imap-toaster
and these should be rebuilt and reinstalled. qtp-newmodel can do this 
easily for you.


Removing clear text passwords has other implications as well. IIRC, some 
authentication methods require this. While I'm no proponent of storing 
passwords in clear text (it wouldn't bother me if the stock toaster 
removed them), I expect that removing them will take some doing.


--
-Eric 'shubes'

On 10/15/2010 11:20 AM, Martin Waschbuesch wrote:

Several packages depend on vpopmail and recompiling it may require you
to recompile the other packages, too? E.g. qmailadmin - don't know about
others. Also, I do not know how vqadmin and qcontrol work. If they use
the shell commands vpopmail contains then all should be well, but if
they access the database directly, they might depend on the structure of
that database.

Don't know if that helps, but it might be a starting point for debugging.

Martin

- Original Message - From: Eric Shubert e...@shubes.net
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, October 15, 2010 4:48 PM
Subject: [qmailtoaster] Re: vpopmail field problem



On 10/15/2010 02:56 AM, Digital Instruments wrote:

Greetings list,

I have recompiled vpopmail without the damn pw_clear_passwd. I've used
the standard script cnt5064-install-script.sh and modify it like so:

if [ $PROCEED = y ]; then
rpmbuild --rebuild --with $DISTRO --with disable-clear-passwd $VPOP
rpm -Uvh /usr/src/$BDIR/RPMS/$ARCH/vpopmail-toaster*.rpm
fi



the result seems not good:

Preparing... ### [100%]
package vpopmail-toaster-5.4.17-1.3.7.x86_64 is already installed
file /home/vpopmail/bin/clearopensmtp from install of
vpopmail-toaster-5.4.17-1.3.7.x86_64 conflicts with file from package
vpopmail-toaster-5.4.17-1.3.7.x86_64
(many other lines like that)
1:vpopmail-toaster ### [ 50%]

I've also try another method:

rpm -Uhv vpopmail-toaster*.src.rpm
edited the vpopmail-toaster.spec (usually in /usr/src/redhat/SPECS/),
change line 729 from --enable-clear-passwd to --disable-clear-passwd
with a text editor.
rpmbuild -bs vpopmail-toaster.spec

that time it went to 100%
1:vpopmail-toaster ### [ 100%]

but unfortunately it doesn't work. If i try to drop the pw_clear_passwd
field from the vpopmail database i can't login with any account.
If i try to create a new account ... error (if the field is drop) or it
write the password in clear if the field isn't drop.

Anyone can help me, please?
Thanks!! A.

-



The first method (--with) does not work. The spec file needs to
recognize these options, which it doesn't.

The second method (editing the .spec file) is correct. After building
the rpm from source though, you need to install the binary rpm that
was produced by the rpmbuild run:
# rpm -Uvh --replacepkgs vpopmail-toaster.*.rpm
Be sure you're in the directory where you built the binary rpm when
you do this.

--
-Eric 'shubes'


-

Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
-

Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com






-

Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com