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.

Receive mail, scan through SpamAssassin and then forward it

Discussion in 'E-mail Discussions' started by anton_latvia, Apr 11, 2007.

  1. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Hi,
    One client wants me to help him to setup the following forwarding type:
    Mail comes to the server, spam assassin/clamd check it and then forward it (if not spam) to remote mail server, probably gmail.

    Is it something that is possible to make?

    Thanks,
    Anton
     
  2. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Hi Anton,

    I think just a plain old fwd that you can make via cpanel/whm will do this. If all mail for the domain is going to be handled in this way and they want to manage their own accounts (like on an Exchange server or something) then look at using an Exim smart router. There are a couple threads here covering that.

    rgds,
     
  3. support

    support Active Member

    Joined:
    Aug 30, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Exim

    That will not be possible.Since when the exim IP is changed to point to a remote server, mails will work from that server, so spamassassin and clamd on your server will not be helpful to that email accounts for that domain at all.
     
  4. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    verdon, as far as I know it won't work. It's not about forwarding all mail for the domain, but just for few accounts. They are saying that mail, which is forwarded to another account is not being checked by SpamAssassin.. So I expect there should be some setting or macro for that?

    Anton
     
  5. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Hmmm, I use mailscanner/spamassassin solution (chirpy's) and do this very thing for a couple clients. AFAIK, it works... they've certainly never complained. Maybe it doesn't work for the default spamassassin install. I thought it did.

    sorry,
     
  6. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Hm... is it really not possible to add some rules into Spamassassin to check mail for spam or is it being checked outside the exim? I am not really exim script or rules programmer, but from what I saw on some forumes - this could be possible...
    Ok, may be then it's easier to check all outgoing emails by SpamAssassin?
     
Loading...

Share This Page