2008-05-15 14:55:42
到處看看
Solaris10 產生 pop3tcp.xml 及 imaptcp.xml
今天看到的, 方法如下:
svcadm enable svc:/network/pop3/tcp:default
svcadm disable svc:/network/imap/tcp:default
svcadm enable svc:/network/imap/tcp:default
cd /tmp
echo "pop3 stream tcp nowait root /usr/sfw/sbin/tcpd /opt/sfw/sbin/ipop3d" > imapd.txt
echo "imap stream tcp nowait root /usr/sfw/sbin/tcpd /opt/sfw/sbin/imapd" >> imapd.txt
/usr/sbin/inetconv -i /tmp/imapd.txt -o /tmp/
cp pop3-tcp.xml /var/svc/manifest/network/
cp imap-tcp.xml /var/svc/manifest/network/
svccfg import /var/svc/manifest/network/pop3-tcp.xml
svccfg import /var/svc/manifest/network/imap-tcp.xml
svcadm enable svc:/network/pop3/tcp:default
svcadm disable svc:/network/imap/tcp:default
svcadm enable svc:/network/imap/tcp:default