Editing
NetHere
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Add ip address to client_reject==== The client_reject list is one of the ways we combat spam. If we receive spam compaints from a mail server or otherwise identitfy a mail server as a source of spam, we can add it to a client_reject list. An email sent from a mail server on the client_reject list is rejected with a notice saying "Relaying denied due to excessive spam". To add an ip address to the list, we use admin-2. Once the list is updated on admin-2, it is pushed out to mta-1 and mta-2. To add an ip address on admin-2: <pre> Log into admin-2.nethere.net. bash-3.00# cd /dist/files/nhmta/nethere/conf/postfix/common bash-3.00# co -l client_reject RCS/client_reject,v --> client_reject bash-3.00# vi client_reject -Add the ip address to the bottom of the list in the appropriate format. It you want to reject any email from the mail server, you would use: xxx.xxx.xxx REJECT Relaying denied due to excessive spam where xxx.xxx.xxx is the /24 subnet of the mail server the spam originated from. Do not place a period after the last octet. For example, to add a /16 subnet you would use: xxx.xxx REJECT Relaying denied due to excessive spam The REJECT key word tells postfix to reject the email. If you want to allow email from a /24 subnet, use the following format: xxx.xxx.xxx OK This tells postfix to accept email from that subnet. bash-3.00# ci -u client_reject RCS/client_reject,v <-- client_reject new revision: 1.286; previous revision: 1.285 enter log message, terminated with single '.' or end of file: >> . done bash-3.00# make /nethere/software/nhmta/postfix-2.4.5/sbin/postmap -C . client_reject mv client_reject.db maps/hash/client_reject.db bash-3.00# cd /dist/rdist bash-3.00# gmake nhmta-update updating host mta-1.mail.nethere.net updating: /dist/files/nhmta//nethere/conf/postfix/common/maps/hash/client_reject.db updating: /dist/files/nhmta//nethere/conf/postfix/common/client_reject updating host mta-2.mail.nethere.net updating: /dist/files/nhmta//nethere/conf/postfix/common/maps/hash/client_reject.db updating: /dist/files/nhmta//nethere/conf/postfix/common/client_reject bash-3.00# </pre>
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information