XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Simple Spf Solution

Reply to this topicStart new topicStart Poll

> Simple Spf Solution, Sender Policy Framework solution
forth
Posted: Aug 28 2007, 07:50 PM
Quote Post


Newbie
*

Group: Members
Posts: 10
Member No.: 1270
Joined: 13-August 04



Hi

I searched the net for how to implement an SPF (Sender Policy Framework solution) to my Xmailserver. Found none....

Here is my own (ugly, but working) solution.

You need spfqtool and php_cli installed. (I use Ubuntu Feisty, so it was easy to install)

Warning for the code. It is not tested in any "heavy" installation so i might give some bad performance issues. I have about 40 users on an 2*1.7Ghz machine = no problem....

In filters.pre-data.tab i have put:
"!aex" "/program/MailRoot/filters/php_spf" "@@FILE" "/program/MailRoot/logs/" "@@USERAUTH" "@@REMOTEADDR" "@@FROM"
(You must rember where to put tab?)

/Christer
Xmailserver user for several years, moved this year from win2k to Ubuntu.
biggrin.gif

Attached File ( Number of downloads: 160 )
Attached File  spf_php


--------------------
PMEmail Poster
Top
forth
Posted: Dec 13 2007, 02:13 PM
Quote Post


Newbie
*

Group: Members
Posts: 10
Member No.: 1270
Joined: 13-August 04



New version with IP exception.

We have mailingslist on another server. I need to except it from the SPF check.

/Christer

Attached File ( Number of downloads: 271 )
Attached File  php_spf.txt


--------------------
PMEmail Poster
Top
hschneider
Posted: Dec 13 2007, 02:22 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Thank U, forth!


--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
sergiut2002
Posted: Feb 21 2010, 04:16 PM
Quote Post


Junior Member
**

Group: Members
Posts: 29
Member No.: 3111
Joined: 22-December 08



i will try it smile.gif
PMEmail PosterYahoo
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Scripting Corner | Next Newest »

Reply to this topicStart new topicStart Poll