Re: [qmailtoaster] Question about Maildir/cur

2008-09-29 Thread Charles Ferland
Thank you for your help but I found my problem, it's about my Email client. 
When I tried both old et new server, I changed the pop3 server instead to 
keep the same dns entries by changing local dns.


- Original Message - 
From: Eric Shubert [EMAIL PROTECTED]

To: qmailtoaster-list@qmailtoaster.com
Sent: Thursday, September 25, 2008 8:25 PM
Subject: Re: [qmailtoaster] Question about Maildir/cur



Maybe because the date(s) changed?
Try using the -p flag when you scp the files, or use rsync.
(just a guess)

Charles Ferland wrote:

yes I do the right permission for the email file.

More details below:


I have 1 custom Qmail server in production (Subspace1) and 1 QMT in dev
(SubspaceDev)



I have an email in cur directory into Subspace1. I recreate the same
email adress into SubspaceDev and I scp the file from Subspace1 to
SubspaceDev into the same cur directory and good permission
(vpopmail.vchkpw).  When I reuse the same email client to check email
for SubspaceDev, I should not get new email but I get one (the same I
copied from Subspace1 to SubspaceDev.  I don't know if Qmail keep a
record of each email somewhere else but I'm totally lost.



- Original Message -
*From:* Jake Vickers mailto:[EMAIL PROTECTED]
*To:* qmailtoaster-list@qmailtoaster.com
mailto:qmailtoaster-list@qmailtoaster.com
*Sent:* Thursday, September 25, 2008 6:10 PM
*Subject:* Re: [qmailtoaster] Question about Maildir/cur

Charles Ferland wrote:

Hi there

I want to migrate an old qmail server to Qmail Toaster but I have
a problem with emails into cur folder. When I copy the old emails
to the new server into the same cur directory, when I check the
email client, I redownload the same emails already left into the
server.

If I copy an existing file into cur to a new one, I get a new
email message for my email client.

How can I avoid the detection of the new email when I transfert
cur folders from old server to the new one.



I answered your email to my contact form.
Are you preserving the file attributes when moving them?  I have
done this in the past, and do not remember running into the issue
you are experiencing.




--
-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] Simcan FC8

2008-09-29 Thread dean
I have seen some people have been able to build the toaster on fedora Core
8. I realise it is not a supported distro but none the less it builds
mostly using --with=fdr60.
I have reached a point where the only package left to build is simscan but
I cant seem to get it working.

Has anyone built simscan on fc8? any tips ?

 cat /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
Building simscan-toaster-1.3.1-1.3.6 ...
Installing /usr/src/qtp-upgrade/SRPMS/simscan-toaster-1.3.1-1.3.6.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56134
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf simscan-1.3.1
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/simscan-1.3.1.tar.bz2 + tar
-xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd simscan-1.3.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (simscan-1.3.x-clamav.patch.bz2):'
Patch #0 (simscan-1.3.x-clamav.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ '[' -f /var/tmp/simscan-1.3.1-gcc ']'
+ rm -f /var/tmp/simscan-1.3.1-gcc
+ echo gcc
+ '[' -f /var/tmp/simscan-1.3.1-show_flags ']'
+ cat
+ chmod u+x /var/tmp/simscan-1.3.1-show_flags
+ /var/tmp/simscan-1.3.1-show_flags


 RPM RELEASE: simscan-toaster-1.3.1-1.3.6
 OS TYPE IS : Fedora Core 6 Linux
 BUILD DATE : Sat Apr 14 2007
 CCFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables
 LDFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables


+ '[' -f /var/tmp/simscan-1.3.1-show_flags ']'
+ rm -f /var/tmp/simscan-1.3.1-show_flags
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.69990
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd simscan-1.3.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables'
+ export FFLAGS
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /bin/rm -f ./config.sub
++ basename ./config.sub
+ /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
`/usr/lib/rpm/redhat/config.sub' - `./config.sub'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /bin/rm -f ./config.guess
++ basename ./config.guess
+ /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
`/usr/lib/rpm/redhat/config.guess' - `./config.guess'
+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu
--target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --enable-user=clamav
--enable-attach --enable-ripmime=/usr/bin/ripmime --enable-per-domain
--enable-spam --enable-spam-hits=20 --enable-received
--enable-clamavdb-path=/usr/share/clamav --enable-custom-smtp-reject
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for style of include used by make... GNU
checking for i686-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for strsep... yes
checking for i686-redhat-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none 

Re: [qmailtoaster] Simcan FC8

2008-09-29 Thread Roxanne Sandesara
About eight months ago, I managed to accomplish this. However, it  
required some help and included needing to use a virtual machine of  
FC6 to build and compile the Simscan package, then uploading that to  
the FC8 box and installing it, due to an incompatibility with glibc  
and gcc between FC6 and FC8.


I can't take any credit for this, as it was Jake Vickers who was able  
to tell me what to do. To quote his email of 2009-04-04 07:08:53 AM EDT:


You're building for F8 using FC6 flags, right? F8 uses a new glibc and  
gcc, and specifically they require 3 sets for the open command:


int open(const char *pathname, int flags, mode_t mode);

(mode_t mode is the new set required). There is a compat package out  
there that will allow you to build the older packages like this, but  
I don't remember what it is off the top of my head (something like  
compat-gcc34 or some-such). Google around for it, or set up FC6 in  
VMWare and build it there and move it to your F8 machine. You could  
also root around in the source code and bring it up to date for your  
version of gcc and glibc.
Since development on the 1.3 branch of QMT has been frozen by Erik I  
doubt there'll be a patch written to allow it to build on the newer  
distros. This shouldn't be a problem once the 1.4 branch is released.


This was followed then by:
Roxanne Sandesara wrote:

Jake --

I appreciate your help thus far. I at least know what is wrong, now.

I've tried to follow your advice and find the 'compat' package to  
fix this. Thus far, I haven't yet managed to find it. I'm wondering  
if I am not looking for the right things. Thus far, those I've tried  
have been:


compat-db   i386   4.5.20-3.fc8  
fedora3.1 M
compat-erlang   i386   R10B-11.9.fc8 
updates31 M
compat-expat1   i386   1.95.8-3  
fedora 60 k
compat-flex i386   2.5.4a-3.fc8  
fedora158 k
compat-guichan05-devel  i386   0.5.0-7.fc8   
fedora676 k
compat-guile-16-devel   i386   1.6.7-7.fc8   
fedora184 k
compat-libgcc-296   i386   2.96-139  
fedora 50 k
compat-libosip2-devel   i386   2.2.2-15.fc8  
fedora 51 k
compat-libstdc++-296i386   2.96-139  
fedora 91 k
compat-libstdc++-33 i386   3.2.3-62  
fedora230 k
compat-gcc-34-g77   i386   3.4.6-8   
fedora2.1 M
compat-libf2c-34i386   3.4.6-8   
fedora 53 k


None of these has helped. At this point, in your opinion, would I be  
better off attempting to build the package on an FC6 VM and then  
porting it over? Or do you think the package I need is still out  
there, and I just need to be looking for different search terms?


I worked on a F8 machine for someone 2 weeks ago, and I couldn't  
remember what package I needed for that one either (I set up another  
F8 machine for someone a month or two back where I found the compat  
library - damn me for not making notes!).  I ended up using one  
compiled on FC6 for the F8 machine without any adverse results. That'd  
be the route I went if I were in your shoes.


On Sep 29, 2008, at 03:23 PM, [EMAIL PROTECTED] wrote:

I have seen some people have been able to build the toaster on  
fedora Core

8. I realise it is not a supported distro but none the less it builds
mostly using --with=fdr60.
I have reached a point where the only package left to build is  
simscan but

I cant seem to get it working.

Has anyone built simscan on fc8? any tips ?

cat /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
Building simscan-toaster-1.3.1-1.3.6 ...
Installing /usr/src/qtp-upgrade/SRPMS/simscan- 
toaster-1.3.1-1.3.6.src.rpm

Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56134
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf simscan-1.3.1
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/simscan-1.3.1.tar.bz2 +  
tar

-xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd simscan-1.3.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (simscan-1.3.x-clamav.patch.bz2):'
Patch #0 (simscan-1.3.x-clamav.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ '[' -f /var/tmp/simscan-1.3.1-gcc ']'
+ rm -f /var/tmp/simscan-1.3.1-gcc
+ echo gcc
+ '[' -f /var/tmp/simscan-1.3.1-show_flags ']'
+ cat
+ chmod u+x /var/tmp/simscan-1.3.1-show_flags
+ /var/tmp/simscan-1.3.1-show_flags


RPM RELEASE: simscan-toaster-1.3.1-1.3.6
OS TYPE IS : Fedora Core 6 Linux
BUILD DATE : Sat Apr 14 2007
CCFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic 

[qmailtoaster] blackberry userQ

2008-09-29 Thread Jim Shupert

Friends,

I have a blackberry user who occasionally has a problem -
1st let me say that I ( quite sometime ago ) edited my tcp.smtp file
[ 
:allow,BADMIMETYPE=,SENDER_NOCHECK=1,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan 
]

and this was a remedy for the
5.1.0 - Unknown address error 571-'sorry, sender address has invalid 
format (#5.7.1 - chkuser)' errors


but this is different,

he is in 'mydomain' and if he replies to an email where He is also in 
the reply ( he replies all )
then this reply goes to everyone except him. The reply - from him to him 
bounces back - to him , as undeliverable.


here is an example of the mssg back to him

The following message to '[EMAIL PROTECTED]' was undeliverable.
The reason for the problem:
5.1.2 - Bad destination host DNS Hard Error looking up mydomain.com' (MX):  
NXDomain

this looks to me like the blackberry mail server has the dns error

what do ya'll think?

Thanks




Re: [qmailtoaster] blackberry userQ

2008-09-29 Thread Eric Shubert
Jim Shupert wrote:
 Friends,
 
 I have a blackberry user who occasionally has a problem -
 1st let me say that I ( quite sometime ago ) edited my tcp.smtp file
 [
 :allow,BADMIMETYPE=,SENDER_NOCHECK=1,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan
 ]
 and this was a remedy for the
 5.1.0 - Unknown address error 571-'sorry, sender address has invalid
 format (#5.7.1 - chkuser)' errors
 
 but this is different,
 
 he is in 'mydomain' and if he replies to an email where He is also in
 the reply ( he replies all )
 then this reply goes to everyone except him. The reply - from him to him
 bounces back - to him , as undeliverable.
 
 here is an example of the mssg back to him
 
 The following message to '[EMAIL PROTECTED]' was undeliverable.
 The reason for the problem:
 5.1.2 - Bad destination host DNS Hard Error looking up mydomain.com' (MX):  
 NXDomain
 
 this looks to me like the blackberry mail server has the dns error
 
 what do ya'll think?
 
 Thanks
 
 

Yeah, it looks to me like the BB isn't finding a valid DNS MX record for his
domain.

The MX points to a type A record, right? (It shouldn't point to a CNAME record).

-- 
-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] Simcan FC8

2008-09-29 Thread Lucian Cristian
[EMAIL PROTECTED] wrote:
 I have seen some people have been able to build the toaster on fedora Core
 8. I realise it is not a supported distro but none the less it builds
 mostly using --with=fdr60.
 I have reached a point where the only package left to build is simscan but
 I cant seem to get it working.

 Has anyone built simscan on fc8? any tips ?

  cat /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
 Building simscan-toaster-1.3.1-1.3.6 ...
 Installing /usr/src/qtp-upgrade/SRPMS/simscan-toaster-1.3.1-1.3.6.src.rpm
 Building target platforms: i686
 Building for target i686
 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56134
 + umask 022
 + cd /usr/src/redhat/BUILD
 + LANG=C
 + export LANG
 + unset DISPLAY
 + cd /usr/src/redhat/BUILD
 + rm -rf simscan-1.3.1
 + /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/simscan-1.3.1.tar.bz2 + tar
 -xf -
 + STATUS=0
 + '[' 0 -ne 0 ']'
 + cd simscan-1.3.1
 ++ /usr/bin/id -u
 + '[' 0 = 0 ']'
 + /bin/chown -Rhf root .
 ++ /usr/bin/id -u
 + '[' 0 = 0 ']'
 + /bin/chgrp -Rhf root .
 + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
 + echo 'Patch #0 (simscan-1.3.x-clamav.patch.bz2):'
 Patch #0 (simscan-1.3.x-clamav.patch.bz2):
 + /usr/bin/bzip2 -d
 + patch -p0 -s
 + STATUS=0
 + '[' 0 -ne 0 ']'
 + '[' -f /var/tmp/simscan-1.3.1-gcc ']'
 + rm -f /var/tmp/simscan-1.3.1-gcc
 + echo gcc
 + '[' -f /var/tmp/simscan-1.3.1-show_flags ']'
 + cat
 + chmod u+x /var/tmp/simscan-1.3.1-show_flags
 + /var/tmp/simscan-1.3.1-show_flags


  RPM RELEASE: simscan-toaster-1.3.1-1.3.6
  OS TYPE IS : Fedora Core 6 Linux
  BUILD DATE : Sat Apr 14 2007
  CCFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
 -mtune=generic -fasynchronous-unwind-tables
  LDFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
 -mtune=generic -fasynchronous-unwind-tables


 + '[' -f /var/tmp/simscan-1.3.1-show_flags ']'
 + rm -f /var/tmp/simscan-1.3.1-show_flags
 + exit 0
 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.69990
 + umask 022
 + cd /usr/src/redhat/BUILD
 + cd simscan-1.3.1
 + LANG=C
 + export LANG
 + unset DISPLAY
 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
 -mtune=generic -fasynchronous-unwind-tables'
 + export CFLAGS
 + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
 -mtune=generic -fasynchronous-unwind-tables'
 + export CXXFLAGS
 + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
 -mtune=generic -fasynchronous-unwind-tables'
 + export FFLAGS
 ++ find . -name config.guess -o -name config.sub
 + for i in '$(find . -name config.guess -o -name config.sub)'
 ++ basename ./config.sub
 + '[' -f /usr/lib/rpm/redhat/config.sub ']'
 + /bin/rm -f ./config.sub
 ++ basename ./config.sub
 + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
 `/usr/lib/rpm/redhat/config.sub' - `./config.sub'
 + for i in '$(find . -name config.guess -o -name config.sub)'
 ++ basename ./config.guess
 + '[' -f /usr/lib/rpm/redhat/config.guess ']'
 + /bin/rm -f ./config.guess
 ++ basename ./config.guess
 + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
 `/usr/lib/rpm/redhat/config.guess' - `./config.guess'
 + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu
 --target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr
 --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
 --mandir=/usr/share/man --infodir=/usr/share/info --enable-user=clamav
 --enable-attach --enable-ripmime=/usr/bin/ripmime --enable-per-domain
 --enable-spam --enable-spam-hits=20 --enable-received
 --enable-clamavdb-path=/usr/share/clamav --enable-custom-smtp-reject
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking build system type... i686-redhat-linux-gnu
 checking host system type... i686-redhat-linux-gnu
 checking for style of include used by make... GNU
 checking for i686-redhat-linux-gnu-gcc... no
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking dependency style of gcc... none
 checking for strsep... yes
 checking for i686-redhat-linux-gnu-gcc... gcc
 checking whether we are 

[qmailtoaster] chroot: cannot run command `qtp-build-rpms':

2008-09-29 Thread Harry Zink


Trying to run the newmodel script to update clamav. Getting this:

chroot: cannot run command `qtp-build-rpms': No such file or directory

Build failed, Exiting.


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



Re: [qmailtoaster] Simcan FC8

2008-09-29 Thread Lucian Cristian
tested it and it works, the easy way is to install the simscan srpm
then edit the spec file, search for sleep 5, replace with 100 (or lower
if you are quick ;) )
then go to:  /usr/src/redhat/BUILD/simscan-1.3.1
edit simscanmk.c
at line 133 and line 379 with

if ( (fdout = open(CdbTmpFile, O_CREAT | O_TRUNC | O_WRONLY, 0777))  0) {

save and close..

happy qmailtoasting ;)

Regards,
Lucian



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



Re: [qmailtoaster] chroot: cannot run command `qtp-build-rpms':

2008-09-29 Thread Lucian Cristian
Harry Zink wrote:

 Trying to run the newmodel script to update clamav. Getting this:

 chroot: cannot run command `qtp-build-rpms': No such file or directory

 Build failed, Exiting.


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

for some reason unionfs is not ok, try copied/linked sandbox

Regards,
Lucian

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



Re: [qmailtoaster] chroot: cannot run command `qtp-build-rpms':

2008-09-29 Thread Eric Shubert
Harry Zink wrote:
 
 Trying to run the newmodel script to update clamav. Getting this:
 
 chroot: cannot run command `qtp-build-rpms': No such file or directory
 
 Build failed, Exiting.
 

You're running 64-bit IIRC, right?

Unless you're in a real hurry for this, you might want to wait a couple
days. We hope to have a new QTP ready by the end of the week which should
contain a fix for this.

Like Lucian said too, the linked/copied options should work as well.

-- 
-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] Simcan FC8

2008-09-29 Thread Anil Aliyan
simscanmk.c file might be having some bad code in it. Something similar to 
this http://trac.aircrack-ng.org/ticket/454


may be someone who knows better bout simscanmk.c file codes can rectify the 
problem.


I found this link after doing some googling and guess this might be the 
problem with simscan.


Regards,

Anil Aliyan

- Original Message - 
From: [EMAIL PROTECTED]

To: qmailtoaster-list@qmailtoaster.com
Sent: Tuesday, September 30, 2008 12:53 AM
Subject: [qmailtoaster] Simcan FC8



I have seen some people have been able to build the toaster on fedora Core
8. I realise it is not a supported distro but none the less it builds
mostly using --with=fdr60.
I have reached a point where the only package left to build is simscan but
I cant seem to get it working.

Has anyone built simscan on fc8? any tips ?

cat /mnt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
Building simscan-toaster-1.3.1-1.3.6 ...
Installing /usr/src/qtp-upgrade/SRPMS/simscan-toaster-1.3.1-1.3.6.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56134
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf simscan-1.3.1
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/simscan-1.3.1.tar.bz2 + tar
-xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd simscan-1.3.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (simscan-1.3.x-clamav.patch.bz2):'
Patch #0 (simscan-1.3.x-clamav.patch.bz2):
+ /usr/bin/bzip2 -d
+ patch -p0 -s
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ '[' -f /var/tmp/simscan-1.3.1-gcc ']'
+ rm -f /var/tmp/simscan-1.3.1-gcc
+ echo gcc
+ '[' -f /var/tmp/simscan-1.3.1-show_flags ']'
+ cat
+ chmod u+x /var/tmp/simscan-1.3.1-show_flags
+ /var/tmp/simscan-1.3.1-show_flags


RPM RELEASE: simscan-toaster-1.3.1-1.3.6
OS TYPE IS : Fedora Core 6 Linux
BUILD DATE : Sat Apr 14 2007
CCFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables
LDFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables


+ '[' -f /var/tmp/simscan-1.3.1-show_flags ']'
+ rm -f /var/tmp/simscan-1.3.1-show_flags
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.69990
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd simscan-1.3.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686
-mtune=generic -fasynchronous-unwind-tables'
+ export FFLAGS
++ find . -name config.guess -o -name config.sub
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /bin/rm -f ./config.sub
++ basename ./config.sub
+ /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
`/usr/lib/rpm/redhat/config.sub' - `./config.sub'
+ for i in '$(find . -name config.guess -o -name config.sub)'
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /bin/rm -f ./config.guess
++ basename ./config.guess
+ /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
`/usr/lib/rpm/redhat/config.guess' - `./config.guess'
+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu
--target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --enable-user=clamav
--enable-attach --enable-ripmime=/usr/bin/ripmime --enable-per-domain
--enable-spam --enable-spam-hits=20 --enable-received
--enable-clamavdb-path=/usr/share/clamav --enable-custom-smtp-reject
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking for style of include used by make... GNU
checking for i686-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for