Author Topic: how to write a bash script for checking server is open relay or Not  (Read 2331 times)

sajid

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Hi.

Is anyone write a backhand script for checking postfix mail server is open relay or Not
so please share with me .
or anyone know how to write and script and then make web-interface

please reply ASAP so that i get benefit.

gouravjoshi

  • Administrator
  • Full Member
  • *****
  • Posts: 94
  • Karma: 1
Re: how to write a bash script for checking server is open relay or Not
« Reply #1 on: June 22, 2012, 08:53:08 PM »
I have got an perl script from one of my friend for the same. Please rename the file as relaycheck.pl

How to check.

#  perl  relaycheck.pl 192.168.1.1

Then you will get answer,

Open-realy or Not-Open-realy

Hope this will help you.