it does not work, I've recompile simscan with --enable-spam-auth-user=y
this is what the header looks like
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 7832 invoked by uid 501); 8 Aug 2006 07:43:32 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=private; d=gspe.local;
b=B9ySP/NVUQmfWU/W2uEUsQEhxWX7TRwA+opyQNunaJcnvwYbUwfXNfcN/IO+H019 ;
Received: from unknown (HELO 192.168.1.1) (127.0.0.1)
by ns1.gspe.local with SMTP; 8 Aug 2006 07:43:32 -0000
Received: from 192.168.1.1 (proxying for 127.0.0.1)
(SquirrelMail authenticated user [EMAIL PROTECTED])
by 192.168.1.1 with HTTP;
Tue, 8 Aug 2006 14:43:32 +0700 (WIT)
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 8 Aug 2006 14:43:32 +0700 (WIT)
Subject: test
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
User-Agent: SquirrelMail/1.4.7-1.3.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
and this is invoke from qmail-inject test
QMAILQUEUE=/var/qmail/bin/simscan SIMSCAN_DEBUG=5
/var/qmail/bin/qmail-inject [EMAIL PROTECTED] < test
simscan: cdb looking up
simscan: cdb for found clam=yes,spam=yes,spam_hits=5,attach=.mp3:.src:.bat:.pif
simscan: pelookup clam = yes
simscan: pelookup spam = yes
simscan: pelookup spam_hits = 5
simscan: Per Domain Hits set to : 5.000000
simscan: pelookup attach = .mp3:.src:.bat:.pif
simscan: attachment flag attach = .mp3:.src:.bat:.pif
simscan: add_attach called with .mp3:.src:.bat:.pif
simscan: .mp3 is attachment number 0
simscan: .src is attachment number 1
simscan: .bat is attachment number 2
simscan: .pif is attachment number 3
simscan: starting: work dir: /var/qmail/simscan/1155022978.617679.7813
simscan: pelookup: called with [EMAIL PROTECTED]
simscan: pelookup: domain is gspe.local
simscan: cdb looking up gspe.local
simscan: pelookup: local part is root
simscan: lpart: local part is **
simscan: cdb looking up [EMAIL PROTECTED]
simscan: pelookup: called with [EMAIL PROTECTED]
simscan: pelookup: domain is gspe.local
simscan: cdb looking up gspe.local
simscan: pelookup: local part is isianto
simscan: lpart: local part is **
simscan: cdb looking up [EMAIL PROTECTED]
simscan: checking attachment msg.1155022978.617679.7813 against .mp3
simscan: checking attachment msg.1155022978.617679.7813 against .src
simscan: checking attachment msg.1155022978.617679.7813 against .bat
simscan: checking attachment msg.1155022978.617679.7813 against .pif
simscan: checking attachment addr.1155022978.617679.7813 against .mp3
simscan: checking attachment addr.1155022978.617679.7813 against .src
simscan: checking attachment addr.1155022978.617679.7813 against .bat
simscan: checking attachment addr.1155022978.617679.7813 against .pif
simscan: checking attachment textfile0 against .mp3
simscan: checking attachment textfile0 against .src
simscan: checking attachment textfile0 against .bat
simscan: checking attachment textfile0 against .pif
simscan: cdb looking up version attach
simscan: runned_scanners is attach: 1.2.0
simscan: found 1.2.0
simscan: calling clamdscan
simscan: cdb looking up version clamav
simscan: runned_scanners is attach: 1.2.0 clamav: 0.88.3/m:39/d:1640
simscan: found 0.88.3/m:39/d:1640
simscan: normal clamdscan return code: 0
simscan: calling spamc
simscan: calling /usr/bin/spamc spamc
simscan: cdb looking up version spam
simscan: runned_scanners is attach: 1.2.0 clamav: 0.88.3/m:39/d:1640
spam: 3.1.3
simscan: found 3.1.3
simscan:[7812]:CLEAN
(2.00/5.00):0.2571s::(null):[EMAIL PROTECTED]:[EMAIL PROTECTED]
simscan: done, execing qmail-queue
simscan: qmail-queue exited 0
Thanks
On 8/8/06, K Anand <[EMAIL PROTECTED]> wrote:
AFAIK, simscan will not send mails to SA for Trusted Users....This is the
default on simscan. Trusted Users are identified by the RELAYCLIENT env
variable that is set in tcp.smtp file. If you want to change this
functionality you will have to build simscan rpm manually.
For this, install the simscan source package.
It will generally get installed in /usr/src/...dir.
goto the spec file which should be present in the SPEC dir.
In the spec file, you will see a command called configure . This has some
options that are being passed to it.
Add this configuration also.
--enable-spam-auth-user=y|n Turn on spam scanning for authenticated users
(default no).
Then save the spec file. Then rebuild the binary rpm. That should do it.
Anand
----- Original Message -----
From: "fuzzy" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 08, 2006 11:28 AM
Subject: Re: [qmailtoaster] Re: Hello and need help on Simscan Spamassassin
> Isianto Istiadi wrote:
> > Forgive me if I'm wrong, but isn't it the header comes from
> > qmailtoaster.com and gmail ? I don't use gspe to write this email, I'm
> > using gmail webmail to write and read email. GSPE email is a local
> > email server where it get email from another provider using fetchmail.
> > The problem is the provider email server doesn't have spam control, so
> > I need to do the spam control. As gspe is a local email server, each
> > internal staff also need to send email to another internal staff, and
> > again contain alot of spams.
> > Thanks
> >
> > Isianto
>
> forgive me, i did not correctly guess your setup.
>
> dansguardian? so is this computer is an edge-device protecting your
> private lan while controlling web access, web-proxying and such?
>
> maybe the problem is related to the proxying line in the header. i
> haven't seen that before, but that may not mean anything.
>
> what does your host file look like? more than one nic? the problem may
> lie in there and the relayclient statement in tcp.smtp file. obviously
> i am of no use, maybe someone else here can help.
>
> i was just over at the inter7 site reading up on simscan...apparently, i
> have more to learn before offering advice. so, silently i slip away.
>
> fuzz
>
>
>
> ---------------------------------------------------------------------
> 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]