LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-01-2011, 05:47 PM   #1
aronaron
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Rep: Reputation: 0
how to protect my sendmail MTA, accept connection


Hi,
I run a small website, and the customers need to contact me from our website,
and I run sendmail, but I get lots of spam, they use my sendmail to send spam,

here is the ps aux:
all those url are spam url, and slow my vps down..
I believe I need to use SMTP to accept connect so that my customers can contact us from our website, (plz correct me if i'm wrong..I'm new to those stuff..)
by the way, we did not need to receive any email from the sendmail server,

Need help asap to protect... our sendmail server.
any simple way to protect our smtp port?

root 20294 0.0 0.0 69160 1520 ? Ss Mar30 0:03 sendmail: MTA: accepting connections
root 16178 0.0 0.1 70052 4172 ? S 17:49 0:00 \_ sendmail: MTA: ./p2VL5q5l009319 kjkak.com.: user open
root 3096 0.0 0.1 70040 4196 ? S 17:59 0:00 \_ sendmail: MTA: ./p2VKGFSh009544 rabota.com.: user open
root 17724 0.0 0.1 69840 3800 ? S 18:09 0:00 \_ sendmail: MTA: ./p31Akbq0028347 donien.info.com.: user open
root 31959 0.0 0.1 70056 4176 ? S 18:19 0:00 \_ sendmail: MTA: ./p31HmQhA001467 rector.freemailservice.info.com.: user open
root 13328 0.0 0.1 69728 3744 ? S 18:29 0:00 \_ sendmail: MTA: ./p31HoSno007543 eladia.freemailservice.info.com.: user open
 
Old 04-02-2011, 04:36 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
First you need to check whether you are have open relay :
http://www.checkor.com/

If that report is not ok, then check to see whether you have restricted smtp to localhost only:
http://www.notesbit.com/index.php/sc...-installation/

Finally, if you don't need to send email from your server, then turn off sendmail completely.
You can check if the port is listening : http://www.canyouseeme.org/

You don't say how you are allowing contact to be made. Is it a form that uses sendmail, or are you using a mailto link ? If it's using mailto or you are leaving a visible email address then spam is a fact of life, as is fake "from" addresses. Consider using gmail as your mx provider :
http://www.google.com/apps/
 
Old 04-02-2011, 11:30 PM   #3
aronaron
LQ Newbie
 
Registered: Feb 2011
Posts: 4

Original Poster
Rep: Reputation: 0
I try to telnet with port 25 (with my ip), but I can't make the connection..I think I did not accept outside connection on port 25,
and I telnet to localhost with port 25, I can make the connection,
by default sendmail is only accepting localhost connection?

how is possible someone can make the connection from outside world?

can anyone explain what the following mean?...
root 20294 0.0 0.0 69160 1520 ? Ss Mar30 0:03 sendmail: MTA: accepting connections
root 16178 0.0 0.1 70052 4172 ? S 17:49 0:00 \_ sendmail: MTA: ./p2VL5q5l009319 kjkak.com.: user open
root 3096 0.0 0.1 70040 4196 ? S 17:59 0:00 \_ sendmail: MTA: ./p2VKGFSh009544 rabota.com.: user open
root 17724 0.0 0.1 69840 3800 ? S 18:09 0:00 \_ sendmail: MTA: ./p31Akbq0028347 donien.info.com.: user open
root 31959 0.0 0.1 70056 4176 ? S 18:19 0:00 \_ sendmail: MTA: ./p31HmQhA001467 rector.freemailservice.info.com.: user open
root 13328 0.0 0.1 69728 3744 ? S 18:29 0:00 \_ sendmail: MTA: ./p31HoSno007543 eladia.freemailservice.info.com.: user open
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail&java&cruise: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA fishjohn Linux - Server 1 04-28-2010 09:43 AM
sendmail: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA tonj Linux - Server 3 02-17-2010 10:56 AM
Sendmail is installed as default MTA. How do I switch to Postfix as MTA? virtualpal Linux - Newbie 5 05-11-2009 02:10 AM
Sendmail did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-SSL DragonM15 Linux - Server 2 09-24-2008 12:29 AM
Sendmail did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA paleogryph Linux - Software 3 08-31-2007 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration