RE: [qmailtoaster] Re: sa-learn-attach

2011-12-26 Thread Helmut Fritz
Yep, exactly.  Other than the privacy issue this seems like it will work
fine.  Or has so far.

-Original Message-
From: Eric Shubert [mailto:e...@shubes.net] 
Sent: Monday, December 26, 2011 10:59 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Re: sa-learn-attach

On 12/22/2011 08:36 PM, Helmut Fritz wrote:
> So I have decided to try something a little different.  I have my ham 
> and spam accounts on the server.  On the client using outlook I have 
> these two accounts added as IMAP accounts, and can then just drag and 
> drop the SPAM and HAM to the inbox of the appropriate account within 
> outlook.  easy for users to do.  Then I run my script to have sa-learn 
> go through the cur and new folders and then delete the emails.  I 
> include only somewhat technically savvy users and have instructed them 
> to only use the accounts for putting up SPAM and HAM - no folder 
> creation, putting emails anywhere else, etc.  of course it will bear 
> some watching but this should be relatively easy and effective.
>
> Anyone see anything wrong with this method?
>

Sounds good to me. IOW, use a shared account instead of shared folders.

--
-Eric 'shubes'



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

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




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] Re: sa-learn-attach

2011-12-26 Thread Eric Shubert

On 12/22/2011 11:16 PM, Martin Waschbüsch IT-Dienstleistungen wrote:

I am using a version of something I found on the wiki (or as part of qtp?).


I like this.


It adds the following things:
- loop through all domains and users
- do not touch/learn special files (e.g. dovecot cache, etc.).


Might want to include courier special files as well. Also, I'd code as 
these names in a variable so they are maintained in one place. ;)



- move ham back to inbox (which is safe with dovecot - I asked the author.)

Nice.


- learn items without syncing*before*  making spamassassin sync the database 
(if you host several domains with users actively using the ham/spam feature, 
you'll be glad to do that, as perl / spam assassin is no lightweight)

Nice too.

I'd like to standardize this and replace the qtp-clean-spam and 
qtp-clean-trash scripts that are in QTP. Any ideas how we might do that?


--
-Eric 'shubes'


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

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

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




[qmailtoaster] Re: sa-learn-attach

2011-12-26 Thread Eric Shubert

On 12/22/2011 08:36 PM, Helmut Fritz wrote:

So I have decided to try something a little different.  I have my ham and
spam accounts on the server.  On the client using outlook I have these two
accounts added as IMAP accounts, and can then just drag and drop the SPAM
and HAM to the inbox of the appropriate account within outlook.  easy for
users to do.  Then I run my script to have sa-learn go through the cur and
new folders and then delete the emails.  I include only somewhat technically
savvy users and have instructed them to only use the accounts for putting up
SPAM and HAM - no folder creation, putting emails anywhere else, etc.  of
course it will bear some watching but this should be relatively easy and
effective.

Anyone see anything wrong with this method?



Sounds good to me. IOW, use a shared account instead of shared folders.

--
-Eric 'shubes'


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

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

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




[qmailtoaster] Re: sa-learn-attach

2011-12-26 Thread Eric Shubert

On 12/21/2011 12:28 PM, Helmut Fritz wrote:

Thx Eric.  Just more questions now!

Do you think there is a downside to forwarding the emails as an attachment?


Yes. Getting users to do it properly (client configuration and training) 
might be troublesome. How to do it varies according to client app being 
used. Users can unknowingly forward inline, which causes a problem with 
learning due to extra headers.



Or maybe sa-learn can be called within that attached script (i.e. modify it)
instead of duplicating its code?


That would be what I would attempt (if I weren't already using a shared 
folder for this). I would try to set up an account that could process 
spam (and another for ham) that users could forward messages to. To be 
robust, it should be able to handle forwards inline and as attachments.



Can sa-learn read an outlook .msg file or an exchange folder directly?


I got a little ahead of myself on this, and forgot about message 
formats. I don't know the answer to this off hand, but I think it 
deserves investigation.



The other issue is that the two servers are not on the same internal
network, although I could make them that way.  Or perhaps do other things to
move the files to the qmt server.  But the answer to the question above
might demonstrate this is not useful?


Right.


I have also seen reference to a mime defang useage with sa-learn and a
script that uses some other attachment 'detaching' method as well.


I like the idea of undoing what forwarding does to mess up learning.
FWIW. This provides a level of privacy and security that the shared 
folders lacks.


--
-Eric 'shubes'


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

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

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




Re: [qmailtoaster] Problem with Clamav-toaster on Centos6

2011-12-26 Thread Martin Waschbüsch IT-Dienstleistungen
Hi Anderson,

Am 26.12.2011 um 15:27 schrieb Anderson Alves de Albuquerque:

> 
>  I want go out to this list. How can I do?
> 


To remove your address from the list, just send a message to
the address in the ``List-Unsubscribe'' header of any list
message. If you haven't changed addresses since subscribing,
you can also send a message to:
  

Cheers,

Martin

signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [qmailtoaster] Problem with Clamav-toaster on Centos6

2011-12-26 Thread Anderson Alves de Albuquerque
 I want go out to this list. How can I do?


2011/12/26 Martin Waschbüsch IT-Dienstleistungen 

> Hi Amir,
>
> Am 26.12.2011 um 11:55 schrieb Amir Abbasi:
>
> + echo 'Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):'
> Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):
> + /usr/bin/bzip2 -dc
> /root/rpmbuild/SOURCES/clamav-0.9x-qmailtoaster.patch.bz2
> + /usr/bin/patch -s -p1 --fuzz=0
> 1 out of 7 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
> error: Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep)
>
> Have you ever faced this error message?
> Thank you for your assistance.
>
>
>
> The problem is that the included patch is not 100% rediffed against
> version 0.97.3 of clamav… e.g. some lines are off.
> This causes the patch utility to fail, as the allowed amount of 'fuzz'
> (e.g. allow patches to apply to be a couple lines off the expected place)
> on CentOS 6 is zero.
>
> Anyway,
>
> use the attached patch instead of the old one (replace the clamav patch
> file in the SOURCES folder within your rpm build directory) and try again…
>
> Martin
>
>
> --
> Martin Waschbüsch
> IT-Dienstleistungen
> Schumacherring 29
> 81737 München
>
> Telefon: +49 89 57005708
> Fax: +49 89 57868023
> Mobil: +49 170 2189794
> serv...@waschbuesch.it
> http://www.waschbuesch.it
>
>
>
> -BEGIN PGP SIGNATURE-
>
> iQEcBAEBAgAGBQJO+GtWAAoJEEkFD1O3oaqkEeAIAJw8u6jF5tpv6sT8wgtG3ddj
> VQqHoMqtyG/MZditMiVU+Fpbqg+MLzbJWJr2xx4XP3sNa4LkOV14H2m48JwEUeEg
> +Us7/azeks3CBBf1YxTB7g3nbxheAIwCeJBCid4j7J8f1NYbFF+uC4O5mk5kF8XM
> C5hmonsCMYl/XlWaXDUlmRvAEoWWm9h0WypwESlfIrWVWOEZeleh6Z+G8TFxqZUU
> slaMsBRsRklac5jH+YVOOUAudfvoN7m/UggbE8Ugx2N7dJt2gBixwnbq0cFYC/ux
> ecgtElIM0PExhZzSMLDMSrw9y7MZDqDrTEHaUeSdxzWOuhjl67BDwUwBmROdglE=
> =JP8u
> -END PGP SIGNATURE-
>
>


-- 
[], Anderson Alves de Albuquerque.
---
E-mails: andersonalvesdealbuquerque#hotmail.com (replace # by @)
andersonaa#gmail.com (replace # by @)
ICQ: 73222660
---


Re: [qmailtoaster] Reg:Configure Same domain in different server

2011-12-26 Thread Raja Mani
Hai


I have 2 serves on same domain .Some users only accessmail from
global server.And others user access mails from local server.When the local
server was down.The global sever hold all the mail.After the local mail
server has up.The global server push mail to local server.




And other point i have 2 mx record.One is global server and other one is a
local server.



And one more thing the local user send the mail to global user id's And
also same the global user also send send the mail to local server mail id's



I dont need the fetchmail Because the local user mail box not created on
global server.






-Rajamani.


On Mon, Dec 26, 2011 at 9:01 AM, James Beam wrote:

>  oh, why would you want to store mail in both places...sorry I have no
> clue how to do that easily - only dot forwards come to mind per account and
> that is not efficient.
>  --
> *From:* Raja Mani [rajamani@gmail.com]
> *Sent:* Sunday, December 25, 2011 7:48 PM
> *To:* qmailtoaster-list@qmailtoaster.com; b...@whitesindia.com
> *Subject:* Re: [qmailtoaster] Reg:Configure Same domain in different
> server
>
>  Dear All,
>
>
>   I am using smtp routes .But how can i store the mails in
> two servers.Because i am configure domain abc.com for two server.Actually
> i am configured in two server one is a local server and another one is
> global server.The two server have only one domain abc.com.
>
>
>
>  -Rajaman
>
> On Sun, Dec 25, 2011 at 9:14 PM, Biju Jose  wrote:
>
>>  Hi Raja Mani,
>>
>> 
>>
>> You could use fetchmail to pull mails from your global mail server
>> periodically to your local mail server.
>>
>> 
>>
>> *Biju Jose*
>>  --
>>
>> P please consider the environment before printing this e-mail.
>>
>> 
>>
>> 
>>
>> 
>>
>> *From:* Raja Mani [mailto:rajamani@gmail.com]
>> *Sent:* Sunday, December 25, 2011 8:43 PM
>> *To:* qmailtoaster-list@qmailtoaster.com
>> *Subject:* [qmailtoaster] Reg:Configure Same domain in different server**
>> **
>>
>> 
>>
>> Hai,
>>
>>
>> I am having a global mail for example 
>> abc.com.My requiremnet
>> is to to forward the mails from global mail server(abc.com) to local
>> mail server.(mail.abc.com).For your information we are haveing mx record
>> for mail.abc.com.My  global is located in us
>> and my local mail server is located at india.So kindly give me guide lines.
>>
>>
>> -Rajama 
>>
>
>   *The information contained in this email is intended only for the
> person or entity to whom it is addressed and may contain confidential or
> privileged material; unauthorized use of this information is prohibited. If
> you have received this in error, please notify the sender and delete the
> material immediately. ~~ Thank you.*
>


Re: [qmailtoaster] Reg:Configure Same domain in different server

2011-12-26 Thread Raja Mani
 Hai


I have 2 serves on same domain .Some users only accessmail from
global server.And others user access mails from local server.When the local
server was down.The global sever hold all the mail.After the local mail
server has up.The global server push mail to local server.




And other point i have 2 mx record.One is global server and other one is a
local server.



And one more thing the local user send the mail to global user id's And
also same the global user also send send the mail to local server mail id's



I dont need the fetchmail Because the local user mail box not created on
global server.






-Rajamani.

On Mon, Dec 26, 2011 at 9:01 AM, James Beam wrote:

>  oh, why would you want to store mail in both places...sorry I have no
> clue how to do that easily - only dot forwards come to mind per account and
> that is not efficient.
>  --
> *From:* Raja Mani [rajamani@gmail.com]
> *Sent:* Sunday, December 25, 2011 7:48 PM
> *To:* qmailtoaster-list@qmailtoaster.com; b...@whitesindia.com
> *Subject:* Re: [qmailtoaster] Reg:Configure Same domain in different
> server
>
>  Dear All,
>
>
>   I am using smtp routes .But how can i store the mails in
> two servers.Because i am configure domain abc.com for two server.Actually
> i am configured in two server one is a local server and another one is
> global server.The two server have only one domain abc.com.
>
>
>
>  -Rajaman
>
> On Sun, Dec 25, 2011 at 9:14 PM, Biju Jose  wrote:
>
>>  Hi Raja Mani,
>>
>> 
>>
>> You could use fetchmail to pull mails from your global mail server
>> periodically to your local mail server.
>>
>> 
>>
>> *Biju Jose*
>>  --
>>
>> P please consider the environment before printing this e-mail.
>>
>> 
>>
>> 
>>
>> 
>>
>> *From:* Raja Mani [mailto:rajamani@gmail.com]
>> *Sent:* Sunday, December 25, 2011 8:43 PM
>> *To:* qmailtoaster-list@qmailtoaster.com
>> *Subject:* [qmailtoaster] Reg:Configure Same domain in different server**
>> **
>>
>> 
>>
>> Hai,
>>
>>
>> I am having a global mail for example 
>> abc.com.My requiremnet
>> is to to forward the mails from global mail server(abc.com) to local
>> mail server.(mail.abc.com).For your information we are haveing mx record
>> for mail.abc.com.My  global is located in us
>> and my local mail server is located at india.So kindly give me guide lines.
>>
>>
>> -Rajama 
>>
>
>   *The information contained in this email is intended only for the
> person or entity to whom it is addressed and may contain confidential or
> privileged material; unauthorized use of this information is prohibited. If
> you have received this in error, please notify the sender and delete the
> material immediately. ~~ Thank you.*
>


Re: [qmailtoaster] Problem with Clamav-toaster on Centos6

2011-12-26 Thread Martin Waschbüsch IT-Dienstleistungen
Hi Amir,Am 26.12.2011 um 11:55 schrieb Amir Abbasi:+ echo 'Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):'Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.9x-qmailtoaster.patch.bz2+ /usr/bin/patch -s -p1 --fuzz=01 out of 7 hunks FAILED -- saving rejects to file etc/clamd.conf.rejerror: Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep) RPM build errors:    Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep) Have you ever faced this error message?Thank you for your assistance.The problem is that the included patch is not 100% rediffed against version 0.97.3 of clamav… e.g. some lines are off.This causes the patch utility to fail, as the allowed amount of 'fuzz' (e.g. allow patches to apply to be a couple lines off the expected place) on CentOS 6 is zero.Anyway,use the attached patch instead of the old one (replace the clamav patch file in the SOURCES folder within your rpm build directory) and try again…Martin
--Martin WaschbüschIT-DienstleistungenSchumacherring 2981737 MünchenTelefon: +49 89 57005708Fax: +49 89 57868023Mobil: +49 170 2189794serv...@waschbuesch.ithttp://www.waschbuesch.it



clamav-0.9x-qmailtoaster.patch.bz2
Description: BZip2 compressed data


signature.asc
Description: Message signed with OpenPGP using GPGMail


[qmailtoaster] Problem with Clamav-toaster on Centos6

2011-12-26 Thread Amir Abbasi
but I face a problem with ClamAV-Toaster on CentOS6. Here is the error message:

rpmbuild --rebuild --with cnt5064 clamav-toaster-*.src.rpm
Installing clamav-toaster-0.97.3-1.3.44.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nI9zZQ
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf clamav-0.97.3
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.97.3.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd clamav-0.97.3
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):'
Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):
+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.9x-qmailtoaster.patch.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
1 out of 7 hunks FAILED -- saving rejects to file etc/clamd.conf.rej
error: Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep)


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



Have you ever faced this error message? 
Thank you for your assistance.