如何将后缀端口从25更改为587?
我对Unix和CLI完全陌生。谷歌搜索了将近6个小时之后,我知道我应该将postfix端口从25修改为587,以使PHP mail()函数正常工作。这是我得到的解决方案http://www.linuxmail.info/postfix-change-port/,但是我不确定如何更改它。如前所述,我是菜鸟。任何帮助,将不胜感激。 UPDATE1: grawity解决方案给了我以下错误。 May 7 00:42:39 Ibrahim-Armars-MacBook-Pro postfix/pickup[4169]: DE2073F07C1: uid=501 from=<azhararmar> May 7 00:42:39 Ibrahim-Armars-MacBook-Pro postfix/master[4185]: fatal: open lock file pid/master.pid: unable to set exclusive lock: Resource temporarily unavailable May 7 00:42:39 Ibrahim-Armars-MacBook-Pro postfix/cleanup[4177]: DE2073F07C1: message-id=<20110506191239.DE2073F07C1@Ibrahim-Armars-MacBook-Pro.local> May 7 00:42:39 Ibrahim-Armars-MacBook-Pro postfix/qmgr[4168]: DE2073F07C1: from=<azhararmar@Ibrahim-Armars-MacBook-Pro.local>, size=525, nrcpt=1 (queue active) May 7 …