스팸필터링 SPF 설치 도와주세요.

mysystem의 이미지

CentOS 4.2 기반의 수퍼유저코리아 SULinux 를 쓰고 있습니다.
sendmail을 쓰고 있는데 요즘 스팸을 하루에 20통 가량 받고 있습니다.
주로 위변조 메일을 통해 받아지고 있는데 이 것을 방지하기 위한 방법이 SPF 라고 알고 있습니다.
그래서 커피닉스의 다음 문서를 보면서 설치를 진행하였습니다.

http://coffeenix.net/board_view.php?bd_code=1426

첫번째 단계인 libspf2 http://www.libspf2.org/download.html 이곳에서 다운받아 소스설치가 에러없이 제대로 이루어졌습니다.

그러나, spfmilter 의 경우 http://www.acme.com/software/spfmilter/ 이 곳에서 다운받아 진행하였는데

configure 부터 에러가 있는 것 같습니다.

cnofigure 시 에러가 시작되는 부분은 다음과 같습니다.

checking libmilter/mfapi.h usability... no
checking libmilter/mfapi.h presence... no
checking for libmilter/mfapi.h... no
checking libspf/spf.h usability... no
checking libspf/spf.h presence... no
checking for libspf/spf.h... no
checking spf2/spf.h usability... no
checking spf2/spf.h presence... no
checking for spf2/spf.h... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for daemon... yes
checking for setsid... yes
checking for getopt_long... yes
checking for library containing SPF_init... no
checking for library containing SPF_create_config... no
checking for pthread_create in -lc_r... no
checking for pthread_create in -lpthread... yes
checking for smfi_main in -lmilter... no
checking for smfi_insheader... no
configure: creating ./config.status
config.status: creating Makefile

그리고, make 시에는 다음과 같이 진행되면서 모두 에러가 발생합니다.

# make
gcc -g -O2 -I/usr/local/include -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_PWD_H=1 -DHAVE_GRP_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_GETOPT_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_DAEMON=1 -DHAVE_SETSID=1 -DHAVE_GETOPT_LONG=1 -DHAVE_LIBPTHREAD=1 -c spfmilter.c
spfmilter.c:75:29: libmilter/mfapi.h: 그런 파일이나 디렉토리가 없음

이후 모두 에러.....

지식이 부족해서 어디가 원인인지 밝혀내질 못햇습니다.

SPF 설치하시다가 이런 경험하신 분들의 도움을 요청합니다.

김정균의 이미지

sendmail 이 milter 를 지원하도록 빌드되어 있나요? CentOS 라면 어쩌면
sendmail-devel 패키지가 존재한다면 이를 설치해야 할 수도 있습니다.
libmilter/mfapi.h 가 없다는 말은 sendmail 이 milter 를 지원하지 않도록
빌드가 되었다거나 또는, CentOS 에서 sendmail package 를 만들때 헤더 파일
들을 sendmail-devel package 로 분리해 놓았고, 이 패키지가 설치가 되지
않아서 일 수도 있습니다. 아마 후자가 확률이 높을 겁니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.