LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-06-2009, 01:33 AM   #1
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Rep: Reputation: 30
Starting spf-milter: spf-milter: Milter for 'spf-milter' not found in /etc/mail/sendm


Hi ,
Anyone has implemented sendmail-milter-spf successfully?

I was following Hirantha Wijayawardena's article on spf-milter setup with sendmail: http://mail.lug.lk/lurker/message/20....html#articles

It is simple but unfortunately i couldn't do it successfully.

I did exactly the same, lining in the line:

define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`,
{verify}')dnl INPUT_MAIL_FILTER (`spf-milter', `S=local:/var/spf-
milter/spf-milter.sock, F=T, T=C:4m;S:4m;R:8m;E:16m')dnl

in sendmail.mc

then
rebuild sendmail.cf: m4 /etc/mail/sendmail.mc > /etc/mail/sendmailcf

then the problem comes when i need to restart spf-milter

# service spf-milter start
Starting spf-milter: spf-milter: Milter for 'spf-milter' not found in /etc/mail/sendmail.cf!
[FAILED]


Apparently its probably couldnt find a configuration for spf-milter in sendmail.cf, but i have inserted the above lines into sendmail.mc and rebuild into sendmail.cf.

I am blur, where was wrong, hope someone else have done a successful configuration on this spf, the online resource is quite limited.

thanks for taking time reading!

Regards
Y
 
Old 07-06-2009, 03:07 AM   #2
Niceman2005
Member
 
Registered: Nov 2004
Distribution: Fedora Core 2
Posts: 330

Original Poster
Rep: Reputation: 30
Hi,

Problem solved.
Instead of editing sendmail.mc then rebuild, i directly edited sendmail.cf by adding this line under

MAIL FILTER DEFINITIONS

Xspf-milter, S=local:/var/run/spf-milter/spf-milter.sock, F=T, T=C:4m;R:8m;E:16m


Now, spf-milter can start, sendmail also can start.
Will monitor its effectiveness, hopefully it is helping to reduce spoof mails.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with milter dimm_coder Programming 1 12-30-2009 05:56 AM
milter Ammad Linux - Networking 1 11-19-2006 04:43 PM
linux mail server with milter sailu_mvn Linux - Software 1 01-06-2006 10:47 PM
SpamAssasin Slackware 10.1 spamass-milter - mail loop banga Slackware 1 03-11-2005 08:13 PM
Controlling mail using Sendmail Milter ronferns Linux - Software 0 11-29-2004 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration