LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2014, 09:44 AM   #1
hari921019
LQ Newbie
 
Registered: Mar 2014
Posts: 20

Rep: Reputation: Disabled
How check existence of smtp users in a file against a server?


how do i check existence of smtp users in a file against a server and report those that exist?
 
Old 04-20-2014, 12:09 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
In theory, you could connect to the server and use this SMTP protocol to attempt to send mail to each of the users (but abort the connection before any e-mail is actually sent). In theory you could also use the VRFY command for this, but it's often disabled.

This looks to me like a question that might be asked by a spammer, so let me give a couple friendly words of advice:

(1) Don't actually do this unless you have explicit written permission from the owner of the SMTP server. Otherwise you will look like a spammer, your IP will be added to the common spam blacklists, and the abuse department of your ISP will be notified.
(2) If you can't figure out the SMTP protocol well enough to understand how to do this, don't even think of attempting it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bash script to check for multiple file existence and then scp to another server Iyyappan Linux - Server 2 01-24-2014 01:07 AM
check file existence in your directory ust Linux - Newbie 6 07-27-2011 06:12 AM
[bash] Remote file existence check danket Linux - Newbie 5 01-14-2008 05:39 PM
[Question] Check File existence hbinded Programming 3 12-19-2006 06:15 PM
check for existence of file j-me Linux - Newbie 5 07-29-2003 08:58 AM


All times are GMT -5. The time now is 12:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration