LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-11-2004, 08:18 AM   #1
luca2005
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Rep: Reputation: 0
Unhappy is my mail server open to relay???


As obvious I'm a Linux newbie and I've installed sendmail on my computer (redhat 8.0).

While browsing the maillog I've found the following:

Dec 7 17:10:09 mail sendmail[1810]: iB79A7sa001810: from=l815000@ddd.com, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=[222.101.168.98]

Dec 11 18:52:12 mail sendmail[1511]: iBBAqCUN001511: es150.datareturn.com [216.46.246.233] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Dec 11 18:52:14 mail ipop3d[1512]: pop3 service init from 216.46.246.233
Dec 11 18:52:14 mail ipop3d[1512]: Command stream end of file while reading line user=??? host=port-216-3077865-es150.devices.datareturn.com [216.46.246.233]
Dec 11 19:26:08 mail sendmail[1963]: iBBBQ5UN001963: ruleset=check_rcpt, arg1=ssey1002@hanmail.net, relay=[222.101.168.98],
reject=550 5.7.1 ssey1002@hanmail.net... Relaying denied. IP name lookup failed [222.101.168.98]
Dec 11 19:26:08 mail sendmail[1963]: iBBBQ5UN001963: lost input channel from [222.101.168.98] to MTA after rcpt
Dec 11 19:26:08 mail sendmail[1963]: iBBBQ5UN001963: from=h317781@amazon.com, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA, relay=[222.101.168.98]


It looks like that the hosts l815000@ddd.com and h317781@amazon.com could relay using my mail server.
I've runned an online open relay test and it failed saying that the server is not open to relay!

Thanks, Luca
 
Old 12-11-2004, 04:59 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
It looks that your server has not accepted their connections.
 
Old 12-12-2004, 04:29 AM   #3
luca2005
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks I wasn't sure!
 
Old 12-16-2004, 02:39 PM   #4
Maqo
LQ Newbie
 
Registered: Jan 2003
Location: NY
Distribution: Mandrake 10.0 Official
Posts: 21

Rep: Reputation: 15
Luca,

As Mara pointed out your server doesn't appear to have accepted the connections (this is default behavior for Sendmail), but some online tests are more exhaustive than others (ordb.org has an excellent one).
 
Old 12-17-2004, 12:54 PM   #5
cormander
Member
 
Registered: Dec 2004
Location: Hawaii
Distribution: Fedora & CentOS
Posts: 72

Rep: Reputation: 15
You can see if your server is a relay via this test. From a command line on the server, run:

Code:
 telnet relay-test.mail-abuse.org
It will run several different relay attempts, and give you a report.

-Corey
 
Old 12-30-2004, 08:27 PM   #6
luca2005
LQ Newbie
 
Registered: Dec 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Talking

I've tested it and it is not open to relay

Thanks all for your kind support!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using sendmail to relay mail to ISP mail server Swift&Smart Linux - Software 26 11-09-2008 03:00 PM
mail relay server Ammad Linux - Networking 2 06-10-2005 06:33 AM
Mail server to relay gadhiraju Linux - Networking 1 07-11-2004 02:16 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
Mail server relay ! freelinuxcpp Linux - Networking 4 04-28-2004 08:49 AM


All times are GMT -5. The time now is 12:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration