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.

system_filter_file_transport is unset

Discussion in 'General Discussion' started by synax, May 18, 2005.

  1. synax

    synax Member

    Joined:
    Jun 24, 2002
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I keep getting the following errors in exim_mainlog, How do I set the system_filter_file_transport


    2005-05-18 09:54:54 1DYRop-0007Jh-OR original recipients ignored (system filter)
    2005-05-18 09:54:54 1DYRop-0007Jh-OR == /var/mail/spamdrop <system-filter> routing defer (-1): system_filter_file_transport is unset
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Unless you've made modifications to the exim configuration, I'd suggest you try the following:

    rm -f /etc/exim.conf.local
    /scripts/buildeximconf
    /scripts/updatenow
    /scripts/eximup --force
     
  3. synax

    synax Member

    Joined:
    Jun 24, 2002
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I put some things in the antivirus.exim file to block emails by subject and content.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Ah, well since antivirus.exim is included as the system_filter, then you've clearly made a mistake as the error shows, so that's where you need to start to fix it.
     
  5. synax

    synax Member

    Joined:
    Jun 24, 2002
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    did what you mentioned above, still get the following.

    2005-05-18 16:53:41 1DYYM8-0002lt-Gd original recipients ignored (system filter)
    2005-05-18 16:53:41 1DYYM8-0002lt-Gd == /var/mail/spamdrop <system-filter> routing defer (-1): system_filter_file_transport is unset



    Here is what I added to antivirus.exim

    if
    $header_subject: contains "{filename?} Your email was blocked"
    then
    save /dev/null
    endif

    if
    $header_subject: contains "{filename?}"
    then
    save /var/mail/spamdrop
    endif


    # Exim filter
    if error_message then finish endif

    # When THINGS don't need enlargements...
    if
    $message_body contains "Lese selbst"
    or $message_body contains "EU-Abgeordnete"
    or $message_body contains "Krankenversicherungen"
    or $message_body contains "vervierfachten"
    or $message_body contains "Weiter auf"
    or $message_body contains "http://www.spiegel.de"
    or $message_body contains "http://service.spiegel.de"
    or $message_body contains "npd.de"
    or $message_body contains "rp-online.de"
    or $message_body contains "berlinonline.de"
    or $message_body contains "http://www.aufenthaltstitel.de"
    or $message_body contains "fruehen"
    or $message_body contains "in diesen"
    then
    save /var/mail/spamdrop
    #or what ever action you want to take
    endif
     
  6. synax

    synax Member

    Joined:
    Jun 24, 2002
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Anyone?

    Okay, I have tried a lot of things, how do you "Set" system_filter_file_transport?

    I have put this into exim.conf and its not helping.

    #!!# message_filter renamed system_filter
    system_filter = /etc/antivirus.exim
    system_filter_user = root
    system_filter_file_transport = /dev/null

    Anyone have any suggestions?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's not something that I've played with. Your best resource is over at http://www.exim.org when you're tweaking ACL's. One thing to check, does mailnull:mail have write access to the file /var/log/spamdrop?
     

Share This Page