Link to home
Start Free TrialLog in
Avatar of brothertom
brothertom

asked on

Checking a linux server for smtp open gateway

How can I check that a specific Linux server is NOT acting as an open SMTP gateway?

Ideally I would like to put in a place a regular script to check one of our boxes on a regular basis.

Thanks
BT
ASKER CERTIFIED SOLUTION
Avatar of thedwill
thedwill
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of brothertom
brothertom

ASKER

Yes, I tried this earlier but I get

x.x.x.x on port 25... Error - could not connect to server

I figured the tool was broken - can someone try this against a known working server and see if you get the same error message?

That's what you should get if it's not allowed - in your config files you should have your allowed networks, if the IP does not match, it's not allowed to use the smtp server.

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial