Re: [xmail] SPF update?

2013-05-22 Thread Spyros Tsiolis
- Original Message -

From: U.Mutlu um4...@mutluit.com
To: XMail Users Mailing List xmail@xmailserver.org
Cc: 
Sent: Wednesday, 22 May 2013, 0:52
Subject: Re: [xmail] SPF update?

Too bad xmail doesn't have natively spf-support yet, many other mailers do:
http://www.openspf.org/Implementations

Here's a description of my solution of SPF with xmail:

I tried to use the xm-spf.pl, but perl reported some errors about
a missing component or so. Then I found a package named spfquery
in the Debian repository, it's an executable (or maybe just a perl script?).
So I managed to write a small filter programm (for filters.pre-data.tab) in 
C/C++,
and from within that I'm calling the spfquery program with the right parameters.
This works well. I can recommend it.
It needs just 3 parameters (all supplied by xmail to the filter), like so:
   spfquery --ip=x.x.x.x --mfrom=u...@example.com --helo=hostname.com
and returns a few lines where the first is the status, like pass, fail, 
softfail etc.
For more info one should consult the man page of spfquery.
But: one has to do some reformatting of the params, for example stripping off
the braces from the ip [x.x.x.x]

And here is an spf tester:
http://www.kitterman.com/spf/validate.html

Hope this info helps others wanting to add SPF-protection to their xmail server.

But beware: this stuff is IMHO very advanced stuff, one needs some experience
with DNS records, and some experience in writing a filter, ie. programming.
So, my advice: if possible just hire someone who already has experience in this 
stuff and xmail.

cu
uenal


Edinilson - ATINET wrote, On 05/21/2013 09:26 PM:
 Below a message from Davide about SPF:

 --
 On Thu, 29 Jan 2009, Ralf wrote:

 I'm trying to switch from qmail to xmail.
 There I had SPF activated and would like to use SPF also in xmail.
 I saw that there is a perl script for SPF
 (http://www.xmailserver.org/xm-spf.pl),
 but how do I integrate it into xmail?

 Suggestion. Leave SPF alone. Nobody is using it and its contribution on 
 SPAM-cutting on my servers was totally
 irrelevant WRT greylisting and RBLs.
 The whole SPF project tanked, badly.



 - Davide
 --




 Edinilson
 --
 ATINET
 Tel Voz: (0xx11) 4412-0876
 http://www.atinet.com.br


 - Original Message - From: U.Mutlu um4...@mutluit..com
 To: xmail@xmailserver.org
 Sent: Sunday, May 19, 2013 4:31 PM
 Subject: [xmail] SPF update?


 Hi Davide  All,

 just a question: does the SPF script (xm-spf.pl) cover the
 final SPFv1 specification (RFC 4408) as depicted here:
  http://www.openspf.org/Specifications

 The script is from the year 2004, but the above RFC was ratified in 2006.
 Can something go wrong when the script is used nowadays?

 Thx

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

















Like Davide said, SPF is a failed attempt.
True there is a way to make SPF work.
As far as I know, the admin has to devise a small
script and make sure it is added in the companys
DNSs on the MX record for the server.

Something like this :

v=spf1 ip4:IP.ADD.RE.SS/32 mx ~all

However, SPF never actually delivered what it promised.

Just my 2c,

s.




 

I merely function as a channel that filters 
music through the chaos of noise
- Vangelis
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] SPF update?

2013-05-21 Thread Edinilson - ATINET

Below a message from Davide about SPF:

--
On Thu, 29 Jan 2009, Ralf wrote:


I'm trying to switch from qmail to xmail.
There I had SPF activated and would like to use SPF also in xmail.
I saw that there is a perl script for SPF
(http://www.xmailserver.org/xm-spf.pl),
but how do I integrate it into xmail?


Suggestion. Leave SPF alone. Nobody is using it and its contribution on 
SPAM-cutting on my servers was totally irrelevant WRT greylisting and RBLs.

The whole SPF project tanked, badly.



- Davide
--




Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - 
From: U.Mutlu um4...@mutluit.com

To: xmail@xmailserver.org
Sent: Sunday, May 19, 2013 4:31 PM
Subject: [xmail] SPF update?



Hi Davide  All,

just a question: does the SPF script (xm-spf.pl) cover the
final SPFv1 specification (RFC 4408) as depicted here:
 http://www.openspf.org/Specifications

The script is from the year 2004, but the above RFC was ratified in 2006.
Can something go wrong when the script is used nowadays?

Thx
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] SPF update?

2013-05-21 Thread U.Mutlu

Too bad xmail doesn't have natively spf-support yet, many other mailers do:
http://www.openspf.org/Implementations

Here's a description of my solution of SPF with xmail:

I tried to use the xm-spf.pl, but perl reported some errors about
a missing component or so. Then I found a package named spfquery
in the Debian repository, it's an executable (or maybe just a perl script?).
So I managed to write a small filter programm (for filters.pre-data.tab) in 
C/C++,
and from within that I'm calling the spfquery program with the right parameters.
This works well. I can recommend it.
It needs just 3 parameters (all supplied by xmail to the filter), like so:
  spfquery --ip=x.x.x.x --mfrom=u...@example.com --helo=hostname.com
and returns a few lines where the first is the status, like pass, fail, 
softfail etc.
For more info one should consult the man page of spfquery.
But: one has to do some reformatting of the params, for example stripping off
the braces from the ip [x.x.x.x]

And here is an spf tester:
http://www.kitterman.com/spf/validate.html

Hope this info helps others wanting to add SPF-protection to their xmail server.

But beware: this stuff is IMHO very advanced stuff, one needs some experience
with DNS records, and some experience in writing a filter, ie. programming.
So, my advice: if possible just hire someone who already has experience in this 
stuff and xmail.

cu
uenal


Edinilson - ATINET wrote, On 05/21/2013 09:26 PM:

Below a message from Davide about SPF:

--
On Thu, 29 Jan 2009, Ralf wrote:


I'm trying to switch from qmail to xmail.
There I had SPF activated and would like to use SPF also in xmail.
I saw that there is a perl script for SPF
(http://www.xmailserver.org/xm-spf.pl),
but how do I integrate it into xmail?


Suggestion. Leave SPF alone. Nobody is using it and its contribution on 
SPAM-cutting on my servers was totally
irrelevant WRT greylisting and RBLs.
The whole SPF project tanked, badly.



- Davide
--




Edinilson
--
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - From: U.Mutlu um4...@mutluit.com
To: xmail@xmailserver.org
Sent: Sunday, May 19, 2013 4:31 PM
Subject: [xmail] SPF update?



Hi Davide  All,

just a question: does the SPF script (xm-spf.pl) cover the
final SPFv1 specification (RFC 4408) as depicted here:
 http://www.openspf.org/Specifications

The script is from the year 2004, but the above RFC was ratified in 2006.
Can something go wrong when the script is used nowadays?

Thx


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail