LJ new user on the list

"L. Jankok" <[email protected]> Sun, 16 Oct 2016 10:42:51 +0200
Newsgroups gmane.mail.spam.dspam.user
Message-ID <[email protected]>
> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============8798098317955317002==
Content-type: multipart/alternative;
	boundary="B_3559459377_1669549357"

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3559459377_1669549357
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

Hi Fellow dspam users,

=20

I am new to the list.=20

This week I have implemented dspam successfully with postfix using transpor=
t maps.

=20

In less than 48 hours dspam is filtering out those difficult spam mails whi=
ch passes

the postscreen tests.

=20

Hereby I share my dspam implementation strategy and choices.

=20

I have a basic setup. I use postfix for all the selection logic. With postf=
ix I can

filter which (sub)domain or e-mail address will be passed to the dspam sock=
et.

Dspam reinjects the mail into postfix and postfix depending on the (sub)dom=
ain

or user, sends the mail to a particular internal protected mailserver.=20

=20

Here are relevant snippets of my dspam configuration file.

=20

# keep it simple

StorageDriver /usr/local/lib/dspam/libhash_drv.so

=20

# reinject into postfix using smtp

DeliveryHost=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 127.0.0.1

DeliveryPort=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1026

DeliveryIdent=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dspam.localhost

DeliveryProto=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 SMTP

=20

# for now train on everything

TrainingMode teft

Algorithm graham burton

=20

# as advised

Tokenizer osb

PValue bcr

=20

# tag the mail with a specific message.

# using the no spam tag, a companywide disclaimer

# can be enforced (just a matter of creativity)

Preference "spamAction=3Dtag"

Preference "statisticalSedation=3D5"

Preference "signatureLocation=3Dheaders"

=20

# again keep it simple=20

# make a postfix transport to retrain dspam =C2=A0

ParseToHeaders off

ChangeModeOnParse off

ChangeUserOnParse off

=20

# User@domain is equal to user@Domain

Broken case

=20

# make dspam talk lmtp

ServerMode standard

=20

# spam mails are delivered after being tagged and after

# the subject has been preceded with [SPAM]

# On the internal mail server a companywide rule tags

# the mail as junk and move it to the users SPAM

# folder

ServerParameters=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "--deliver=3Dinnocent,spam -d %u"

=20

---- end relevant parts of dspam config

=20

# group file content

groupone:classification:global-user*

=20

# global-user preferences file content

trainingMode=3DTOE

=20

Users don=E2=80=99t want to be bothered with details. They want

a configuration which works out of the box.=20

Optionally users can send a mail to [email protected] or

[email protected] to retrain for their specific account.

=20

The system is fed by a couple of motivated users and because

of the group type everyone will benefit.=20

=20

=20

Take care,

=20

LJ


--B_3559459377_1669549357
Content-type: text/html;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:schema=
s-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/office/20=
04/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DTitle c=
ontent=3D""><meta name=3DKeywords content=3D""><meta http-equiv=3DContent-Type conte=
nt=3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft Word 1=
5 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Monaco;
	panose-1:2 0 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:Calibri;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Calibri;
	color:windowtext;}
span.msoIns
	{mso-style-type:export-only;
	mso-style-name:"";
	text-decoration:underline;
	color:teal;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:Calibri;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:595.0pt 842.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style></head><body bgcolor=3Dwhite lang=3DEN-GB link=3D"#0563C1" vlink=3D"#954=
F72"><div class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US style=3D'font=
-size:11.0pt'>Hi Fellow dspam users,<o:p></o:p></span></p><p class=3DMsoNormal=
><span lang=3DEN-US style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p cl=
ass=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>I am new to the list=
. <o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size=
:11.0pt'>This week I have implemented dspam successfully with postfix using =
transport maps.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US sty=
le=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span l=
ang=3DEN-US style=3D'font-size:11.0pt'>In less than 48 hours dspam is filtering =
out those difficult spam mails which passes<o:p></o:p></span></p><p class=3DMs=
oNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>the postscreen tests.<o:p>=
</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt=
'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'fon=
t-size:11.0pt'>Hereby I share my dspam implementation strategy and choices.<=
o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11=
.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D=
'font-size:11.0pt'>I have a basic setup. I use postfix for all the selection=
 logic. With postfix I can<o:p></o:p></span></p><p class=3DMsoNormal><span lan=
g=3DEN-US style=3D'font-size:11.0pt'>filter which (sub)domain or e-mail address =
will be passed to the dspam socket.<o:p></o:p></span></p><p class=3DMsoNormal>=
<span lang=3DEN-US style=3D'font-size:11.0pt'>Dspam reinjects the mail into post=
fix and postfix depending on the (sub)domain<o:p></o:p></span></p><p class=3DM=
soNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>or user, sends the mail t=
o a particular internal protected mailserver. <o:p></o:p></span></p><p class=
=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></span=
></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>Here are r=
elevant snippets of my dspam configuration file.<o:p></o:p></span></p><p cla=
ss=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'><o:p>&nbsp;</o:p></sp=
an></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'># keep i=
t simple<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0=
pt;font-family:Monaco;color:black'>StorageDriver /usr/local/lib/dspam/libhas=
h_drv.so<o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'=
><span style=3D'font-size:10.0pt;font-family:Monaco;color:black'><o:p>&nbsp;</=
o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'f=
ont-size:10.0pt;font-family:Monaco;color:black'># reinject into postfix usin=
g smtp<o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><=
span style=3D'font-size:10.0pt;font-family:Monaco;color:black'>DeliveryHost=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 127.0.0.1<o:p></o:p></span></p><p class=3DMsoNormal style=3D=
'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:Monaco;color=
:black'>DeliveryPort=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1026<o:p></o:p></span></p><p clas=
s=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-f=
amily:Monaco;color:black'>DeliveryIdent=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dspam.localhost<=
o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-f=
amily:Monaco;color:black'>DeliveryProto=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 SMTP<o:p></o:p><=
/span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monac=
o;color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'f=
ont-size:10.0pt;font-family:Monaco;color:black'># for now train on everythin=
g<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font=
-family:Monaco;color:black'>TrainingMode teft<o:p></o:p></span></p><p class=3D=
MsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;color:black'>Algo=
rithm graham burton<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'fon=
t-size:10.0pt;font-family:Monaco;color:black'><o:p>&nbsp;</o:p></span></p><p=
 class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;color:blac=
k'># as advised<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-si=
ze:10.0pt;font-family:Monaco;color:black'>Tokenizer osb<o:p></o:p></span></p=
><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;color:b=
lack'>PValue bcr<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-s=
ize:10.0pt;font-family:Monaco;color:black'><o:p>&nbsp;</o:p></span></p><p cl=
ass=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;color:black'>=
# tag the mail with a specific message.<o:p></o:p></span></p><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:Monaco;color:black'># using th=
e no spam tag, a companywide disclaimer<o:p></o:p></span></p><p class=3DMsoNor=
mal><span style=3D'font-size:10.0pt;font-family:Monaco;color:black'># can be e=
nforced (just a matter of creativity)<o:p></o:p></span></p><p class=3DMsoNorma=
l><span style=3D'font-size:10.0pt;font-family:Monaco;color:black'>Preference &=
quot;spamAction=3Dtag&quot;<o:p></o:p></span></p><p class=3DMsoNormal><span styl=
e=3D'font-size:10.0pt;font-family:Monaco;color:black'>Preference &quot;statist=
icalSedation=3D5&quot;<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'fo=
nt-size:10.0pt;font-family:Monaco;color:black'>Preference &quot;signatureLoc=
ation=3Dheaders&quot;<o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-auto=
space:none'><span style=3D'font-size:10.0pt;font-family:Monaco;color:black'><o=
:p>&nbsp;</o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><sp=
an style=3D'font-size:10.0pt;font-family:Monaco;color:black'># again keep it s=
imple <o:p></o:p></span></p><p class=3DMsoNormal style=3D'text-autospace:none'><=
span style=3D'font-size:10.0pt;font-family:Monaco;color:black'># make a postfi=
x transport to retrain dspam =C2=A0<o:p></o:p></span></p><p class=3DMsoNormal styl=
e=3D'text-autospace:none'><span style=3D'font-size:10.0pt;font-family:Monaco;col=
or:black'>ParseToHeaders off<o:p></o:p></span></p><p class=3DMsoNormal style=3D'=
text-autospace:none'><span style=3D'font-size:10.0pt;font-family:Monaco;color:=
black'>ChangeModeOnParse off<o:p></o:p></span></p><p class=3DMsoNormal><span s=
tyle=3D'font-size:10.0pt;font-family:Monaco;color:black'>ChangeUserOnParse off=
<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-=
family:Monaco;color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><s=
pan style=3D'font-size:10.0pt;font-family:Monaco;color:black'># User@domain is=
 equal to user@Domain<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'f=
ont-size:10.0pt;font-family:Monaco;color:black'>Broken case<o:p></o:p></span=
></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;col=
or:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-s=
ize:10.0pt;font-family:Monaco;color:black'># make dspam talk lmtp<o:p></o:p>=
</span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Mona=
co;color:black'>ServerMode standard<o:p></o:p></span></p><p class=3DMsoNormal>=
<span style=3D'font-size:10.0pt;font-family:Monaco;color:black'><o:p>&nbsp;</o=
:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:M=
onaco;color:black'># spam mails are delivered after being tagged and after<o=
:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa=
mily:Monaco;color:black'># the subject has been preceded with [SPAM]<o:p></o=
:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:M=
onaco;color:black'># On the internal mail server a companywide rule tags<o:p=
></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fami=
ly:Monaco;color:black'># the mail as junk and move it to the users SPAM<o:p>=
</o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-famil=
y:Monaco;color:black'># folder<o:p></o:p></span></p><p class=3DMsoNormal><span=
 style=3D'font-size:10.0pt;font-family:Monaco;color:black'>ServerParameters=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 &quot;--deliver=3Dinnocent,spam -d %u&quot;<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;color:black=
'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0=
pt;font-family:Monaco;color:black'>---- end relevant parts of dspam config<o=
:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-fa=
mily:Monaco;color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><spa=
n style=3D'font-size:10.0pt;font-family:Monaco;color:black'># group file conte=
nt<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;fon=
t-family:Monaco;color:black'>groupone:classification:global-user*<o:p></o:p>=
</span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Mona=
co;color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'=
font-size:10.0pt;font-family:Monaco;color:black'># global-user preferences f=
ile content<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:1=
0.0pt;font-family:Monaco;color:black'>trainingMode=3DTOE<o:p></o:p></span></p>=
<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;color:#F=
2F2F2'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D'font-size=
:10.0pt;font-family:Monaco;color:black'>Users don&#8217;t want to be bothere=
d with details. They want<o:p></o:p></span></p><p class=3DMsoNormal><span styl=
e=3D'font-size:10.0pt;font-family:Monaco;color:black'>a configuration which wo=
rks out of the box. <o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'fo=
nt-size:10.0pt;font-family:Monaco;color:black'>Optionally users can send a m=
ail to <a href=3D"mailto:[email protected]">[email protected]</a> or<o:p></o:p></s=
pan></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Monaco;=
color:black'><a href=3D"mailto:[email protected]">[email protected]</a> to r=
etrain for their specific account.<o:p></o:p></span></p><p class=3DMsoNormal><=
span style=3D'font-size:10.0pt;font-family:Monaco;color:black'><o:p>&nbsp;</o:=
p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:Mo=
naco;color:black'>The system is fed by a couple of motivated users and becau=
se<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;fon=
t-family:Monaco;color:black'>of the group type everyone will benefit. <o:p><=
/o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family=
:Monaco;color:black'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span st=
yle=3D'font-size:10.0pt;font-family:Monaco;color:black'><o:p>&nbsp;</o:p></spa=
n></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>Take care=
,<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:=
11.0pt'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US styl=
e=3D'font-size:11.0pt'>LJ<o:p></o:p></span></p></div></body></html>

--B_3559459377_1669549357--




--===============8798098317955317002==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============8798098317955317002==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

--===============8798098317955317002==--