The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

enabling SPF

Discussion in 'E-mail Discussions' started by erik@delphi, May 20, 2007.

  1. erik@delphi

    erik@delphi Well-Known Member

    Joined:
    Jul 9, 2005
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium
    hi Folks,

    I'm trying to enable SPF checks.The docs tells me i need this this acl and the perl module Mail::SPF::Query so

    Code:
    /scripts/perlinstaller Mail::SPF::Query
    
    spfd (the daemon) must run as the same user as exim runs so i issue this command

    Code:
    spfd --socket=/tmp/spfd --socket-user=47 --socket-group=12
    
    47 => mailnull
    12 => mail

    but it looks like my system hangs or something i have to hit ctrl + c in putty or i can't continue anything else

    Code:
    spfd (PID 13511): Listening on UNIX socket '/tmp/spfd'.
    
    This is not normal what can i do about it ? :( :confused:
     
  2. erik@delphi

    erik@delphi Well-Known Member

    Joined:
    Jul 9, 2005
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium
    bump ......
     
  3. valkira

    valkira Active Member

    Joined:
    May 3, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    It's a good thing to try, but I'm not sure that many servers support this (yet)

    And you're wrong, It doesn't hang, check your ps list:

    {dns} root #1 23:54 [/etc]> ps auxxwwf | grep spfd
    root 5104 0.0 0.0 5436 628 pts/3 S+ 23:55 0:00 | \_ grep spfd
    root 4337 0.1 0.3 12868 6532 pts/5 S+ 23:53 0:00 \_ spfd listening at UNIX socket /tmp/spfd

    But what to now - that I don't know :confused:

    EDIT:But If this is the hoped result:
    Code:
    X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL,BAYES_05,HTML_MESSAGE,
    	MIME_HTML_MOSTLY,RDNS_NONE,[B]SPF_PASS[/B] autolearn=no version=3.2.0
    Then: yes, it works, but you shoud start this command at startup, as a cron job or something like that, not from the shell :)
     
    #3 valkira, May 21, 2007
    Last edited: May 21, 2007
  4. erik@delphi

    erik@delphi Well-Known Member

    Joined:
    Jul 9, 2005
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium

    oooh the instruction do not tell you you need to start it from cron i hate it when people are to lazy to write proper docs :mad:
     
  5. valkira

    valkira Active Member

    Joined:
    May 3, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Croatia
    cPanel Access Level:
    Root Administrator
    I see now that I was very wrong in my last post, the SPF_PASS in the mail header comes from SpamAssassin because my domain has SPF record, It's not related to this so you can completely ignore my post. :eek:

    Maybe someone else will be smarter
     
  6. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    16
    What version of Exim are you running? If you could provide the exact RPM that would be awesome.

    SPF is Experimental on Exim hence not distributed on all rpms.
     
  7. erik@delphi

    erik@delphi Well-Known Member

    Joined:
    Jul 9, 2005
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium

    rpm -q exim

    exim-4.66-3_cpanel_maildir

    i'm on Redhat Enterprise Linux ES (4) if that's of any help
     
  8. fenixer

    fenixer Well-Known Member

    Joined:
    Feb 23, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    Helo!

    Could you finally use SPF filtering at Exim??
    Is stable? Can you give some reports?

    ;)
     
Loading...

Share This Page