1.sudo apt-get install postgrey
2.安裝完成後,查看Log檔,的postgrey是使用哪個port號,以下紅色的字體,使用10023
Nov 11 07:42:06 ubuntu postgrey[994]: Process Backgrounded
Nov 11 07:42:06 ubuntu postgrey[994]: 2010/11/11-07:42:06 postgrey (type Net::Server::Multiplex) starting! pid(994)
Nov 11 07:42:06 ubuntu postgrey[994]: Binding to TCP port 10023 on host localhost#012
Nov 11 07:42:06 ubuntu postgrey[994]: Setting gid to "116 116"
Nov 11 07:42:06 ubuntu postgrey[994]: Setting uid to "107"