LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-16-2003, 10:09 AM   #1
magyartoth
Member
 
Registered: Feb 2002
Location: Pittsburgh, PA, USA
Posts: 73

Rep: Reputation: 15
maillog entries ...please help find the sender


Logwatch is showing that someone is trying to spam our email server by looking for common names....bob@x.com, bill@x.com, etc...

In my maillog file, I can see it happening, but the log doesn't record the sender. I would like to figure out who is doing this so I can block them.

maillog just shows something like this for every failed attempt:

Jan 15 04:18:29 mail sendmail[26582]: h0F9GkX6026582: <jane@x.com>... User unknown

Thanks,
M
 
Old 01-17-2003, 04:14 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
if "grep /etc/syslog.conf -e "maillog" doesn't show up as
mail.*<tab><tab>/var/log/maillog
try to insert a line line that and kill -HUP syslogd to restart it.
This ensures maillog contains everything sendmail spits out.
If that doesn't work but spam get's through, have a look at the headers (shift+h in pine).

Also if "grep /etc/sendmail.cf -e vrfy" doesn't show up at least as
O PrivacyOptions=novrfy
if you're using linuxconf
make a file called /etc/mail/mailconf/stdoptions.cf and add:
$(VERIFY)O PrivacyOptions=authwarnings,novrfy,noxpn
now run "mailconf --generatecf"
else
add a line to /etc/mail/sendmail.mc:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn')dnl
and run "m4 /etc/mail/sendmail.mc > /etc/sendmail.cf"

This will disable remote users to verify local addresses.
 
  


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
Clearing entries in Find minm Linux - Software 4 07-25-2004 09:33 AM
Maillog entries lapthorn Linux - Newbie 0 12-04-2003 10:18 AM
postfix maillog help.. hct224 Linux - Newbie 3 11-28-2003 03:50 PM
Where to find boot mount entries/file sharing at LAN Seppel Slackware 1 08-13-2003 04:23 AM
wierd spamassassin entries in /var/log/maillog Pcghost Linux - Software 1 07-15-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:56 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
Open Source Consulting | Domain Registration