Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Apr 2004
    Posts
    84

    Default Relaying Mail from One Ip

    I Need to allow mail relaying from one specific ip how would I go about doing this

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Do a search on the forums for: exim interface
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    84

    Default :-)

    I did a search for that went through every post and nothing
    Any recommendations

  4. #4
    Member
    Join Date
    Oct 2004
    Location
    Dallas, TX
    Posts
    69

    Default Similar Question

    I'd like to see how to limit incoming mail to certain domain only from a specific IP. I use an off site gateway filter that needs to be the only mechanism by which email gets to the domain. Ofcourse intra server emails need to get to the domain as well....Any ideas?
    Last edited by eeadmin; 10-26-2005 at 10:46 AM.

  5. #5
    Member
    Join Date
    Oct 2004
    Location
    Dallas, TX
    Posts
    69

    Default How about with SA SpamAssassin

    How about if I try to do this with a Spam Assassin. I can limit the ip relaying using trusted_networks in the local.cf file. Will that work to some degree. Then you could set your spam filtering very tight.
    Last edited by eeadmin; 11-01-2005 at 01:27 PM.

  6. #6
    Member
    Join Date
    Oct 2004
    Location
    Dallas, TX
    Posts
    69

    Default ADDED IPS to RELAY

    ADDED a series of ips to trusted nttwork in
    /etc/mail/spamassassin/local.cf

    trusted_networks XX,.XXXXXX
    trusted_networks ETC....


    Then with in the domain user_pref
    score all_trusted -5.0

    I sent an email from a different server. It relayed throught the off server spam filtering to my server. But when it is received it doesn't contain the all trusted

    Is what I see...
    X-Spam-Status: No, score=0.0 required=10.0 tests=HTML_MESSAGE
    autolearn=unavailable version=3.1.0

    I need it to be recognized as a ALL_TRUSTED source.

    Does anybody know what I am doing wrong.

  7. #7
    Member
    Join Date
    Oct 2004
    Location
    Dallas, TX
    Posts
    69

    Default Problem 1

    Okay I don't think this checks for the most recent sent of ip relays. I think it checks all ip relays. If they are all with in the trusted list then the email gets the all trusted stamp.

    but what I need it to get the stamp if the last set of relays worked.
    Last edited by eeadmin; 11-23-2005 at 07:14 AM.

  8. #8
    Member
    Join Date
    Oct 2004
    Location
    Dallas, TX
    Posts
    69

    Default internal_networks

    What is I set these networks to internal_networks instead of trusted.. would that help.. Not sure where to do that.

    Let me try.

  9. #9
    Member
    Join Date
    Oct 2004
    Location
    Dallas, TX
    Posts
    69

    Default Found a way to do this

    Since all my message go through a gate way. I set up a -10 score in spamassassin for all legitimate emails coming through that gateway. In the spam assassin world that is a good thing, it allows the mail to go through more easily. If the message comes directly to the server, straight to the ip or mail.domainname.com, the message doesn't recieve the score. So messages that don't go through the gate way are much more likely to be considered spam. Then all I have to do is reduce the threshold for spam. I am at 3.0 on most domains. I will most likely move down to 1.0 if it continues to work this well.

Similar Threads & Tags
Similar threads

  1. Mail Relaying
    By mrichman in forum New User Questions
    Replies: 2
    Last Post: 01-27-2006, 07:31 PM
  2. Mail Relaying
    By sigep739 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-07-2004, 01:43 AM
  3. mail relaying or not...
    By wrightee in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-29-2004, 12:24 AM
  4. Mail Relaying
    By loststryk in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-05-2003, 10:35 AM
  5. mail stats and relaying
    By carperman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-25-2002, 04:24 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube