LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-26-2002, 07:57 PM   #1
explorer1979
Member
 
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Rep: Reputation: 15
Help, What is it mean?


Dear all linux user:

My company's linux mail server always received this log inform by the mail

My linux is RH 7.2 with sendmail 8.11.9

I don't understand what they mean, do it is mean that someone using my mail server to make illegal e-mail?


NOQUEUE: [157.238.185.69] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

gAQAwGc12201: lost input channel from [61.50.173.191] to MTA after rcpt
 
Old 11-26-2002, 09:23 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
if the IPs are not from your network, most probably it is someone using your MTA server.
 
Old 11-26-2002, 09:52 PM   #3
explorer1979
Member
 
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Original Poster
Rep: Reputation: 15
Then it is mean that some user other than our IP is illegal using our MTA mail server to send spam e-mail la

Do the above inform is mean they are successful illegal send the spam e-mail to other by our MTA server?

And do anyone can give me suggest how to fix this problems don't let them illegal using our mail server to send spam e-mail

Thanks
 
Old 11-26-2002, 10:14 PM   #4
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
Possible probe of your mailserver.

Could be caused by a number of things but most of the time it is someone checking out the daemon banner for your sendmail version.

Test it yourself
------------------------------------------------------------------------
#telnet mailserver 25
Trying xxx.xxx.xx.x...
Connected to mailserver.
Escape character is '^]'.
220 mailserver.some.domain ESMTP Sendmail 8.11.6/8.11.6; Wed, 27 Nov 2002 14:41:05 +1100 (EST)
------------------------------------------------------------------------
then enter QUIT to shut down the connection.

You should see a fresh entry in your logs.
Looks like someone is checking whether or not you have a compromisable version or testing whether they can use you as a relay.

You might want to consider
a) changing your daemon banner
either set

define(`confSMTP_LOGIN_MSG',`$j')dnl

in your .mc file and rebuild your sendmail.cf, or edit the line

O SmtpGreetingMessage=$j Sendmail $v/$Z; $b

to be

O SmtpGreetingMessage=$j

that way smtp probes won't help an attacker. I generally
spoof my MTA banner to look like something else, this one generally throws them off :-)

O SmtpGreetingMessage=$j Lotus MTA Service Ready

b) ensure that your mail server is not setup to accept mail from unqualified senders or from addresses in unresolvable domains.
Remove the options
FEATURE(`accept_unresolvable_domains')dnl and
FEATURE(`accept_unqualified_senders')dnl
if they exist in your .mc file and rebuild your sendmail.cf

c) ensure no-one can enumerate your mail aliases etc by setting the privacy options to reject EXPN (expand usernames) and VRFY (verify user exists).
Either add this line to your .mc file

define(`confPRIVACY_FLAGS',`goaway')dnl

and rebuild your sendmail.cf or edit your sendmail.cf file,
O PrivacyOptions=goaway

To check if this needs to be done telnet to your mailserver on port 25 and issue the command
EHLO any.host.name
it should return whatever options it accepts. Check the list for VRFY or EXPN.

I am unsure how RH setup their configs, but if this is your front end mail relay it SHOULD be hardened.
 
Old 11-27-2002, 10:55 AM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Re: Help, What is it mean?

Quote:
Originally posted by explorer1979
NOQUEUE: [157.238.185.69] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
gAQAwGc12201: lost input channel from [61.50.173.191] to MTA after rcpt
These type of error messages are typically the result of a port scan. The client is making a connection to your service, but no following through with a legimate email transaction.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a few questions about setting up a mail server sporkit Linux - Networking 12 04-08-2004 05:47 AM
Mail server....quick questions tisource Linux - Software 12 12-15-2003 08:29 PM
Mail server questions linuxnube Linux - Software 0 10-21-2003 11:20 AM
questions about a mail server DKY Linux - Newbie 35 08-01-2003 10:49 AM
server side anti virus for mail traffic; postfix as mta markus1982 Linux - Software 4 03-09-2003 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:55 PM.

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