I Need to allow mail relaying from one specific ip how would I go about doing this
I Need to allow mail relaying from one specific ip how would I go about doing this
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
I did a search for that went through every post and nothing
Any recommendations
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.
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.
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.
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.
What is I set these networks to internal_networks instead of trusted.. would that help.. Not sure where to do that.
Let me try.
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.