Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-22 Thread German Molano Asociados
Hi there, actually i am in a little hurry trying to do a fresh qmailtoaster 
install on FC7, so i tried this:

Edit /usr/src/redhat/SPECS/spamassassin-toaster.spec
adding this two lines on install dirs:
--line 530--
install -d %{buildroot}/etc/mail
install -d %{buildroot}/etc/mail/spamassassin

then rebuild the rpm with:
rpmbuild -ba --with cnt50 /usr/src/redhat/SPECS/spamassassin-toaster.spec
After the compile, in the rpm building process, it fails:
error: file not found: 
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/v312.pre
error: file not found: 
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/v320.pre

this not build it because there are two missing files, these are not 
included in the src.rpm file and they was used on the rpm building process:
/usr/src/redhat/SPECS/spamassassin-toaster.spec
--line 388--
Source0:%{name}/%{real_name}-%{version}.tar.bz2
Source1:qmailtoaster.local.cf.bz2
Source2:supervise.spamd.run.bz2
Source3:supervise.spamd.log.run.bz2
Source4:qmailtoaster.v310.pre.bz2
Source99:   filter-requires-spamassassin.sh
--line 602--
%config(noreplace) %attr(0644,root,root) 
%{_sysconfdir}/mail/spamassassin/v312.pre
%config(noreplace) %attr(0644,root,root) 
%{_sysconfdir}/mail/spamassassin/v320.pre

To fix this i comment those lines
#%config(noreplace) %attr(0644,root,root) 
%{_sysconfdir}/mail/spamassassin/v312.pre
#%config(noreplace) %attr(0644,root,root) 
%{_sysconfdir}/mail/spamassassin/v320.pre

then again i rebuild it, this time went sucessfully.

I have a few questions to the developers,
This files are really needed to spamassassin to work flawlessly?
The curious thing is that the files are generated on the rpm compile process 
but they landed on their final destiny,
/etc/mail/spamassassin, without installing the generated rpm.
Other question, what does this script filter-requires-spamassassin.sh do ?
I do not see being used in the compile process, nor the rpm bulding.














Just to be clear, this is not a qmailtoaster-plus issue. It's an issue with
the current spamassassin-toaster package and CentOS5.

Marco Cordeiro wrote:
 Ok. As soon you guys have a fix to qmail-plus please let me know.

 In time , I did a complete new install on my production server 3 months 
 ago
 And toaster improve a lot spam detection (I catch now around 98% spams !)

 Congratulations for all that still working on this great project !

 Marco Cordeiro.

 -Original Message-
 From: Eric Shubert [EMAIL PROTECTED]
 Sent: Tuesday, March 04, 2008 3:39 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] qtp-newmodel error installing spamassasin

 You can't create it. It's created by the rpmbuild process, which is
 controlled by the .spec file. I believe that this is something EE will 
 need
 to fix. I'm guessing that a fix for CentOS5 should also fix FC8 (and
 possibly FC7?).

 Marco Cordeiro wrote:
 I don't have that directory , I try to create before run qtp-newmodel
 but qtp procees seems to delete directory  ???

 On Tue, Mar 4, 2008 at 2:42 PM, Jake Vickers [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:

 Eric Shubert wrote:
 install: cannot create regular file

 `/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
 No such file or directory

 This is the crux of the problem. Does

 /mnt/qtp-sandbox/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin
 directory exist?



 I had the exact same problem building on F8 the other day. Haven't
 had a chance to look at a fix yet.


 


RE: [qmailtoaster] Re:[qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-10 Thread Marco Cordeiro
All , this workaround doesn't work for me ... I still get the message below
:

+ install -m 0644 /usr/src/redhat/SOURCES/qmailtoaster.local.cf.bz2
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2
install: cannot create regular file
`/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2': No
such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.75939 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.75939 (%install)

Marco.

-Original Message-
From: Eric Shubert [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 08, 2008 11:25 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Re:[qmailtoaster] qtp-newmodel error installing
spamassasin

Fabio,

There's a cleaner way to pass parameters to the build process:

# echo --nodeps  \
/opt/qmailtoaster-plus/etc/rpmbuild/spamassassin-toaster

before running qtp-newmodel. This way build parameters can be specified for
a particular package, and do not effect other packages detrimentally.

Be sure to redo the sandbox afterwards (or make the same change in the
sandbox).


Fabio A. Olaechea wrote:
 Hi list,
 
 this is a workaround for this problem. My solution is to ignore the
 dependencies of the rpm, because I know that they are installed.
 
 So before to try this check that you have installed:
 
  perl(Archive::Tar) = 1.23
  perl(HTML::Parser) = 3.43
  perl(IO::Zlib) = 1.04
 
 Then
 
 1) run qtp-newmodel
 ...
 ...
 Installing spamassassin-toaster-3.2.4-1.3.13 in the sandbox ...
 qtp-build-rpms - rpm -Uvh failed for spamassassin-toaster-3.2.4-1.3.13
 qtp-build-rpms - see
 /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
 
 Build failed, Exiting.
 
 
 2) umount the sandbox
 
 # qtp-umount-sandbox
 qtp-umount-sandbox v0.2.6
 qtp-umount-sandbox: sandbox umounted successfully
 
 
 3) edit qtp-build-rpms
 # vi +143 /opt/qmailtoaster-plus/bin/qtp-build-rpms
 
 on line 143 change
 rpm -Uvh $updateparm $install_pkgs $logfile 21
 to
 rpm -Uvh --nodeps $updateparm $install_pkgs $logfile 21
 
 save  exit, :x
 
 4) run qtp-newmodel to build and install spamassassin-toaster,
 clamav-toaster.. .
 
 IMO the problem is inside of spamassassin-toaster-3.2.4-1.3.13, not on
 qtp.. . but this worked for me.
 
 bye
 
 Fabio Olaechea

-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Re:[qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-08 Thread Eric Shubert
Fabio,

There's a cleaner way to pass parameters to the build process:

# echo --nodeps  \ /opt/qmailtoaster-plus/etc/rpmbuild/spamassassin-toaster

before running qtp-newmodel. This way build parameters can be specified for
a particular package, and do not effect other packages detrimentally.

Be sure to redo the sandbox afterwards (or make the same change in the sandbox).


Fabio A. Olaechea wrote:
 Hi list,
 
 this is a workaround for this problem. My solution is to ignore the
 dependencies of the rpm, because I know that they are installed.
 
 So before to try this check that you have installed:
 
  perl(Archive::Tar) = 1.23
  perl(HTML::Parser) = 3.43
  perl(IO::Zlib) = 1.04
 
 Then
 
 1) run qtp-newmodel
 ...
 ...
 Installing spamassassin-toaster-3.2.4-1.3.13 in the sandbox ...
 qtp-build-rpms - rpm -Uvh failed for spamassassin-toaster-3.2.4-1.3.13
 qtp-build-rpms - see
 /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
 
 Build failed, Exiting.
 
 
 2) umount the sandbox
 
 # qtp-umount-sandbox
 qtp-umount-sandbox v0.2.6
 qtp-umount-sandbox: sandbox umounted successfully
 
 
 3) edit qtp-build-rpms
 # vi +143 /opt/qmailtoaster-plus/bin/qtp-build-rpms
 
 on line 143 change
 rpm -Uvh $updateparm $install_pkgs $logfile 21
 to
 rpm -Uvh --nodeps $updateparm $install_pkgs $logfile 21
 
 save  exit, :x
 
 4) run qtp-newmodel to build and install spamassassin-toaster,
 clamav-toaster.. .
 
 IMO the problem is inside of spamassassin-toaster-3.2.4-1.3.13, not on
 qtp.. . but this worked for me.
 
 bye
 
 Fabio Olaechea

-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Re:[qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-08 Thread Fabio A. Olaechea

Mmm ok, Yes this is better

in fact I have read about passing parameters to rpmbuild, but forgets  
it yesterday in the night... too much coffee ?? je je


Thanks Erik.

Fabio

Quoting Eric Shubert [EMAIL PROTECTED]:


Fabio,

There's a cleaner way to pass parameters to the build process:

# echo --nodeps  \   
/opt/qmailtoaster-plus/etc/rpmbuild/spamassassin-toaster


before running qtp-newmodel. This way build parameters can be specified for
a particular package, and do not effect other packages detrimentally.

Be sure to redo the sandbox afterwards (or make the same change in   
the sandbox).



Fabio A. Olaechea wrote:

Hi list,

this is a workaround for this problem. My solution is to ignore the
dependencies of the rpm, because I know that they are installed.

So before to try this check that you have installed:

 perl(Archive::Tar) = 1.23
 perl(HTML::Parser) = 3.43
 perl(IO::Zlib) = 1.04

Then

1) run qtp-newmodel
...
...
Installing spamassassin-toaster-3.2.4-1.3.13 in the sandbox ...
qtp-build-rpms - rpm -Uvh failed for spamassassin-toaster-3.2.4-1.3.13
qtp-build-rpms - see
/mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log

Build failed, Exiting.


2) umount the sandbox

# qtp-umount-sandbox
qtp-umount-sandbox v0.2.6
qtp-umount-sandbox: sandbox umounted successfully


3) edit qtp-build-rpms
# vi +143 /opt/qmailtoaster-plus/bin/qtp-build-rpms

on line 143 change
rpm -Uvh $updateparm $install_pkgs $logfile 21
to
rpm -Uvh --nodeps $updateparm $install_pkgs $logfile 21

save  exit, :x

4) run qtp-newmodel to build and install spamassassin-toaster,
clamav-toaster.. .

IMO the problem is inside of spamassassin-toaster-3.2.4-1.3.13, not on
qtp.. . but this worked for me.

bye

Fabio Olaechea


--
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] Re:[qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-07 Thread Fabio A. Olaechea

Hi list,

this is a workaround for this problem. My solution is to ignore the  
dependencies of the rpm, because I know that they are installed.


So before to try this check that you have installed:

 perl(Archive::Tar) = 1.23
 perl(HTML::Parser) = 3.43
 perl(IO::Zlib) = 1.04

Then

1) run qtp-newmodel
...
...
Installing spamassassin-toaster-3.2.4-1.3.13 in the sandbox ...
qtp-build-rpms - rpm -Uvh failed for spamassassin-toaster-3.2.4-1.3.13
qtp-build-rpms - see /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log

Build failed, Exiting.


2) umount the sandbox

# qtp-umount-sandbox
qtp-umount-sandbox v0.2.6
qtp-umount-sandbox: sandbox umounted successfully


3) edit qtp-build-rpms
# vi +143 /opt/qmailtoaster-plus/bin/qtp-build-rpms

on line 143 change
rpm -Uvh $updateparm $install_pkgs $logfile 21
to
rpm -Uvh --nodeps $updateparm $install_pkgs $logfile 21

save  exit, :x

4) run qtp-newmodel to build and install spamassassin-toaster,  
clamav-toaster.. .


IMO the problem is inside of spamassassin-toaster-3.2.4-1.3.13, not on  
qtp.. . but this worked for me.


bye

Fabio Olaechea


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Marco Cordeiro
see my perl packges :


cpan[1] install IO::Zlib

IO::Zlib is up to date (1.09).


cpan[2] install Archive::Tar
Archive::Tar is up to date (1.38).


cpan[3] install Mail::DomainKeys
Mail::DomainKeys is up to date (1.0).



On Tue, Mar 4, 2008 at 1:19 PM, Eric Shubert [EMAIL PROTECTED] wrote:

 Marco Cordeiro wrote:
  all
 
  I'm trying to update my box (centos5) and I get this error when sandbox
  try to install spamassassin :
 
  RPM build errors:
  Bad exit status from /var/tmp/rpm-tmp.40559 (%install)
 
  any idea ?
 
  --
 
  []´s
  Marco Cordeiro

 Yes. ;)

 The rpm build messages are contained in a log file:
 $SANDBOX/usr/src/qtp-upgrade/log/build-recent.log
 (there would have been a message on the screen before the error naming
 this
 file). The end of the file will contain a more specific message.

 My guess is that you need to add/upgrade perl-IO-Zlib and perl-Archive-Tar
 packages (they're required for the latest spamassassin version). You
 should
 also install perl-Mail-DomainKeys although it's not listed in the error
 log.

 FWIW, these packages will be installed automatically by the next version
 of
 qmailtoaster-plus (I just committed the change).

 --
 -Eric 'shubes'

 -
 QmailToaster hosted by: VR Hosted http://www.vr.org
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 

[]´s
Marco Cordeiro


Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Eric Shubert
Well, that WAS just a guess. ;)

Marco Cordeiro wrote:
 see my perl packges :
 
   
  
 cpan[1] install IO::Zlib
 
 IO::Zlib is up to date (1.09).
 
   
   
 cpan[2] install Archive::Tar
 Archive::Tar is up to date (1.38).
 
   
   
 cpan[3] install Mail::DomainKeys
 Mail::DomainKeys is up to date (1.0).
 
 
 
 On Tue, Mar 4, 2008 at 1:19 PM, Eric Shubert [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 Marco Cordeiro wrote:
  all
 
  I'm trying to update my box (centos5) and I get this error when
 sandbox
  try to install spamassassin :
 
  RPM build errors:
  Bad exit status from /var/tmp/rpm-tmp.40559 (%install)
 
  any idea ?
 
  --
 
  []´s
  Marco Cordeiro
 
 Yes. ;)
 
 The rpm build messages are contained in a log file:
 $SANDBOX/usr/src/qtp-upgrade/log/build-recent.log
 (there would have been a message on the screen before the error
 naming this
 file). The end of the file will contain a more specific message.
 
 My guess is that you need to add/upgrade perl-IO-Zlib and
 perl-Archive-Tar
 packages (they're required for the latest spamassassin version). You
 should
 also install perl-Mail-DomainKeys although it's not listed in the
 error log.
 
 FWIW, these packages will be installed automatically by the next
 version of
 qmailtoaster-plus (I just committed the change).
 
 --
 -Eric 'shubes'
 
 -
 QmailToaster hosted by: VR Hosted http://www.vr.org
 -
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 
 
 -- 
 
 []´s
 Marco Cordeiro


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Marco Cordeiro
follow my last 20 lines from qtp-build.recent.log :

tail -20 /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log

+ find
/var/tmp/spamassassin-toaster-root/usr/lib/perl5/vendor_perl/5.8.8/Mail
/var/tmp/spamassassin-toaster-root/usr/lib
/perl5/vendor_perl/5.8.8/spamassassin-run.pod -type d -print
+ sed '[EMAIL PROTECTED]/var/tmp/[EMAIL PROTECTED] @g'
+ rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf
+ rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/init.pre
+ install -d /var/tmp/spamassassin-toaster-root/etc
+ install -d /var/tmp/spamassassin-toaster-root/etc/cron.hourly
+ install -d /var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd
+ install -d
/var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd/log
+ install -d
/var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd/supervise
+ install -d /var/tmp/spamassassin-toaster-root/var/log/qmail
+ install -d /var/tmp/spamassassin-toaster-root/var/log/qmail/spamd
+ rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf
+ rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/v310.pre
+ install -m 0644 /usr/src/redhat/SOURCES/qmailtoaster.local.cf.bz2
/var/tmp/spamassassin-toaster-root/etc/mail/spamassas
sin/local.cf.bz2
install: cannot create regular file
`/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2': No
such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.40559 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.40559 (%install)


On Tue, Mar 4, 2008 at 2:12 PM, Marco Cordeiro [EMAIL PROTECTED] wrote:

 see my perl packges :


 cpan[1] install IO::Zlib

 IO::Zlib is up to date (1.09).


 cpan[2] install Archive::Tar
 Archive::Tar is up to date (1.38).


 cpan[3] install Mail::DomainKeys
 Mail::DomainKeys is up to date (1.0).




 On Tue, Mar 4, 2008 at 1:19 PM, Eric Shubert [EMAIL PROTECTED] wrote:

  Marco Cordeiro wrote:
   all
  
   I'm trying to update my box (centos5) and I get this error when
  sandbox
   try to install spamassassin :
  
   RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.40559 (%install)
  
   any idea ?
  
   --
  
   []´s
   Marco Cordeiro
 
  Yes. ;)
 
  The rpm build messages are contained in a log file:
  $SANDBOX/usr/src/qtp-upgrade/log/build-recent.log
  (there would have been a message on the screen before the error naming
  this
  file). The end of the file will contain a more specific message.
 
  My guess is that you need to add/upgrade perl-IO-Zlib and
  perl-Archive-Tar
  packages (they're required for the latest spamassassin version). You
  should
  also install perl-Mail-DomainKeys although it's not listed in the error
  log.
 
  FWIW, these packages will be installed automatically by the next version
  of
  qmailtoaster-plus (I just committed the change).
 
  --
  -Eric 'shubes'
 
  -
  QmailToaster hosted by: VR Hosted http://www.vr.org
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --

 []´s
 Marco Cordeiro




-- 

[]´s
Marco Cordeiro


Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Eric Shubert
Marco Cordeiro wrote:
 follow my last 20 lines from qtp-build.recent.log :
 
 tail -20 /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
 
 + find
 /var/tmp/spamassassin-toaster-root/usr/lib/perl5/vendor_perl/5.8.8/Mail
 /var/tmp/spamassassin-toaster-root/usr/lib   
 /perl5/vendor_perl/5.8.8/spamassassin-run.pod -type d -print
 + sed '[EMAIL PROTECTED]/var/tmp/[EMAIL PROTECTED] @g'
 + rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf
 + rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/init.pre
 + install -d /var/tmp/spamassassin-toaster-root/etc
 + install -d /var/tmp/spamassassin-toaster-root/etc/cron.hourly
 + install -d /var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd
 + install -d
 /var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd/log
 + install -d
 /var/tmp/spamassassin-toaster-root/var/qmail/supervise/spamd/supervise
 + install -d /var/tmp/spamassassin-toaster-root/var/log/qmail
 + install -d /var/tmp/spamassassin-toaster-root/var/log/qmail/spamd
 + rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf
 + rm -f /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/v310.pre
 + install -m 0644 /usr/src/redhat/SOURCES/qmailtoaster.local.cf.bz2
 /var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2
 install: cannot create regular file
 `/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
 No such file or directory

This is the crux of the problem. Does
/mnt/qtp-sandbox/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin
directory exist?


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Jake Vickers

Eric Shubert wrote:

install: cannot create regular file
`/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
No such file or directory



This is the crux of the problem. Does
/mnt/qtp-sandbox/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin
directory exist?


  


I had the exact same problem building on F8 the other day. Haven't had a 
chance to look at a fix yet.


Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Marco Cordeiro
I don't have that directory , I try to create before run qtp-newmodel but
qtp procees seems to delete directory  ???

On Tue, Mar 4, 2008 at 2:42 PM, Jake Vickers [EMAIL PROTECTED] wrote:

  Eric Shubert wrote:

  install: cannot create regular file
 `/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
 No such file or directory


  This is the crux of the problem. Does
 /mnt/qtp-sandbox/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin
 directory exist?





 I had the exact same problem building on F8 the other day. Haven't had a
 chance to look at a fix yet.




-- 

[]´s
Marco Cordeiro


Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Eric Shubert
You can't create it. It's created by the rpmbuild process, which is
controlled by the .spec file. I believe that this is something EE will need
to fix. I'm guessing that a fix for CentOS5 should also fix FC8 (and
possibly FC7?).

Marco Cordeiro wrote:
 I don't have that directory , I try to create before run qtp-newmodel
 but qtp procees seems to delete directory  ???
 
 On Tue, Mar 4, 2008 at 2:42 PM, Jake Vickers [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 Eric Shubert wrote:
 install: cannot create regular file
 `/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
 No such file or directory
 
 This is the crux of the problem. Does
 /mnt/qtp-sandbox/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin
 directory exist?


   
 
 I had the exact same problem building on F8 the other day. Haven't
 had a chance to look at a fix yet.
 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Marco Cordeiro
Ok. As soon you guys have a fix to qmail-plus please let me know.

In time , I did a complete new install on my production server 3 months ago
And toaster improve a lot spam detection (I catch now around 98% spams !) 

Congratulations for all that still working on this great project !

Marco Cordeiro.

-Original Message-
From: Eric Shubert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 04, 2008 3:39 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] qtp-newmodel error installing spamassasin

You can't create it. It's created by the rpmbuild process, which is
controlled by the .spec file. I believe that this is something EE will need
to fix. I'm guessing that a fix for CentOS5 should also fix FC8 (and
possibly FC7?).

Marco Cordeiro wrote:
 I don't have that directory , I try to create before run qtp-newmodel
 but qtp procees seems to delete directory  ???
 
 On Tue, Mar 4, 2008 at 2:42 PM, Jake Vickers [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 Eric Shubert wrote:
 install: cannot create regular file

`/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
 No such file or directory
 
 This is the crux of the problem. Does

/mnt/qtp-sandbox/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin
 directory exist?


   
 
 I had the exact same problem building on F8 the other day. Haven't
 had a chance to look at a fix yet.
 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] qtp-newmodel error installing spamassasin

2008-03-04 Thread Eric Shubert
Just to be clear, this is not a qmailtoaster-plus issue. It's an issue with
the current spamassassin-toaster package and CentOS5.

Marco Cordeiro wrote:
 Ok. As soon you guys have a fix to qmail-plus please let me know.
 
 In time , I did a complete new install on my production server 3 months ago
 And toaster improve a lot spam detection (I catch now around 98% spams !) 
 
 Congratulations for all that still working on this great project !
 
 Marco Cordeiro.
 
 -Original Message-
 From: Eric Shubert [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 04, 2008 3:39 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] qtp-newmodel error installing spamassasin
 
 You can't create it. It's created by the rpmbuild process, which is
 controlled by the .spec file. I believe that this is something EE will need
 to fix. I'm guessing that a fix for CentOS5 should also fix FC8 (and
 possibly FC7?).
 
 Marco Cordeiro wrote:
 I don't have that directory , I try to create before run qtp-newmodel
 but qtp procees seems to delete directory  ???

 On Tue, Mar 4, 2008 at 2:42 PM, Jake Vickers [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Eric Shubert wrote:
 install: cannot create regular file

 `/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/local.cf.bz2':
 No such file or directory
 
 This is the crux of the problem. Does

 /mnt/qtp-sandbox/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin
 directory exist?


   
 I had the exact same problem building on F8 the other day. Haven't
 had a chance to look at a fix yet.

 
 


-- 
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] QTP newmodel error.

2007-12-08 Thread Lucian Cristian

Espen wrote:

Hi,

I tried to search the list but didn’t find anything(No matches were found for  
line 513).

I have just reinstalled my server centos5 with all updates.
When I try to run qtp-newmodel I get this error 


Issuing command: qtp-newmodel
/usr/sbin/qtp-newmodel: line 513: syntax error near unexpected token `}'
/usr/sbin/qtp-newmodel: line 513: `}'

Anny ideas ?

qtp-whatami v0.2.4
DISTRO=CentOS
OSVER=5
ARCH=i686
BUILD_DIST=cnt50
BUILD_DIR=/usr/src/redhat
This machine's OS is supported, but this version/arch has not been tested.

qmailtoaster-plus   current.noarch.rpm  11/25/2007 10:43


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  

the problem is there is nothing on that line in qtp-newmodel

i'll try to setup a new centos 5 to test it, qtp-newmodel should work if 
you have all dependencies resolved, at this moment it doesn't check for 
needed dependencies


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] QTP newmodel error.

2007-12-08 Thread Lucian Cristian

Espen wrote:

Hi,

I tried to search the list but didn’t find anything(No matches were found for  
line 513).

I have just reinstalled my server centos5 with all updates.
When I try to run qtp-newmodel I get this error 


Issuing command: qtp-newmodel
/usr/sbin/qtp-newmodel: line 513: syntax error near unexpected token `}'
/usr/sbin/qtp-newmodel: line 513: `}'

Anny ideas ?

qtp-whatami v0.2.4
DISTRO=CentOS
OSVER=5
ARCH=i686
BUILD_DIST=cnt50
BUILD_DIR=/usr/src/redhat
This machine's OS is supported, but this version/arch has not been tested.

qmailtoaster-plus   current.noarch.rpm  11/25/2007 10:43


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  
I tested it and it seems you should use this script: 
http://www.qmailtoaster.com/centos/cnt50/cnt50-deps.sh to resolv your 
dependencies

and do not forget to disable selinux too

-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] QTP newmodel error.

2007-12-08 Thread Espen

[EMAIL PROTECTED] qtms-install]# sh cnt50-deps.sh
Loading installonlyn plugin
Setting up Remove Process
No Match for argument: sendmail
No Packages marked for removal
Loading installonlyn plugin
Setting up Install Process
Setting up repositories
extras100% |=| 1.1 kB00:00
updates   100% |=|  951 B00:00
base  100% |=| 1.1 kB00:00
addons100% |=|  951 B00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[EMAIL PROTECTED] qtms-install]#


-Opprinnelig melding-
Fra: Lucian Cristian [mailto:[EMAIL PROTECTED] 
Sendt: 8. desember 2007 23:07
Til: qmailtoaster-list@qmailtoaster.com
Emne: Re: [qmailtoaster] QTP newmodel error.

Espen wrote:
 Hi,

 I tried to search the list but didn’t find anything(No matches were found for 
  line 513).

 I have just reinstalled my server centos5 with all updates.
 When I try to run qtp-newmodel I get this error 

 Issuing command: qtp-newmodel
 /usr/sbin/qtp-newmodel: line 513: syntax error near unexpected token `}'
 /usr/sbin/qtp-newmodel: line 513: `}'

 Anny ideas ?

 qtp-whatami v0.2.4
 DISTRO=CentOS
 OSVER=5
 ARCH=i686
 BUILD_DIST=cnt50
 BUILD_DIR=/usr/src/redhat
 This machine's OS is supported, but this version/arch has not been tested.

 qmailtoaster-plus current.noarch.rpm  11/25/2007 10:43


 -
  QmailToaster hosted by: VR Hosted http://www.vr.org
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

   
I tested it and it seems you should use this script: 
http://www.qmailtoaster.com/centos/cnt50/cnt50-deps.sh to resolv your 
dependencies
and do not forget to disable selinux too

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] QTP newmodel error.

2007-12-08 Thread Lucian Cristian

Espen wrote:

[EMAIL PROTECTED] qtms-install]# sh cnt50-deps.sh
Loading installonlyn plugin
Setting up Remove Process
No Match for argument: sendmail
No Packages marked for removal
Loading installonlyn plugin
Setting up Install Process
Setting up repositories
extras100% |=| 1.1 kB00:00
updates   100% |=|  951 B00:00
base  100% |=| 1.1 kB00:00
addons100% |=|  951 B00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[EMAIL PROTECTED] qtms-install]#


-Opprinnelig melding-
Fra: Lucian Cristian [mailto:[EMAIL PROTECTED] 
Sendt: 8. desember 2007 23:07

Til: qmailtoaster-list@qmailtoaster.com
Emne: Re: [qmailtoaster] QTP newmodel error.

Espen wrote:
  

Hi,

I tried to search the list but didn’t find anything(No matches were found for  
line 513).

I have just reinstalled my server centos5 with all updates.
When I try to run qtp-newmodel I get this error 


Issuing command: qtp-newmodel
/usr/sbin/qtp-newmodel: line 513: syntax error near unexpected token `}'
/usr/sbin/qtp-newmodel: line 513: `}'

Anny ideas ?

qtp-whatami v0.2.4
DISTRO=CentOS
OSVER=5
ARCH=i686
BUILD_DIST=cnt50
BUILD_DIR=/usr/src/redhat
This machine's OS is supported, but this version/arch has not been tested.

qmailtoaster-plus   current.noarch.rpm  11/25/2007 10:43


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  

I tested it and it seems you should use this script: 
http://www.qmailtoaster.com/centos/cnt50/cnt50-deps.sh to resolv your 
dependencies

and do not forget to disable selinux too

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  

it seems that centos 4.5 counted the lines different than centos 5
you have to add a line at 514
like:

a4_5_check_deps(){
# let's check the ...
sleep 1
}


or

a4_5_check_deps(){
# let's check the ...
 echo anything
}

and save the newmodel file

I didn't encountered this error when I tested for qtp-buildsandbox, 
maybe new updates to centos messed something up




RE: [qmailtoaster] QTP newmodel error.

2007-12-08 Thread Espen
That did the trick J.

Manny thanks

 

 

Fra: Lucian Cristian [mailto:[EMAIL PROTECTED] 
Sendt: 8. desember 2007 23:40
Til: qmailtoaster-list@qmailtoaster.com
Emne: Re: [qmailtoaster] QTP newmodel error.

 

Espen wrote: 

[EMAIL PROTECTED] qtms-install]# sh cnt50-deps.sh
Loading installonlyn plugin
Setting up Remove Process
No Match for argument: sendmail
No Packages marked for removal
Loading installonlyn plugin
Setting up Install Process
Setting up repositories
extras100% |=| 1.1 kB00:00
updates   100% |=|  951 B00:00
base  100% |=| 1.1 kB00:00
addons100% |=|  951 B00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[EMAIL PROTECTED] qtms-install]#
 
 
-Opprinnelig melding-
Fra: Lucian Cristian [mailto:[EMAIL PROTECTED] 
Sendt: 8. desember 2007 23:07
Til: qmailtoaster-list@qmailtoaster.com
Emne: Re: [qmailtoaster] QTP newmodel error.
 
Espen wrote:
  

Hi,
 
I tried to search the list but didn’t find anything(No matches were found for  
line 513).
 
I have just reinstalled my server centos5 with all updates.
When I try to run qtp-newmodel I get this error 
 
Issuing command: qtp-newmodel
/usr/sbin/qtp-newmodel: line 513: syntax error near unexpected token `}'
/usr/sbin/qtp-newmodel: line 513: `}'
 
Anny ideas ?
 
qtp-whatami v0.2.4
DISTRO=CentOS
OSVER=5
ARCH=i686
BUILD_DIST=cnt50
BUILD_DIR=/usr/src/redhat
This machine's OS is supported, but this version/arch has not been tested.
 
qmailtoaster-pluscurrent.noarch.rpm 11/25/2007 10:43
 
 
-
 QmailToaster hosted by: VR Hosted  http://www.vr.org http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
  


I tested it and it seems you should use this script: 
http://www.qmailtoaster.com/centos/cnt50/cnt50-deps.sh to resolv your 
dependencies
and do not forget to disable selinux too
 
-
 QmailToaster hosted by: VR Hosted  http://www.vr.org http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
-
 QmailToaster hosted by: VR Hosted  http://www.vr.org http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
  

it seems that centos 4.5 counted the lines different than centos 5
you have to add a line at 514
like:

a4_5_check_deps(){
# let's check the ...
sleep 1
}


or

a4_5_check_deps(){
# let's check the ...
  echo anything
}

and save the newmodel file

I didn't encountered this error when I tested for qtp-buildsandbox, maybe new 
updates to centos messed something up



Re: [qmailtoaster] QTP newmodel error.

2007-12-08 Thread Lucian Cristian

Espen wrote:


That did the trick J.

Manny thanks

 

 


*Fra:* Lucian Cristian [mailto:[EMAIL PROTECTED]
*Sendt:* 8. desember 2007 23:40
*Til:* qmailtoaster-list@qmailtoaster.com
*Emne:* Re: [qmailtoaster] QTP newmodel error.

 


Espen wrote:

[EMAIL PROTECTED] qtms-install]# sh cnt50-deps.sh
Loading installonlyn plugin
Setting up Remove Process
No Match for argument: sendmail
No Packages marked for removal
Loading installonlyn plugin
Setting up Install Process
Setting up repositories
extras100% |=| 1.1 kB00:00
updates   100% |=|  951 B00:00
base  100% |=| 1.1 kB00:00
addons100% |=|  951 B00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do
[EMAIL PROTECTED] qtms-install]#
 
 
-Opprinnelig melding-
Fra: Lucian Cristian [mailto:[EMAIL PROTECTED] 
Sendt: 8. desember 2007 23:07

Til: qmailtoaster-list@qmailtoaster.com 
mailto:qmailtoaster-list@qmailtoaster.com
Emne: Re: [qmailtoaster] QTP newmodel error.
 
Espen wrote:
  


Hi,

 


I tried to search the list but didn’t find anything(No matches were found 
for  line 513).

 


I have just reinstalled my server centos5 with all updates.

When I try to run qtp-newmodel I get this error 

 


Issuing command: qtp-newmodel

/usr/sbin/qtp-newmodel: line 513: syntax error near unexpected token `}'

/usr/sbin/qtp-newmodel: line 513: `}'

 


Anny ideas ?

 


qtp-whatami v0.2.4

DISTRO=CentOS

OSVER=5

ARCH=i686

BUILD_DIST=cnt50

BUILD_DIR=/usr/src/redhat

This machine's OS is supported, but this version/arch has not been tested.

 


qmailtoaster-pluscurrent.noarch.rpm 11/25/2007 10:43

 

 


-

 QmailToaster hosted by: VR Hosted http://www.vr.org

-

To unsubscribe, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED] mailto:[EMAIL 
PROTECTED]

 

  



I tested it and it seems you should use this script: 
http://www.qmailtoaster.com/centos/cnt50/cnt50-deps.sh to resolv your 
dependencies

and do not forget to disable selinux too
 
-

 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
-

 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
  


it seems that centos 4.5 counted the lines different than centos 5
you have to add a line at 514
like:

a4_5_check_deps(){
# let's check the ...
sleep 1
}


or

a4_5_check_deps(){
# let's check the ...
  echo anything
}

and save the newmodel file

I didn't encountered this error when I tested for qtp-buildsandbox, 
maybe new updates to centos messed something up


if you make a new install using qtp-newmodel maybe you will have to 
reinstall clamav, the file permission for logging are not set up 
correctly, I think is a install order issue, haven't spoke to Jake about 
this