Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    May 2004
    Location
    Phoenix, AZ
    Posts
    20

    Default Making Forwarded emails use Spam Assasin and Spam Box

    I setup Spam Assasin and Spam Box to work on my machine and everything seems to work fine when I am not using forwarding. I found that if I setup a mailbox with the forwarding SpamAssasin will do what needs to be done but it seems that Spam Box will not work at all with forwarding.

    I have read that you can edit the Exim Config file you can re arrange when these things are processed. I looked into the config file but it all seems greek. Does anyone know which changes I need to make to the file?

    This is how I want it to process.

    - Process Spam Assasin filtering
    - Move Spam to the "Spam Box"
    - Forward Email to the Email Forwader

  2. #2
    Member
    Join Date
    May 2004
    Location
    Phoenix, AZ
    Posts
    20

    Default

    Nobody has any ideas?

  3. #3
    Member Rooter's Avatar
    Join Date
    Apr 2003
    Location
    Houston, Texas, U.S.A.
    Posts
    146
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb Re: Making Forwarded emails use Spam Assasin and Spam Box

    Simply make sure Spam Assassin and Spam Box is enabled for the destination e-mail account that the forwarder sends to.

    Trying to use Spam Box before the e-mail gets to the forwarded destination is not logical because it would not be forwarding it then so your only option is to make sure the destination has Spam Assassin and Spam Box enabled.
    The Root Underground | [TRU] - Houston, Texas, U.S.A.
    TRU Networks Hosting Services www.trunetworks.com
    TRU Domains Registrar Services www.trudomains.com (Reseller/Bulk discounts available.)
    Fried nublets for breakfast, yum... [TRU] Clan Gaming Guild www.truclan.org

  4. #4
    Member
    Join Date
    May 2004
    Location
    Phoenix, AZ
    Posts
    20

    Default

    Quote Originally Posted by RootWebGod
    Simply make sure Spam Assassin and Spam Box is enabled for the destination e-mail account that the forwarder sends to.

    Trying to use Spam Box before the e-mail gets to the forwarded destination is not logical because it would not be forwarding it then so your only option is to make sure the destination has Spam Assassin and Spam Box enabled.
    The destination is my helpdesk. I have found another way to handle this process so I don't need the spambox and this is no longer an issue.

  5. #5
    Member
    Join Date
    Jul 2005
    Posts
    92

    Default

    I have a very similar problem to this, I am using osTicket helpdesk.

    What was the solution?

  6. #6
    Member
    Join Date
    Jul 2005
    Posts
    92

    Default

    I think the problem is that the mail cannot be processed by Spam Assasin before it gets piped into the helpdesk.

    The helpdesk ideally needs its own Spam Assasin.

  7. #7
    Registered User
    Join Date
    Oct 2006
    Posts
    1

    Default Precedence of filters, forwarders, and catchall.

    I'm having a similar problem with mail forwarding and the use of SpamAssassin and filters.

    I also use razor on a site in which razor is installed in SpamAssassin, so I had to write a custom mail filter. This filter uses the Mail::Audit perl package, and first checks to see if SpamAssassin flagged the mail as spam, in which case it puts it in the appropriate users spam subfolder. If it was not caught by SpamAssassin, the mail is checked in razor. If razor thinks it is spam, it is put in another spam folder, otherwise it is delivered to the appropriate user's mailbox.

    I had also set up the Catchall Accounts as :blackhole (without the trailing colon).

    Under this scenario, only defined accounts made it through. Sometimes forwarders worked, sometimes they didn't, but only mail to defined accounts made it through the filter.

    My ISP pointed out that the catchall account should be ":blackhole:" (with a colon on the end). When this was changed, all mails made it through to the mail filter, even for nonexistent addresses, which should have been blackholed. Forwarders never worked.

    When I remove the filter, forwarders and the catchall started working fine.

    I'm having a hard time wrapping my mind around the control logic that could lead to this twisted set of observations. Could anyone give me any pointers? The CPanel user documentation seems to be written as if we were all dumb monkeys only capable of following instructions. No conceptual framework is established to cover anything but the simple cases explicitly foreseen in the manual.

    Thanks.

Similar Threads & Tags
Similar threads

  1. Box trapper/ Spam Ass./white list/spam box/etc
    By cmcprodmgr in forum E-mail Discussions
    Replies: 17
    Last Post: 06-25-2008, 02:13 PM
  2. Are forwarded emails processed by spam assassin?
    By electric in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-07-2006, 11:50 AM
  3. Box Trapper deleting non spam emails
    By tachtenberg in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-07-2006, 09:55 PM
  4. can you run box trapper and not spam assasin and spamd?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-30-2005, 02:11 PM
  5. Delete emails from spam box older than x days
    By Netmaking in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-02-2004, 08:05 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube