"本地计算机上的winmail mail server服务启动后又停止,”解决方法

时间:2022-03-14 16:48:20

打不开winmail,所以我进入管理-服务,找到winmail mail server,看到它是停止的,我就让它启动,可是出现"本地计算机上的winmail mail server服务启动后又停止了.一些服务自动停止..."


原因:IP与之前配置的IP不一致

解决方法:

进入winmail安装目录下面的server目录,例如E:\Program Files\Magic Winmail\server>


1)修改E:\Program Files\Magic Winmail\server\http目录下的 http.conf

      BindAddress 66.65.62.116  #将这个IP改为你的新IP地址

<span style="white-space:pre">AddType application/x-httpd-php .php 
AddType application/x-httpd-php .php3


BindAddress 66.65.62.116
Port 80
ServerAdmin postmaster@test.net
ServerName mail.test.net</span>



2) 修改E:\Program Files\Magic Winmail\server  目录下的 service.cfg  将里面的bindip全部修改为新的IP地址


<database>
<service>
<http>
<bindip><strong>66.65.62.116</strong></bindip>
<port>80</port>
<action>1</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>300</timeout>
<control>0</control>
<accessip></accessip>
</http>
<admin>
<bindip><strong>66.65.62.116</strong></bindip>
<port>6000</port>
<action>1</action>
<autorun>1</autorun>
<maxconnectnum>10</maxconnectnum>
<timeout>200</timeout>
<control>0</control>
<accessip></accessip>
</admin>
<pop3>
<bindip><strong>66.65.62.116</strong></bindip>
<port>110</port>
<action>1</action>
<autorun>1</autorun>
<maxconnectnum>100</maxconnectnum>
<timeout>200</timeout>
<control>0</control>
<accessip></accessip>
<maxconnectsperip>0</maxconnectsperip>
<ipconnectspermin>0</ipconnectspermin>
<unlimitedip></unlimitedip>
</pop3>
<smtp>
<action>1</action>
<autorun>1</autorun>
<maxconnectnum>100</maxconnectnum>
<timeout>200</timeout>
<port>25</port>
<bindip>0.0.0.0</bindip>
<control>0</control>
<accessip></accessip>
</smtp>
<ldap>
<action>1</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>300</timeout>
<port>389</port>
<bindip>0.0.0.0</bindip>
<control>0</control>
<accessip></accessip>
</ldap>
<imap4>
<action>0</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>1800</timeout>
<port>143</port>
<bindip>0.0.0.0</bindip>
<control>0</control>
<accessip></accessip>
</imap4>
<smtpssl>
<action>1</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>300</timeout>
<port>465</port>
<bindip>0.0.0.0</bindip>
<control>0</control>
<accessip></accessip>
</smtpssl>
<pop3ssl>
<action>0</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>300</timeout>
<port>995</port>
<bindip>0.0.0.0</bindip>
<control>0</control>
<accessip></accessip>
</pop3ssl>
<imap4ssl>
<action>0</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>1800</timeout>
<port>993</port>
<bindip>0.0.0.0</bindip>
<control>0</control>
<accessip></accessip>
</imap4ssl>
<ldapssl>
<action>0</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>300</timeout>
<port>636</port>
<bindip>0.0.0.0</bindip>
<control>0</control>
<accessip></accessip>
</ldapssl>
<ftp>
<bindip>0.0.0.0</bindip>
<port>6021</port>
<action>0</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>1800</timeout>
<maxconnectsperip>0</maxconnectsperip>
<ipconnectspermin>0</ipconnectspermin>
<control>0</control>
<accessip></accessip>
</ftp>
<ftpssl>
<bindip>0.0.0.0</bindip>
<port>6990</port>
<action>0</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>1800</timeout>
<maxconnectsperip>0</maxconnectsperip>
<ipconnectspermin>0</ipconnectspermin>
<control>0</control>
<accessip></accessip>
</ftpssl>
<httpssl>
<bindip>0.0.0.0</bindip>
<port>6443</port>
<action>0</action>
<autorun>1</autorun>
<maxconnectnum>50</maxconnectnum>
<timeout>300</timeout>
<maxconnectsperip>0</maxconnectsperip>
<ipconnectspermin>0</ipconnectspermin>
<control>0</control>
<accessip></accessip>
</httpssl>
</service>
</database>