 |
06-23-2009, 04:14 PM
|
#1 (permalink)
|
|
Identity Crisis
Join Date: 10-24-03
Location: London
Posts: 723
Latest Blog: None
|
Find out who is sending email on my server
Hey all,
I don't know if this is the correct category to post this in but it said Tech support so i guesses it would be correct.
But anyway, a client of mine is sending out mass emails from a script, and i see i got a massive mail queue on my server. I don't know exactly how to find out witch client it is because the emails are been sent from nobody@domain.com, so is there anyway of finding out? Through SSH or WHM?
Cheers in advance and hello to the people that might remember me  I'm back  .
Last edited by games_master; 06-23-2009 at 04:19 PM..
|
|
|
06-24-2009, 08:21 PM
|
#2 (permalink)
|
|
Moderator
Join Date: 01-23-07
Location: Buenos Aires, Argentina
Posts: 1,185
|
can you redirect one of these messages to your inbox?
if you can receive at least 1 of the emails just click on view all headers of your email client and that will give you some info of the URL from which they were triggered.
I opened the headers of the messages I get from one of my websites and the header called "received from" gives me the path to the client subdomain on the server (ie: myclient.hostingname.co.uk), and it also gives me the IP of that domain.
__________________
Hades,
Ancient god, King of the Nether World, and Guardian of the Dead.
...and on my free time I'm also a web developer, contact me if you need one!
|
|
|
06-25-2009, 07:52 PM
|
#3 (permalink)
|
|
Contributing Member
Join Date: 06-25-09
Location: Brighton, UK
Posts: 113
|
It would help if you told us what mail server you're running (Exim? Sendmail? Qmail?)
|
|
|
06-26-2009, 07:12 PM
|
#4 (permalink)
|
|
Identity Crisis
Join Date: 10-24-03
Location: London
Posts: 723
Latest Blog: None
|
Hey,
Hades, I've checked the header and it says:
Received from nobody by "My Hostname"
And kieransimkin, I am running Exim 4.69
Cheers for the help.
|
|
|
06-26-2009, 07:13 PM
|
#5 (permalink)
|
|
Contributing Member
Join Date: 06-25-09
Location: Brighton, UK
Posts: 113
|
Question - does your web server run as 'nobody' ?
|
|
|
06-26-2009, 07:16 PM
|
#6 (permalink)
|
|
Identity Crisis
Join Date: 10-24-03
Location: London
Posts: 723
Latest Blog: None
|
Yup.
|
|
|
06-30-2009, 10:08 AM
|
#7 (permalink)
|
|
Contributing Member
Join Date: 06-25-09
Location: Brighton, UK
Posts: 113
|
They're probably coming from an insecure formmailer script on one of your customer's websites. Check your users for unusual spikes in bandwidth usage and suspiciously large numbers of posts to "contact us" type forms and guestbooks.
|
|
|
07-01-2009, 01:00 AM
|
#8 (permalink)
|
|
Contributing Member
Join Date: 11-27-07
Posts: 1,217
Latest Blog: None
|
What is operation system installed there?
What email servers
What kind of access do you have for the server?
|
|
|
08-01-2009, 04:10 PM
|
#9 (permalink)
|
|
Contributing Member
Join Date: 07-11-09
Posts: 510
Latest Blog: None
|
Quote:
Originally Posted by ~ServerPoint~
What is operation system installed there?
What email servers
What kind of access do you have for the server?
|
If you are still interested in getting this issue resolved, please answer these questions...
__________________
█ Syfonic Hosting | The Last Hosting Plan You'll Ever Need!
█ Syfonic Special Hosting: Special Hosting For Special Scripts
█ Unlimited Space, Bandwidth, Features, & Everything Else!
|
|
|
08-02-2009, 05:18 PM
|
#10 (permalink)
|
|
Contributing Member
Join Date: 03-26-08
Posts: 512
Latest Blog: None
|
Quote:
Originally Posted by games_master
Hey all,
I don't know if this is the correct category to post this in but it said Tech support so i guesses it would be correct.
But anyway, a client of mine is sending out mass emails from a script, and i see i got a massive mail queue on my server. I don't know exactly how to find out witch client it is because the emails are been sent from nobody@domain.com, so is there anyway of finding out? Through SSH or WHM?
Cheers in advance and hello to the people that might remember me  I'm back  .
|
First you would to grep the logs for the email address 'nobody@domain.com' through SSH. To do this kindly use the below mentioend command to grep the logs:
cat /var/log/exim_mainlog | grep nobody@domain.com
You will get the list of email logs for the above mentinoed email address. Now select the header ID related to the mail and use the bleow mentioned command to grep the full header:
cat /var/log/exim_mainlog | grep 1KJXXX-123XX-XX
Once you grep the header ID you will get the actual email address through which you can check which SMTP authentication is used.
|
|
|
08-04-2009, 05:01 PM
|
#11 (permalink)
|
|
Contributing Member
Join Date: 07-11-09
Posts: 510
Latest Blog: None
|
Quote:
Originally Posted by thewebhostingdir
First you would to grep the logs for the email address 'nobody@domain.com' through SSH. To do this kindly use the below mentioend command to grep the logs:
cat /var/log/exim_mainlog | grep nobody@domain.com
You will get the list of email logs for the above mentinoed email address. Now select the header ID related to the mail and use the bleow mentioned command to grep the full header:
cat /var/log/exim_mainlog | grep 1KJXXX-123XX-XX
Once you grep the header ID you will get the actual email address through which you can check which SMTP authentication is used.
|
That's a nice tutorial. Mind if I share it on another forum?
__________________
█ Syfonic Hosting | The Last Hosting Plan You'll Ever Need!
█ Syfonic Special Hosting: Special Hosting For Special Scripts
█ Unlimited Space, Bandwidth, Features, & Everything Else!
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 12:56 PM.
© Copyright 2008 V7 Inc Powered by vBulletin Copyright © 2000-2009 Jelsoft Enterprises Limited.
|
|