[dspam-users] CVS version display

2007-12-22 Thread Dudi Goldenberg
Hello list,

I have the latest CVS running fine, no issues.

One thing that IMHO needs a touch is the dspam version number display at the 
bottom of the screen.

For all the CVS versions I installed it just shows "Version CVS".

Is there a way to add a build number or a CVS version date to that? 
 
Dudi Goldenberg
CTO
Kolcore Ltd.
Registered Linux user #79506

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.17.6/1192 - Release Date: 12/21/2007 
13:17
 


Re: [dspam-users] Problem with dspam_admin and other tools

2007-12-22 Thread Tony Earnshaw

Tony Earnshaw skrev, on 13-12-2007 16:25:

[...]

FWIW I get a SIGSEGV with CVS on FC6 when running dspam from stdin; 
don't get it with 3.8.0.


CVS is a no-go for me.

I'll update my last post about available rpms.


This doesn't happen any more with CVS 0712220843, so I'll leave it as it 
is; happy to go with CVS on FC6.


Best,

--Tonni

--
Tony Earnshaw
Email: tonni at hetnet dot nl


[dspam-users] (connect to mail1[/tmp/dspam.sock]: Permission denied

2007-12-22 Thread Israel Garcia
Hi, I've just installed Dspam 3.8.0 on a CentOS5 fully updated server.
This is  my MXs relay server, (with no local accounts),which its only
purpose is to relay mail to my internal servers, see the picture
below:

[MXs Server] [Postfix]
 [Postfix] -> { Delivery } - [Mail
Server 1]
-> [DSPAM] as a content filter
[DSPAM] - [Mail Server
2]
  |___ (SMTP Reinjection)
| -
[Mail Server 1]


I compile dspam with this options:

./configure --enable-shared --disable-static --enable-daemon
--enable-clamav --enable-syslog --enable-large-scale
--enable-virtual-users --with-gnu-ld --with-pic
--with-storage-driver=mysql_drv,hash_drv
--with-mysql-includes=/usr/include/mysql
--with-mysql-libraries=/usr/lib/mysql --enable-debug

These are my  dspam.conf and master.cf.

dspam.conf:
Home /usr/local/var/dspam
StorageDriver /usr/local/lib/libmysql_drv.so
DeliveryHost127.0.0.1
DeliveryPort10025
DeliveryIdent   localhost
DeliveryProto   SMTP
OnFail error
Trust root
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Trust postfix
Trust postdrop
Trust dspam
Trust nobody
Trust apache
Debug *
TrainingMode teft
TestConditionalTraining on
Feature whitelist
Algorithm graham burton
Tokenizer chain
PValue bcr
WebStats on
Preference "spamAction=quarantine"
Preference "signatureLocation=message"  # 'message' or 'headers'
Preference "showFactors=off"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
#MySQLServer /var/lib/mysql/mysql.sock
MySQLServer 127.0.0.1
MySQLPort   3306
MySQLUser   dspamuser
MySQLPass   beelkedo
MySQLDb dspamdb
MySQLCompress   true
HashRecMax  98317
HashAutoExtend  on
HashMaxExtents  0
HashExtentSize  49157
HashPctIncrease 10
HashMaxSeek 10
HashConnectionCache 10
Notifications   off
PurgeSignatures 14  # Stale signatures
PurgeNeutral90  # Tokens with neutralish probabilities
PurgeUnused 90  # Unused tokens
PurgeHapaxes30  # Tokens with less than 5 hits (hapaxes)
PurgeHits1S 15  # Tokens with only 1 spam hit
PurgeHits1I 15  # Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog on
UserLog   on
Opt out
ServerPID  /var/run/dspam.pid
ServerMode auto
ServerParameters"--deliver=innocent"
#ServerDomainSocketPath   "/var/spool/postfix/tmp/dspam.sock"
ServerDomainSocketPath   "/tmp/dspam.sock"
ProcessorURLContext on
ProcessorBias on



master.cf (the rest of the file is the default conf)

smtp  inet  n   -   n   -   -smtpd
   -o content_filter=lmtp:unix:/tmp/dspam.sock

127.0.0.1:10025 inetn   -   n   -   -   smtpd
  -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  -o smtpd_client_restrictions=
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o receive_override_options=no_unknown_recipient_checks

>From the doc/postfix.txt I run as root dspam --daemon &

and try to send a mail to any user of my local email servers and I get
this error in maillog:


Dec 22 04:19:05 mail1 postfix/lmtp[18794]: 0A18F2F50D7:
to=<[EMAIL PROTECTED]>, orig_to=, relay=none,
delay=5.7, delays=5.6/0.01/0/0, dsn=4.4.1, status=deferred (connect to
mail1[/tmp/dspam.sock]: Permission denied)

Here you have Other info:

#ll /usr/local/var/dspam/
total 8
drwxrwx--- 2 root mail 4096 Dec 22 03:04 log

#netstat -anp|grep master
tcp0  0 127.0.0.1:10025 0.0.0.0:*
 LISTEN  18378/master
tcp0  0 0.0.0.0:25  0.0.0.0:*
 LISTEN  18378/master

#netstat  -anp|grep dspam
tcp0  0 127.0.0.1:42630 127.0.0.1:3306
 ESTABLISHED 18835/dspam
tcp0  0 127.0.0.1:42631 127.0.0.1:3306
 ESTABLISHED 18835/dspam
tcp0  0 127.0.0.1:42632 127.0.0.1:3306
 ESTABLISHED 18835/dspam
unix  2  [ ACC ] STREAM LISTENING 85516  18835/dspam
  /tmp/dspam.sock

Please, I'm stoped here.. can you help me?
thanks in advance

-- 
Regards;
Israel Garcia


[dspam-users] Attachments

2007-12-22 Thread Juan Manuel

Dear List,

I would like to ask you, this time, if one of my users (on a 
shared,managed group) send me a spam mail as attachment (to report that 
they've received spam), this attachemnt is also analized by dSpam.

As I have TEFT filetering atm, it could cause some bad training or not.

I'm open to suggestions.

Regards,
Juan.