Postfix Mail Relay On/Off ?

Discussion in 'Installation/Configuration' started by Code5, Mar 4, 2010.

  1. Code5

    Code5 New Member

    Another quick question,

    Ive always had problems with outgoing email servers in Linux being attacked from the outside. lol, laugh, i do, as my ISP warned me about 500 emails per month being spammed all over the place from my domains that are hosted on my cluster.

    What i found is that people were using my email server (SMTP) to send out these emails without me knowing lol, typical noob i know, but Linux is not my fortay & with Windows its simple to lock down, against this.

    At the moment my setup is CentOS 5.4 with ISPconfig 2.2.35, using Postfix and before I open up my firewalls i want to make sure i can try and keep the outgoing mail service locked down.

    So if anyone can suggest some security measures i can take or any configuration changes i can do it would be most appreciated.

    How do i check to see if Relay is enabled or disabled?

    How can i monitor the outgoing emails in realtime?

    Thanks people for any help on this subject, and stop laughing, lmao.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Relaying is never enabled when you installed your server as described in the perfect server guide and ispconfig not even offers a ioption to enable relaying as nobody runs a open realy anymore these days.

    If you want to test your server, simply enter "open relay test" in google and click on the first result ;)

    http://www.abuse.net/relay.html
     
  3. Code5

    Code5 New Member

    Ahh, so what other precautions can i take to make sure its running smooth, and how can i monitor the outgoing mail in "Realtime" ?

    Cheers for that link as well :) Hope its not a fishing site lol

    Thanks for your help
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You can check out the mail log and the output of
    Code:
    postqueue -p
     

Share This Page