Re: [qmailtoaster] How to convert from mysql alias to qmail alias?

2008-03-31 Thread PakOgah

P.V.Anthony wrote:


.) should probably check to be sure that $1 is a valid domain and 
echo an

nice message if it's not


I do not know how to do this.

Currently it is reading the current directory name then use that as 
the domain name. Any thoughts on this? Is that a good idea or is it 
better to type the domain name.


hint:
in every domain folder there is a file named .qmailadmin-limits
if that file is not exist than the folder is not a valid folder for domain



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



[qmailtoaster] migrate to standard qmail

2008-03-31 Thread lospippolo

Hello to all and excuse for my english .-)

I've inherited an hold (custom) qmail installation: a debian woody, 1/2 
gb ram, 4 mail domains, about 600 mailbox.


The hard disk have some bad sectors and i decide to migrate all 
domains/account/mailboxes on toast-qmail, a vmware virtual machine, 
centos 5, 1 gb ram (or more if necessary)


I have made some tests and all it seems to work, but have you some tips, 
suggestion for the job ?


Tkns


--



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



[qmailtoaster] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Marco Cordeiro
All , 

Any news about a timeline to update spamassassin-toaster-3.2.4, that fix
issue on centos 5.1 ???

Regards

Marco Cordeiro.



Re: [qmailtoaster] How to convert from mysql alias to qmail alias?

2008-03-31 Thread Eric Shubert
PakOgah wrote:
 P.V.Anthony wrote:

 .) should probably check to be sure that $1 is a valid domain and
 echo an
 nice message if it's not

 I do not know how to do this.

 Currently it is reading the current directory name then use that as
 the domain name. Any thoughts on this? Is that a good idea or is it
 better to type the domain name.
 
 hint:
 in every domain folder there is a file named .qmailadmin-limits
 if that file is not exist than the folder is not a valid folder for domain
 

I don't have that file in my domain folders. :(

-- 
-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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Erik A. Espinoza
What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.

 I see no bugs reported on the bug tracker regarding this.

EE

On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:



 All ,



 Any news about a timeline to update spamassassin-toaster-3.2.4, that fix
 issue on centos 5.1 ???



 Regards

 Marco Cordeiro.



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



Re: [qmailtoaster] How to convert from mysql alias to qmail alias?

2008-03-31 Thread Eric Shubert
Very good so far. More comments below.
P.V.Anthony wrote:
 
 .) should probably check to be sure that $1 is a valid domain and echo an
 nice message if it's not
 
 I do not know how to do this.
 
 Currently it is reading the current directory name then use that as the
 domain name. Any thoughts on this? Is that a good idea or is it better
 to type the domain name.
 

It'd be best to have it accept the domain name as a parameter ($1). There
are various ways to check its validity. I think I'd check that the directory
/home/vpopmail/domains/$1 exists, and the domain name is contained in the
/var/qmail/control/virtualdomains file (grep ^$1 ...).

You'll also need to modify other code to use absolute pathnames when
referencing files. Relative paths can be useful at times, but absolute paths
would be best in this situation. Setting up a variable or two with path
names is generally a good idea.

 .) if 3 fields (or 4 to be safe) are read from the aliasFile in stead of
 just one, then the resulting destination address wouldn't need to be
 'cut'
 out of $addr
 
 Really do not know how to do this.

Have a look at the /opt/qmailtoaster-plus/bin/mansfor script, in the
c545_... function. You'll see an example. It loops through the output of the
whatis command, reading multiple fields from each line. You won't need the
temporary file either using this technique. ;)

 Have added some commands to change the owner,group and permissions of
 the dotqmail files.

That's excellent.

 
 Below is the corrected code.
 
 -- valias2dotqmail 
 !/bin/bash
 #
 # script to convert alias stored in database back to .qmail-alias
 #
 # Example.
 # copy the script into the /home/vpopmail/domains/domain.com
 # then: run valias2dotqmail
 #
 
 
 # file name for the email alias data.
 aliasFile=email_alias.data
 
 # owners of the files
 owner=vpopmail
 
 # group of the files
 group=vchkpw
 
 # get the domain name from the current directory name
 domainName=$(basename $(pwd))
 
 # get all the aliases.
 ~vpopmail/bin/valias -s $domainName  $aliasFile
 
 #do the convert now
 while read addr
 do
 fileName=$(echo $addr | cut -d @ -f 1)
 echo $addr | cut -d   -f 3  .qmail-$fileName

 # change the owner and group for the dotqmail file
 chown $owner:$group .qmail-$fileName

 # change permission of the dotqmail file
 chmod 600 .qmail-$fileName

 done  $aliasFile
 
 # remove the data as we do not need it anymore
 rm $aliasFile
 --- end ---
 
 P.V.Anthony
 


-- 
-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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Helmut Fritz
Erik,
Maybe it is in reference to the newmodel script for upgrading?  I am waiting
on that to be completed (no rush, I appreciate any time put in), unless it
is and I missed it...  Thx.

Helmut 

-Original Message-
From: Erik A. Espinoza [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2008 9:07 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.

 I see no bugs reported on the bug tracker regarding this.

EE

On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:



 All ,



 Any news about a timeline to update spamassassin-toaster-3.2.4, that 
 fix issue on centos 5.1 ???



 Regards

 Marco Cordeiro.



-
 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] Qtp-config

2008-03-31 Thread Roxanne Sandesara
According to the Wiki, QTP-config can be used to set certain  
parameters for use with the build of every package on the system.  
However, I cannot quite seem to figure out how to do so. qtp-config -- 
help only shows the option -s, which does not seem to do anything.  
qtp-config itself just outputs what the current values are.


I ask because, as previously mentioned on-list, I have build a mail  
server for myself using qmt that is running on an FC8 installation.  
Everything is running fine. But an update would likely run into the  
same problems I initially ran into when attempting to install this,  
since the packages themselves are not built with SPEC files that  
indicate what to do with an FC8, and would error out to trying to run  
some other distribution. I'd like to set the distribution in the  
RPMBUILD_OPTIONS for qtp-config to fdr60 so that I can avoid those  
problems.


How should these variables be set?

Roxanne

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



Re: [qmailtoaster] Outlook 2003 hangs

2008-03-31 Thread Eric Shubert
Jake Vickers wrote:
 Eric Shubert wrote:


 Very informative thread. Thanks to all for their input.

 I recently discovered that Outlook has a timeout parameter, which can kick
 in when sending large emails through a busy or low-powered server. When this
 happens, the message is sent, but Outlook times out during the clamav scan,
 so it doesn't realize it's been sent, and sends again and again, resulting
 in the recipient receiving multiple copies until the sender eventually
 removes it from Outlook's outbox. This doesn't sound like your client's
 problem, but it'd be worth a check.

 On a tangent to this, I've read many things about how Outlook doesn't do too
 well as an IMAP client either. However, a customer had a strong need (desire
 is more like it) to use IMAP with Outlook. Before switching to IMAP from
 pop3, I installed dovecot on their toaster. I'm pleased to say that, while
 there are a few things that Outlook does in peculiar ways with IMAP, I
 haven't had any problems that haven't been able to be solved with a few
 changes to Outlook's configuration. Overall, Outlook and dovecot seem to
 play rather nicely together. Note, that dovecot has a configuration
 parameter called imap_client_workarounds, which allows dovecot to
 circumvent various client bugs in imap implementation, including one in
 Outlook that never aborts the IDLE command.
   
 
 Some very good ideas and hints in there. I'm leaning toward a script to
 run nightly to restart his Outlook to be honest.
 How did dovecot go?  I've been considering benching it here, but to be
 honest I don't want to have to do a lot of work arounds to get Outlook
 working. I've got 100+ clients on one server all using Outlook and it
 would be a nightmare to try and wrestle that alligator.  Some of them
 even change laptops every other month when a new model comes out, so it
 would be a demonstration in pain for this one.
 What were some of the other issues?

Overall, dovecot went very nicely. I had to build the rpm myself to get
v1.0.10 though.

It can be configured for Courier transparency, so it can be drop-in
replacement of courier-imap-toaster and courier-authlib-toaster. I don't
like having all user-defined folders under the INBOX folder (namespace)
though, so I chose to go with the standard configuration, which allows me to
create folders along side of the inbox (and sent, etc.).

Note that I'm only using the IMAP portion. Dovecot also includes pop3 and
deliver (LDA) modules (which would replace qmail-pop3d-toaster and
maildrop-toaster), as well as a sieve plugin which implements the standard
(RFC 3028 et al) sieve filtering language.

The issues I had with Outlook were related to changing Outlook's access from
pop3 to IMAP. Outlook does some quirky things with IMAP accounts:

.) deleted items are simply marked as deleted instead of moved to a trash
folder. This confused users. Turning on a filter to not show these items
helped with this.

.) Outlook doesn't download a message until it's opened, which means that
filters and junk processing isn't done until then either. This causes the
appearance of junk mail to 'disappear' (or become deleted when it's moved)
when it's opened. Once the users understood what was happening they became a
little more comfortable with it, but it's still a bit disturbing.

.) Outlook doesn't have an easy way to specify which sent folder to save to.
If you want to save to the IMAP sent folder, you need to disable the save to
sent feature, and write your own rule to save to the imap sent folder.

.) Users need manually purge deleted items periodically. Just a different
way of emptying the trash, but it is different.

If your Outlook users are already using IMAP, I imagine that they've already
adjusted to these things. I would expect that a courier-imap to dovecot-imap
change would be totally transparent, but I don't know that for sure. I'd
certainly want to test it out before committing a server with 100+ clients. ;)

-- 
-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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Marco Cordeiro
Correct Helmut, the issue it's in reference to the newmodel script.

Marco.

-Original Message-
From: Helmut Fritz [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2008 1:47 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

Erik,
Maybe it is in reference to the newmodel script for upgrading?  I am waiting
on that to be completed (no rush, I appreciate any time put in), unless it
is and I missed it...  Thx.

Helmut 

-Original Message-
From: Erik A. Espinoza [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2008 9:07 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.

 I see no bugs reported on the bug tracker regarding this.

EE

On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:



 All ,



 Any news about a timeline to update spamassassin-toaster-3.2.4, that 
 fix issue on centos 5.1 ???



 Regards

 Marco Cordeiro.



-
 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 hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Erik A. Espinoza
Ok, thanks. For a minute there I thought something was broken.

EE

On Mon, Mar 31, 2008 at 10:48 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:
 Correct Helmut, the issue it's in reference to the newmodel script.

  Marco.


  -Original Message-
  From: Helmut Fritz [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 31, 2008 1:47 PM
  To: qmailtoaster-list@qmailtoaster.com


 Subject: RE: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

  Erik,
  Maybe it is in reference to the newmodel script for upgrading?  I am waiting
  on that to be completed (no rush, I appreciate any time put in), unless it
  is and I missed it...  Thx.

  Helmut

  -Original Message-
  From: Erik A. Espinoza [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 31, 2008 9:07 AM
  To: qmailtoaster-list@qmailtoaster.com
  Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

  What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.

   I see no bugs reported on the bug tracker regarding this.

  EE

  On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:
  
  
  
   All ,
  
  
  
   Any news about a timeline to update spamassassin-toaster-3.2.4, that
   fix issue on centos 5.1 ???
  
  
  
   Regards
  
   Marco Cordeiro.
  
  

  -
  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 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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Eric Shubert
That is *not* my understanding.

The error is detailed here:
http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg17657.html

This is an error in the spec/package, which appears to exist only in most
recent versions of COS5 and FC.

I don't have any servers on those platforms, so I can't be of much more help.

Marco Cordeiro wrote:
 Correct Helmut, the issue it's in reference to the newmodel script.
 
 Marco.
 
 -Original Message-
 From: Helmut Fritz [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 31, 2008 1:47 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: RE: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4
 
 Erik,
 Maybe it is in reference to the newmodel script for upgrading?  I am waiting
 on that to be completed (no rush, I appreciate any time put in), unless it
 is and I missed it...  Thx.
 
 Helmut 
 
 -Original Message-
 From: Erik A. Espinoza [mailto:[EMAIL PROTECTED] 
 Sent: Monday, March 31, 2008 9:07 AM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4
 
 What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.
 
  I see no bugs reported on the bug tracker regarding this.
 
 EE
 
 On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:


 All ,



 Any news about a timeline to update spamassassin-toaster-3.2.4, that 
 fix issue on centos 5.1 ???



 Regards

 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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Erik A. Espinoza
I am using CentOS 5.1 and have not had any issues with this.

Perhaps it is because I use rpmforge perl packages instead of cpan for
module installation.

EE

On Mon, Mar 31, 2008 at 11:06 AM, Eric Shubert [EMAIL PROTECTED] wrote:
 That is *not* my understanding.

  The error is detailed here:
  http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg17657.html

  This is an error in the spec/package, which appears to exist only in most
  recent versions of COS5 and FC.

  I don't have any servers on those platforms, so I can't be of much more help.



  Marco Cordeiro wrote:
   Correct Helmut, the issue it's in reference to the newmodel script.
  
   Marco.
  
   -Original Message-
   From: Helmut Fritz [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 31, 2008 1:47 PM
   To: qmailtoaster-list@qmailtoaster.com
   Subject: RE: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4
  
   Erik,
   Maybe it is in reference to the newmodel script for upgrading?  I am 
 waiting
   on that to be completed (no rush, I appreciate any time put in), unless it
   is and I missed it...  Thx.
  
   Helmut
  
   -Original Message-
   From: Erik A. Espinoza [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 31, 2008 9:07 AM
   To: qmailtoaster-list@qmailtoaster.com
   Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4
  
   What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.
  
I see no bugs reported on the bug tracker regarding this.
  
   EE
  
   On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:
  
  
   All ,
  
  
  
   Any news about a timeline to update spamassassin-toaster-3.2.4, that
   fix issue on centos 5.1 ???
  
  
  
   Regards
  
   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]



-
 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-config

2008-03-31 Thread Eric Shubert
Roxanne Sandesara wrote:
 According to the Wiki, QTP-config can be used to set certain parameters
 for use with the build of every package on the system. However, I cannot
 quite seem to figure out how to do so. qtp-config --help only shows the
 option -s, which does not seem to do anything. qtp-config itself just
 outputs what the current values are.
 
 I ask because, as previously mentioned on-list, I have build a mail
 server for myself using qmt that is running on an FC8 installation.
 Everything is running fine. But an update would likely run into the same
 problems I initially ran into when attempting to install this, since the
 packages themselves are not built with SPEC files that indicate what to
 do with an FC8, and would error out to trying to run some other
 distribution. I'd like to set the distribution in the RPMBUILD_OPTIONS
 for qtp-config to fdr60 so that I can avoid those problems.
 
 How should these variables be set?
 
 Roxanne
 

rpmbuild options can be set as described here
http://wiki.qmailtoaster.com/index.php/Upgrading#rpmbuild, but that's for
adding additional options, not for changing ones that are set by the script.
I'm not sure what would happen if you were to specify a (conflicting)
parameter there.

You're looking to override the --with= parameter that's set by the
qtp-whatami script. The best way I can think of to do that would be to fake
out the qtp-whatami script into thinking that your OS is ok:

# echo Fedora Core release 6 /etc/fedora-faked-release

Then edit the qtp-whatami script, at or near line #115, change
  release_info=`cat /etc/fedora-release 2/dev/null`
to
  release_info=`cat /etc/fedora-faked-release 2/dev/null`

You can then run qtp-whatami from the CLI, and it should report fdr60.

-- 
-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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Eric Shubert
I don't think it's perl related.

+ install -m 0644
/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.40559 (%install)

rpm is having trouble installing the local.cf file. Either
/usr/src/redhat/SOURCES/qmailtoaster.local.cf.bz2 or
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/ doesn't exist. My
guess would be the former. Why is it a .bz2 file? Is that new?

Erik A. Espinoza wrote:
 I am using CentOS 5.1 and have not had any issues with this.
 
 Perhaps it is because I use rpmforge perl packages instead of cpan for
 module installation.
 
 EE
 
 On Mon, Mar 31, 2008 at 11:06 AM, Eric Shubert [EMAIL PROTECTED] wrote:
 That is *not* my understanding.

  The error is detailed here:
  http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg17657.html

  This is an error in the spec/package, which appears to exist only in most
  recent versions of COS5 and FC.

  I don't have any servers on those platforms, so I can't be of much more 
 help.



  Marco Cordeiro wrote:
   Correct Helmut, the issue it's in reference to the newmodel script.
  
   Marco.
  
   -Original Message-
   From: Helmut Fritz [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 31, 2008 1:47 PM
   To: qmailtoaster-list@qmailtoaster.com
   Subject: RE: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4
  
   Erik,
   Maybe it is in reference to the newmodel script for upgrading?  I am 
 waiting
   on that to be completed (no rush, I appreciate any time put in), unless it
   is and I missed it...  Thx.
  
   Helmut
  
   -Original Message-
   From: Erik A. Espinoza [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 31, 2008 9:07 AM
   To: qmailtoaster-list@qmailtoaster.com
   Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4
  
   What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.
  
I see no bugs reported on the bug tracker regarding this.
  
   EE
  
   On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro [EMAIL PROTECTED] wrote:
  
  
   All ,
  
  
  
   Any news about a timeline to update spamassassin-toaster-3.2.4, that
   fix issue on centos 5.1 ???
  
  
  
   Regards
  
   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-config

2008-03-31 Thread Roxanne Sandesara
Thank you, Eric. I appreciate that bit of guidance, as that is not  
something I'd have thought to try.


On Mar 31, 2008, at 2:20 PM, Eric Shubert wrote:

Roxanne Sandesara wrote:
According to the Wiki, QTP-config can be used to set certain  
parameters
for use with the build of every package on the system. However, I  
cannot
quite seem to figure out how to do so. qtp-config --help only  
shows the

option -s, which does not seem to do anything. qtp-config itself just
outputs what the current values are.

I ask because, as previously mentioned on-list, I have build a mail
server for myself using qmt that is running on an FC8 installation.
Everything is running fine. But an update would likely run into  
the same
problems I initially ran into when attempting to install this,  
since the
packages themselves are not built with SPEC files that indicate  
what to

do with an FC8, and would error out to trying to run some other
distribution. I'd like to set the distribution in the  
RPMBUILD_OPTIONS

for qtp-config to fdr60 so that I can avoid those problems.

How should these variables be set?

Roxanne



rpmbuild options can be set as described here
http://wiki.qmailtoaster.com/index.php/Upgrading#rpmbuild, but  
that's for
adding additional options, not for changing ones that are set by  
the script.

I'm not sure what would happen if you were to specify a (conflicting)
parameter there.

You're looking to override the --with= parameter that's set by the
qtp-whatami script. The best way I can think of to do that would be  
to fake

out the qtp-whatami script into thinking that your OS is ok:

# echo Fedora Core release 6 /etc/fedora-faked-release

Then edit the qtp-whatami script, at or near line #115, change
  release_info=`cat /etc/fedora-release 2/dev/null`
to
  release_info=`cat /etc/fedora-faked-release 2/dev/null`

You can then run qtp-whatami from the CLI, and it should report fdr60.

--
-Eric 'shubes'

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: qmailtoaster-list- 
[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] Install utilities from QTP

2008-03-31 Thread Eric Shubert
Sergio Minini {NETKEY} wrote:
 Hey there,
 I want use some features of the QTP package, mainly the loggin utilities
 ( watchall and cwatchall,  qmlog, etc.) in a non-QT installation.
 I have them in another box and I like 'em.
  
 How can I install/use those things? I couldnt find the scripts or some
 tips in the wiki.
  
 Thanks for your help.
  

I suppose you could just install them. They're not architecture dependent
(nothing is compiled). I don't believe they'd conflict with anything either.
You might need to tailor them a bit for whatever environment they're in though.

If your system isn't RPM based, you could simply copy them from the
/opt/qmailtoaster-plus/bin directory. They're largely self contained, but
you might need an etc/ file here or there.

-- 
-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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Helmut Fritz
Eric E.,
Here is the issue with spamassasin toaster...  I do think  something is
broken **somewhere**.  :(

All my required Perl modules are installed/up to date.  I did get the perl
error the first run, checked the log and got it right - now this.

+ 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.68939 (%install) 

Referenced in this thread as well:

http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg17667.html

I am running CentOS 4.6 nad got the above error as well...same as in the
previous e-mail by ES.

I checked the SOURCES directory and that file does not exist...

If you need more logs, let me know and I will attach.  Thx!

Helmut

-Original Message-
From: Marco Cordeiro [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2008 11:38 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: RE: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

I agree (it's not perl error), because I'm using rpmforge for perl packages
too and still are unable to update spamassassin.

Marco.

-Original Message-
From: Eric Shubert [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2008 3:28 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4

I don't think it's perl related.

+ install -m 0644
/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.40559 (%install)

rpm is having trouble installing the local.cf file. Either
/usr/src/redhat/SOURCES/qmailtoaster.local.cf.bz2 or
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/ doesn't exist. My
guess would be the former. Why is it a .bz2 file? Is that new?

Erik A. Espinoza wrote:
 I am using CentOS 5.1 and have not had any issues with this.
 
 Perhaps it is because I use rpmforge perl packages instead of cpan for 
 module installation.
 
 EE
 
 On Mon, Mar 31, 2008 at 11:06 AM, Eric Shubert [EMAIL PROTECTED] wrote:
 That is *not* my understanding.

  The error is detailed here:

http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg17657.html

  This is an error in the spec/package, which appears to exist only in
most
  recent versions of COS5 and FC.

  I don't have any servers on those platforms, so I can't be of much 
 more
help.



  Marco Cordeiro wrote:
   Correct Helmut, the issue it's in reference to the newmodel script.
  
   Marco.
  
   -Original Message-
   From: Helmut Fritz [mailto:[EMAIL PROTECTED]
   Sent: Monday, March 31, 2008 1:47 PM   To: 
 qmailtoaster-list@qmailtoaster.com
   Subject: RE: [qmailtoaster] timeline to update
spamassassin-toaster-3.2.4
  
   Erik,
   Maybe it is in reference to the newmodel script for upgrading?  I 
 am
waiting
   on that to be completed (no rush, I appreciate any time put in),
unless it
   is and I missed it...  Thx.
  
   Helmut
  
   -Original Message-
   From: Erik A. Espinoza [mailto:[EMAIL PROTECTED]   Sent: 
 Monday, March 31, 2008 9:07 AM   To: 
 qmailtoaster-list@qmailtoaster.com
   Subject: Re: [qmailtoaster] timeline to update
spamassassin-toaster-3.2.4
  
   What issues? I'm using SpamAssassin 3.2.4 on CentOS 5.1.
  
I see no bugs reported on the bug tracker regarding this.
  
   EE
  
   On Mon, Mar 31, 2008 at 8:14 AM, Marco Cordeiro 
 [EMAIL PROTECTED]
wrote:
  
  
   All ,
  
  
  
   Any news about a timeline to update spamassassin-toaster-3.2.4, 
 that   fix issue on centos 5.1 ???
  
  
  
   Regards
  
   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]





-
 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] timeline to update spamassassin-toaster-3.2.4

2008-03-31 Thread Erik A. Espinoza
Is anyone having this problem on CentOS 5 that is not using the
qtp-newmodel? I just set up a fresh box and no issues here.

Erik

On Mon, Mar 31, 2008 at 6:09 PM, German Molano  Asociados
[EMAIL PROTECTED] wrote:
 Erik:
  I week ago i was installing QmailToaster on a FC7 fresh install and i found
  these problems, mostly related with .spec file and the sources used in the
  rpm building process.

  http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg17858.html

  I sucessfully installed spamassassin-toaster after editing .spec file and a
  manual rebuilding.

  I think that mine is a nasty way to get things work, but could give you some
  idea about the source of the problem.

  German



  - Original Message -
  From: Erik A. Espinoza [EMAIL PROTECTED]
  To: qmailtoaster-list@qmailtoaster.com


 Sent: Monday, March 31, 2008 3:16 PM
  Subject: Re: [qmailtoaster] timeline to update spamassassin-toaster-3.2.4


  I am unable to replicate. If anyone can send me a full build log of
   the --rebuild, I would appreciate it.
  
   Erik
  
   # rpm -qi centos-release spamassassin-toaster
   Name: centos-release   Relocations: (not relocatable)
   Version : 5 Vendor: CentOS
   Release : 1.0.el5.centos.1  Build Date: Thu 22 Nov
   2007 05:32:15 PM PST
   Install Date: Mon 03 Dec 2007 05:58:40 AM PST  Build Host: builder6
   Group   : System Environment/Base   Source RPM:
   centos-release-5-1.0.el5.centos.1.src.rpm
   Size: 35279License: GPL
   Signature   : DSA/SHA1, Thu 22 Nov 2007 05:38:41 PM PST, Key ID
   a8a447dce8562897
   Summary : CentOS release file
   Description :
   CentOS release files
   Name: spamassassin-toaster Relocations: /usr
   Version : 3.2.4 Vendor: (none)
   Release : 1.3.13Build Date: Mon 04 Feb
   2008 12:49:07 AM PST
   Install Date: Mon 04 Feb 2008 12:49:43 AM PST  Build Host:
   electron.kabewm.com
   Group   : Applications/Internet Source RPM:
   spamassassin-toaster-3.2.4-1.3.13.src.rpm
   Size: 2741093  License: Apache License
   Signature   : (none)
   Packager: Nick Hemmesch [EMAIL PROTECTED]
   URL : http://spamassassin.apache.org/
   Summary : Spam filter for email which can be invoked from mail
   delivery agents.
   Description :
  
   SpamAssassin provides you with a way to reduce if not completely eliminate
   Unsolicited Commercial Email (SPAM) from your incoming email.  It can
   be invoked by a MDA such as sendmail or postfix, or can be called from
   a procmail script, .forward file, etc.  It uses a genetic-algorithm
   evolved scoring system to identify messages which look spammy, then
   adds headers to the message so they can be filtered by the user's mail
   reading software.  This distribution includes the spamd/spamc components
   which create a server that considerably speeds processing of mail.
  
   v310.pre settings
   ---
   loadplugin Mail::SpamAssassin::Plugin::Pyzor
   loadplugin Mail::SpamAssassin::Plugin::AWL
   loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
   loadplugin Mail::SpamAssassin::Plugin::WhiteListSubject
   loadplugin Mail::SpamAssassin::Plugin::MIMEHeader
   loadplugin Mail::SpamAssassin::Plugin::ReplaceTags
  
   The custom local.cf for spamassassin-toaster is as follows:
   ---
   ok_locales all
   skip_rbl_checks 1
  
   required_score 5
   report_safe 0
   rewrite_header Subject ***SPAM***
  
   use_pyzor 1
  
   use_auto_whitelist 1
  
   use_bayes 1
   use_bayes_rules 1
   bayes_auto_learn 1
  
  
   On Mon, Mar 31, 2008 at 11:27 AM, Eric Shubert [EMAIL PROTECTED] wrote:
   I don't think it's perl related.
  
+ install -m 0644
/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.40559 (%install)
  
rpm is having trouble installing the local.cf file. Either
/usr/src/redhat/SOURCES/qmailtoaster.local.cf.bz2 or
/var/tmp/spamassassin-toaster-root/etc/mail/spamassassin/ doesn't exist.
   My
guess would be the former. Why is it a .bz2 file? Is that new?
  
  
  
Erik A. Espinoza wrote:
 I am using CentOS 5.1 and have not had any issues with this.

 Perhaps it is because I use rpmforge perl packages instead of cpan for
 module installation.

 EE

 On Mon, Mar 31, 2008 at 11:06 AM, Eric Shubert [EMAIL PROTECTED] 
 wrote:
 That is *not* my understanding.

  The error is detailed here: