Solved

Sendmail Authentication Log

Posted on 2004-09-15
3
187 Views
Last Modified: 2010-05-18
I have a RedHat 9 server with about 200 users using pop3 and smtp. Sendmail requires authentication to send through (naturally). But I beleive that someone might have guessed one of my users password and is using my server to send mail. Log files show a very high number of messages being sent from Asian IPs and we do not do any business with Asian networks.

Essentially, I need to figure out what user this culprit is authenticating as. Can this info be added to the sendmail log? Or can I sniff this traffic somehow?

Help me stop this spammer! Thank you in advance!
0
Comment
Question by:colinbartlett
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
Comment Utility
> Sendmail requires authentication to send through (naturally).

Only if you've specifically configured Sendmail to do SMTP auth and the access map or a sendmail.mc definition doesn't allow the sending IP relay permission.

Do you have lines in /var/log/maillog similar to:

...mta[9098]: AUTH=server, relay=wilowisp.domain.tld [111.222.333.444], authid=jim, mech=PLAIN,...

If Sendmail is requiring AUTH to relay you'll have messages like that being logged, and obviously you'll be able to tell who is logging in and sending the message that follows in the maillog. The absence of any lines like that imply that SMTP AUTH isn't configured or that an entry in the access map or a sendmail.mc definition is overriding the SMTP AUTH requirement. Also don't discount the possibility that the mail is being sent from the server itself.

And the last possibility is that your server is unintentionally operating as a promiscous relay. There are web sites you can use to test for this. Or, if you'll post the server's host name I can test it for you.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Installing Nagwin with mssql backend 9 69
Exploits in Kali Linux 4 216
Linux neworking 4 63
installed old nagios.... 13 89
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now