PDA

View Full Version : Sendmail log via Webmin ??


Kevin Smith
2004-06-10, 14:08 PM
First, is there a way to find out who is sending an email to an unknown user...For instance I have somebody trying to email whoever@domain.com using EVERY NAME in front of @, so its about 2-300 names that are unknown. I would like to find out who it is so I can block the IP..

Second, what does this mean..
**Unmatched Entries**
<//www.cyc@thisdomain.org>... Cannot mail directly to files: 1 Time(s)

bow-wow
2004-06-10, 21:52 PM
I don't know if you can get to the mail log from webmin, but you can certainly ssh to the box and look at it directly to find the IP: /var/log/maillog

I wonder if there is any way in sendmail to throttle back on the response rate of the smtp server when losers try those type of attacks to find valid recipients. With my mail server, if I enter a invalid recipient and then procede to try to guess a valid one, it delays it's response big time to make the process too time consuming to be worth the effort.

As for the "Cannot mail directly to files" error-- look at the email address that prompted this error. There are forward slashes at the beginning of the address, making it look like a directory path. Therefore sendmail points out that you cannot mail directly to a file; in other words you have to provide a valid email addess.

cflhosting
2004-06-11, 07:32 AM
System -> System Logs -> File /var/log/mail/mail.log

is where it is for me.