نمایش نتایج: از شماره 1 تا 5 , از مجموع 5

موضوع: مشکل در نصب آنتی اسپم spamassassin در دایرکت ادمین

  1. #1
    عضو انجمن
    تاریخ عضویت
    May 2010
    نوشته ها
    306
    تشکر تشکر کرده 
    419
    تشکر تشکر شده 
    183
    تشکر شده در
    120 پست

    Question مشکل در نصب آنتی اسپم spamassassin در دایرکت ادمین

    می خواستم spamassassin را در دایرکت ادمین فعال کنم پیغم داد که spamd در سیستم نیست وباید نصب شود و لینک زیر را داد:
    DirectAdmin Knowledge Base
    دستور./spam.sh را انجام دادم.
    در پایان خطای زیر را داد:

    ************************************************** *************************
    ERROR: the required Archive::Tar module is not installed,
    minimum required version is 1.23.

    The "sa-update" program requires this module to access tar update
    archive files.


    ************************************************** *************************
    ERROR: the required IO::Zlib module is not installed,
    minimum required version is 1.04.

    The "sa-update" program requires this module to access compressed
    update archive files.


    ************************************************** *************************
    NOTE: the optional Digest::SHA module is not installed.

    The Digest::SHA module is required by the DKIM plugin.

    Use of uninitialized value in concatenation (.) or string at lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 324.

    ************************************************** *************************
    NOTE: the optional Mail::SPF module is installed (),
    but is below the minimum required version 0,
    some functionality will not be available.

    Used to check DNS Sender Policy Framework (SPF) records to fight email
    address forgery and make it easier to identify spams.


    ************************************************** *************************
    NOTE: the optional IP::Country module is not installed.

    Used by the RelayCountry plugin (not enabled by default) to determine
    the domain country codes of each relay in the path of an email.


    ************************************************** *************************
    NOTE: the optional Razor2 module is not installed,
    minimum required version is 2.61.

    Used to check message signatures against Vipul's Razor collaborative
    filtering network. Razor has a large number of dependencies on CPAN
    modules. Feel free to skip installing it, if this makes you nervous;
    SpamAssassin will still work well without it.

    More info on installing and using Razor can be found
    at InstallingRazor - Spamassassin Wiki .


    ************************************************** *************************
    NOTE: the optional Net::Ident module is not installed.

    If you plan to use the --auth-ident option to spamd, you will need
    to install this module.


    ************************************************** *************************
    NOTE: the optional IO::Socket::INET6 module is not installed.

    This is required if the first nameserver listed in your IP
    configuration or /etc/resolv.conf file is available only via an
    IPv6 address. Also used by a DCC plugin to access dccifd over network.


    ************************************************** *************************
    NOTE: the optional Mail::DKIM module is not installed,
    minimum required version is 0.31, recommended version is 0.37 or higher.

    If this module is installed and the DKIM plugin is enabled,
    SpamAssassin will perform DKIM signature verification when DKIM-Signature
    header fields are present in the message headers, and check ADSP rules
    (e.g. anti-phishing) when a mail message does not contain a valid author
    domain signature. Version 0.37 or later is needed to fully support ADSP.


    ************************************************** *************************
    NOTE: the optional Encode::Detect module is not installed.

    If you plan to use the normalize_charset config setting to detect
    charsets and convert them into Unicode, you will need to install
    this module.

    REQUIRED module missing: Archive::Tar
    REQUIRED module missing: IO::Zlib
    optional module missing: Digest::SHA
    optional module out of date: Mail::SPF
    optional module missing: IP::Country
    optional module missing: Razor2
    optional module missing: Net::Ident
    optional module missing: IO::Socket::INET6
    optional module missing: Mail::DKIM
    optional module missing: Encode::Detect

    warning: some functionality may not be available,
    please read the above report before continuing!

    make: *** No targets specified and no makefile found. Stop.
    make: *** No rule to make target `install'. Stop.
    Cannot find /usr/bin/sa-update after install. Check for errors above.


    run:
    /usr/bin/spamd -d -c -m 15
    و صدور دستور
    /usr/bin/spamd -d -c -m 15

    پیغام می دهد:
    -bash: /usr/bin/spamd: No such file or directory

    لطفا راهنمایی کنید. لینوکس سنت او اس

  2. # ADS




     

  3. #2
    عضو دائم
    تاریخ عضویت
    Sep 2008
    نوشته ها
    1,732
    تشکر تشکر کرده 
    32
    تشکر تشکر شده 
    3,299
    تشکر شده در
    1,408 پست

    پیش فرض پاسخ : مشکل در نصب آنتی اسپم spamassassin در دایرکت ادمین

    ماژول های مورد نیاز رو باید نصب کنید

    yum install perl-Archive-Tar perl-IO-Zlib

    * به کوچکی و بزرگی حروف دقت کنید .

    بقیه ارور ها مربوط به نصب نشدن سرویس spamd و نداشتن ابزار ( ماژول) هست .
    ویرایش توسط Online24 : July 19th, 2010 در ساعت 13:28 دلیل: اصلاح نام پکیج ( کوچکی و بزرگی حروف )

  4. تعداد تشکر ها از Online24 به دلیل پست مفید


  5. #3
    عضو انجمن
    تاریخ عضویت
    May 2010
    نوشته ها
    306
    تشکر تشکر کرده 
    419
    تشکر تشکر شده 
    183
    تشکر شده در
    120 پست

    پیش فرض پاسخ : مشکل در نصب آنتی اسپم spamassassin در دایرکت ادمین

    مرسی

  6. #4
    عضو انجمن
    تاریخ عضویت
    May 2010
    نوشته ها
    306
    تشکر تشکر کرده 
    419
    تشکر تشکر شده 
    183
    تشکر شده در
    120 پست

    پیش فرض پاسخ : مشکل در نصب آنتی اسپم spamassassin در دایرکت ادمین

    چند روز پیش نصب spamd با موفقیت انجام شد و spamassassin شروع به کار کرد و آن را در پنل دایرکت ادمین تنظیم کردم. امروز دیدم یک عالمه اسپم آمده روی spamassassin در دایرکت ادمین کلیک کردم دیدم فعال نیست و این پیام را داده:
    Unable to setup spamassassin

    Details

    Spamd is not running on your system.
    Click Here to learn how to enable it
    توسط SSH این دستور را دادم:
    /usr/bin/spamd -d -c -m 15
    این پیغام آمد:
    Jul 22 05:19:23.469 [10835] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:24.470 [10835] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:25.471 [10835] warn: server socket setup failed, retry 3: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:26.472 [10835] warn: server socket setup failed, retry 4: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:27.474 [10835] warn: server socket setup failed, retry 5: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:28.476 [10835] warn: server socket setup failed, retry 6: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:29.478 [10835] warn: server socket setup failed, retry 7: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:30.480 [10835] warn: server socket setup failed, retry 8: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:31.482 [10835] warn: server socket setup failed, retry 9: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    Jul 22 05:19:32.484 [10835] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    spamd: could not create INET socket on 127.0.0.1:783: Address already in use
    راه حل چیست؟

    ---------- Post added 10-07-23 at 12:09 AM ---------- Previous post was 10-07-22 at 11:50 PM ----------

    پورت 783 قبلا اشغال نبود و بعدا نیز چیزی نصب نکرده بودم این پورت چگونه اشغال شده؟ آیا فایروال آن را بسته یا فایروال به پورت در آدرس 127.0.0.1 کاری ندارد؟

  7. #5
    عضو جدید
    تاریخ عضویت
    Aug 2011
    محل سکونت
    کاشان
    نوشته ها
    2
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    0
    تشکر شده در
    0 پست

    پیش فرض پاسخ : مشکل در نصب آنتی اسپم spamassassin در دایرکت ادمین

    سلام دوستان!


    من می خوام توی پنلم spamassassin رو نصب و فعال کنم ولی هنگام فعال کردن این ارور رو می ده:

    To enable Spamassassin on your server, you need to first need to install it. Once installed a few minor changes are needed in your /etc/exim.conf file.


    1) Install spamd and spamc:


    cd /usr/local/directadmin/scripts
    ./spam.sh
    If you get errors building spamd relating to missing perl modules, try using cpan to install them:
    export PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    cpan -i Archive::Tar Digest::SHA Mail::SPF IP::Country Net::Ident IO::Socket::INET6 Compress::Zlib Mail::DKIM LWP::UserAgent HTTP::Date Encode::Detect ExtUtils::MakeMaker NetAddr::IP Mail::SpamAssassin::Plugin::Razor2 Razor2::Client::Agent IO::Socket::SSL DBI
    and then run the spam.sh again.

    If it asks you:
    Are you ready for manual configuration? [yes] no
    be sure to type "no" and press enter. Only use "yes" if you really know what you're doing. The default options are going to be the most reliable.

    If after cpan has been used and the setup is complete (download servers/options, etc), you may need to use this as well if you don't wish to sit around and answer "y" to all of the "prepend to list" questions:
    export PERL_MM_USE_DEFAULT=1
    However, if you have never run cpan before, so do not set the PERL_MM_USE_DEFAULT=1 option, or else it will get you stuck in a loop for some of the config options.
    Also Related (/etc/perl/CPAN/Config.pm):
    [server]# cpan
    cpan> o conf prerequisites_policy follow
    cpan> o conf commit


    2) Start the spamd:
    /usr/bin/spamd -d -c -m 15

    3) In order to get exim to use the spamd program, you'll need to make some changes in your /etc/exim.conf. Change:
    # Spam Assassin
    #spamcheck_director:
    # driver = accept
    # condition = "${if and { \
    # {!def:h_X-Spam-Flag:} \
    # {!eq {$received_protocol}{spam-scanned}} \
    # {!eq {$received_protocol}{local}} \
    # {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
    # {<{$message_size}{100k}} \
    # } {1}{0}}"
    # retry_use_local_part
    # transport = spamcheck
    # no_verify
    to
    # Spam Assassin
    spamcheck_director:
    driver = accept
    condition = "${if and { \
    {!def:h_X-Spam-Flag:} \
    {!eq {$received_protocol}{spam-scanned}} \
    {!eq {$received_protocol}{local}} \
    {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
    {<{$message_size}{100k}} \
    } {1}{0}}"
    retry_use_local_part
    transport = spamcheck
    no_verify

    4) Restart exim:
    Redhat:
    /sbin/service exim restart

    FreeBSD:
    /usr/local/etc/rc.d/exim restart




    The global spamassassin config file is in /etc/mail/spamassassin/local.cf

    If you run debian and are missing perl or some pm files, type:
    apt-get install perl-base perl-modules



    می شه راهنمایی کنین من باید چیکار کنم!؟
    آخه یه کم تازه کارم!


    مخصوصا که واسم سواله این ادرس کجاست!؟


    cd /usr/local/directadmin/scripts
    ./spam.sh

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. پاسخ ها: 2
    آخرين نوشته: April 22nd, 2016, 17:07
  2. آموزش نصب Spamassassin
    توسط maya2010 در انجمن دايرکت ادمين DirectAdmin
    پاسخ ها: 0
    آخرين نوشته: October 14th, 2014, 10:28
  3. راهنمایی در مورد نصب و فعال سازی spamassassin
    توسط nj.sairom در انجمن دايرکت ادمين DirectAdmin
    پاسخ ها: 0
    آخرين نوشته: August 10th, 2011, 17:13
  4. وقتی اسپم میخوریم !!!
    توسط mahkoom021 در انجمن سوالات و مشکلات
    پاسخ ها: 3
    آخرين نوشته: August 3rd, 2011, 01:47
  5. آنتی اسپم
    توسط 1Mizban در انجمن سی پنل CPanel
    پاسخ ها: 14
    آخرين نوشته: November 16th, 2010, 13:03

کلمات کلیدی این موضوع

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •