Domain Name Yahoo

Easy Help Troubleshoot Your Linux Box



  

Easy Help Troubleshoot Your Linux Box


Fight the spammer with Disable Open Relay

  

Yes lets fight with spam.
These days spammers are in love with my server, damn.
I just realize it, when I keep getting email bounced from the recipient guardian, such as barracuda.
When I check and recheck, the mail server is running as open relay server.
Here is what I did to protect.

Firstable, I already have Qmail + Vpopmail running properly and compiled as enabled roaming user that mean is smtp authenticate feature is enabled.

Secondly, You dont need to create secure connection using CRAMD5, AUTH PLAIN, AUTH LOGIN. Dont missunderstood, these secure connections are nothing to do with open relay, if you want to enable this feature that will be great.

Third, you must edit your /etc/tcp.smtp . tcp.smtp is a file to manage connection to your smtp port. Do google about this. You will find dozen knowledge about it.
The point is you must add these line :

127.:allow,RELAYCLIENT=”"
:allow,SMTPAUTH=”"
:deny

That means, allways allow connection from localhost and always allow incoming connection that using smtp authentication and deny the rest except the “rcpt to: ” is in the /var/qmail/control/rcpthosts file.

# service qmail stop
# service qmail cdb
# service qmail start


November 25th, 2009 Posted by admin | CentOS, Email, Ubuntu | no comments

No Comments »

No comments yet.

Leave a comment