RE: [qmailtoaster] How to complied specific package in qmailtoaster-plus

2010-08-12 Thread Suhag P Desai
Is there any solution to scan internal mail ? As even I test without
authenticate option, It is not scanning the mail. Only attachment scan is
working fine in both the case for internal mail.

 

From: Jake Vickers [mailto:j...@qmailtoaster.com] 
Sent: Thursday, August 12, 2010 11:22 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] How to complied specific package in
qmailtoaster-plus

 

On 08/11/2010 08:21 AM, Suhag P Desai wrote: 

Thanks Amit,

I have followed your instructions on my setup. 

 

I am trying to setup spamassassin and below is my test.cf file.

[r...@spd spamassassin]# pwd

/etc/mail/spamassassin

[r...@spd spamassassin]# cat test.cf

body LOCAL_DEMONSTRATION_RULE   /test/

score LOCAL_DEMONSTRATION_RULE 5

describe LOCAL_DEMONSTRATION_RULE   This is a simple test rule

 

Now, this rule is pretty simple as rules go. It will match "test" but also
"testing" and "attest" and assign the score to 5 and if score reach to 5,
subject should be replace with ***spam***.

 

But it is not working in my setup.

 

Below is my tcp.smtp file.

[r...@spd spamassassin]# cat /etc/tcprules.d/tcp.smtp

127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/q
mail/control/domainkeys/%/private"

192.168.10.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"

192.168.30.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="5",CHKUSER_WRONGR
CPTLIMIT="10",DKSIGN="/var/qmail/control/domainkeys/%/private"

 

Please let me know what to do to get it done.

 

I am testing the same in same domain.

 


If you're testing withing the same domain with an authenticated user, it
won't work.
Also your :allow line is missing the QMAILQUEUE variable, so emails coming
in from the outside are not being passed to simscan to score.



Re: [qmailtoaster] How to complied specific package in qmailtoaster-plus

2010-08-11 Thread Jake Vickers

 On 08/11/2010 08:21 AM, Suhag P Desai wrote:


Thanks Amit,

I have followed your instructions on my setup.

I am trying to setup spamassassin and below is my test.cf file.

[r...@spd spamassassin]# pwd

/etc/mail/spamassassin

[r...@spd spamassassin]# cat test.cf

body LOCAL_DEMONSTRATION_RULE   /test/

score LOCAL_DEMONSTRATION_RULE 5

describe LOCAL_DEMONSTRATION_RULE   This is a simple test rule

Now, this rule is pretty simple as rules go. It will match "test" but 
also "testing" and "attest" and assign the score to 5 and if score 
reach to 5, subject should be replace with ***spam***.


*But it is not working in my setup.*

Below is my tcp.smtp file.

[r...@spd spamassassin]# cat /etc/tcprules.d/tcp.smtp

127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/qmail/control/domainkeys/%/private"

192.168.10.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"

192.168.30.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="5",CHKUSER_WRONGRCPTLIMIT="10",DKSIGN="/var/qmail/control/domainkeys/%/private"

Please let me know what to do to get it done.

I am testing the same in same domain.




If you're testing withing the same domain with an authenticated user, it 
won't work.
Also your :allow line is missing the QMAILQUEUE variable, so emails 
coming in from the outside are not being passed to simscan to score.


RE: [qmailtoaster] How to complied specific package in qmailtoaster-plus

2010-08-11 Thread Suhag P Desai
Thanks Amit,

I have followed your instructions on my setup. 

 

I am trying to setup spamassassin and below is my test.cf file.

[r...@spd spamassassin]# pwd

/etc/mail/spamassassin

[r...@spd spamassassin]# cat test.cf

body LOCAL_DEMONSTRATION_RULE   /test/

score LOCAL_DEMONSTRATION_RULE 5

describe LOCAL_DEMONSTRATION_RULE   This is a simple test rule

 

Now, this rule is pretty simple as rules go. It will match "test" but also
"testing" and "attest" and assign the score to 5 and if score reach to 5,
subject should be replace with ***spam***.

 

But it is not working in my setup.

 

Below is my tcp.smtp file.

[r...@spd spamassassin]# cat /etc/tcprules.d/tcp.smtp

127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan",DKSIGN="/var/q
mail/control/domainkeys/%/private"

192.168.10.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"

192.168.30.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/simscan"

:allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="5",CHKUSER_WRONGR
CPTLIMIT="10",DKSIGN="/var/qmail/control/domainkeys/%/private"

 

Please let me know what to do to get it done.

 

I am testing the same in same domain.

 

Regards,

Suhag Desai.

From: Amit [mailto:a...@ikf.co.in] 
Sent: Wednesday, August 11, 2010 12:25 PM
To: qmailtoaster-list
Subject: Re: [qmailtoaster] How to complied specific package in
qmailtoaster-plus

 

Hi Suhag,

Please find steps below to compile Simscan with Enable-Spam-Auth-User:

1) Download src rpm file.
2) rpm -i simscan-toaster-*.src.rpm
3) cd /usr/src/redhat/SPEC
4) vim simscan-toaster.spec
5) Go to line number 490 i.e. authernticated users scanned = OFF and change
OFF to ON.
6) Now go to line number 563 i.e. --enable-custom-smtp-reject. Below this
line add 1 more line mentioning --enable-spam-auth-user
7) Close the SPEC file.
8) rpmbuild -ba --target-i386 simscan-toaster.spec
9) cd ../RPMS/i386
10) qmailctl stop
11) rpm -Uvh simscan*.rpm


Regards,

Amit
 

On Tue, Aug 10, 2010 at 10:28 AM, Amit  wrote:

Hi Suhag,

 

Is it fine if I let you know by evening since I'm somewhere out today for
meeting.

 

Regards,

 

Amit

 

On Tue, Aug 10, 2010 at 7:17 AM, Suhag P Desai  wrote:

Hi Amit,

 

I can not find any option in SPEC file in qmailtoaster for simscan. If  you
can spare some time to let me know the excate procedure, it will be very
much helpful to me.

 

I want to recompile simscan with --enable-spam-auth-user=y option.

 

Thanks in advance..

 

Regards,

Suhag.

 

From: Amit Dalia [mailto:a...@ikf.co.in] 
Sent: Monday, August 02, 2010 5:20 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] How to complied specific package in
qmailtoaster-plus

 

Hi Suhag,

You can do this by modifying in SPEC file.

Regards,

Amit

At Monday, 02-08-2010 on 17:15 Suhag P Desai wrote:

Hi all,

 

By default, simscan does not run spamc on authenticated users.

 

If you want to scan authenticated users you will need to recompile simscan
adding the --enable-spam-auth-user=y configure value.

 

How to recompile simscan package with above option.

 

Regards,

 

Suhag.

 

 

 



Re: [qmailtoaster] How to complied specific package in qmailtoaster-plus

2010-08-10 Thread Amit
Hi Suhag,

Please find steps below to compile Simscan with Enable-Spam-Auth-User:

1) Download src rpm file.
2) rpm -i simscan-toaster-*.src.rpm
3) cd /usr/src/redhat/SPEC
4) vim simscan-toaster.spec
5) Go to line number 490 i.e. authernticated users scanned = OFF and change
OFF to ON.
6) Now go to line number 563 i.e. --enable-custom-smtp-reject. Below this
line add 1 more line mentioning --enable-spam-auth-user
7) Close the SPEC file.
8) rpmbuild -ba --target-i386 simscan-toaster.spec
9) cd ../RPMS/i386
10) qmailctl stop
11) rpm -Uvh simscan*.rpm


Regards,

Amit

On Tue, Aug 10, 2010 at 10:28 AM, Amit  wrote:

> Hi Suhag,
>
> Is it fine if I let you know by evening since I'm somewhere out today for
> meeting.
>
> Regards,
>
> Amit
>
>
> On Tue, Aug 10, 2010 at 7:17 AM, Suhag P Desai  wrote:
>
>>  Hi Amit,
>>
>>
>>
>> I can not find any option in SPEC file in qmailtoaster for simscan. If
>> you can spare some time to let me know the excate procedure, it will be very
>> much helpful to me.
>>
>>
>>
>> I want to recompile simscan with --enable-spam-auth-user=y option.
>>
>>
>>
>> Thanks in advance..
>>
>>
>>
>> Regards,
>>
>> Suhag.
>>
>>
>>
>> *From:* Amit Dalia [mailto:a...@ikf.co.in]
>> *Sent:* Monday, August 02, 2010 5:20 PM
>> *To:* qmailtoaster-list@qmailtoaster.com
>> *Subject:* Re: [qmailtoaster] How to complied specific package in
>> qmailtoaster-plus
>>
>>
>>
>> Hi Suhag,
>>
>> You can do this by modifying in SPEC file.
>>
>> Regards,
>>
>> Amit
>>
>> At Monday, 02-08-2010 on 17:15 Suhag P Desai wrote:
>>
>>  Hi all,
>>
>>
>>
>> By default, simscan does not run spamc on authenticated users.
>>
>>
>>
>> If you want to scan authenticated users you will need to recompile simscan
>> adding the --enable-spam-auth-user=y configure value.
>>
>>
>>
>> How to recompile simscan package with above option…
>>
>>
>>
>> Regards,
>>
>>
>>
>> Suhag.
>>
>>
>>
>
>


Re: [qmailtoaster] How to complied specific package in qmailtoaster-plus

2010-08-02 Thread Amit Dalia
Hi Suhag,

You can do this by modifying in SPEC file.

Regards,

Amit

At Monday, 02-08-2010 on 17:15 Suhag P Desai wrote:

Hi all,

 

By default, simscan does not run spamc on authenticated users.

 

If you want to scan authenticated users you will need to recompile
simscan adding the --enable-spam-auth-user=y configure value.

 

How to recompile simscan package with above option…

 

Regards,

 

Suhag.

 




[qmailtoaster] How to complied specific package in qmailtoaster-plus

2010-08-02 Thread Suhag P Desai
Hi all,

 

By default, simscan does not run spamc on authenticated users.

 

If you want to scan authenticated users you will need to recompile simscan
adding the --enable-spam-auth-user=y configure value.

 

How to recompile simscan package with above option.

 

Regards,

 

Suhag.