LeVA wrote:
2004. május 4. 14:08 dátummal Toby Batch ezt írta:

Ah Ha, OK so I'm running couriertcpd

p4-7126:~# netstat -anp | grep 143
tcp        0      0 0.0.0.0:143             0.0.0.0:* LISTEN
26673/couriertcpd
unix  2      [ ]         DGRAM                    2864143 21874/imapd

Now all I need to know is Why?  And how do I stop it so uw-imap will
run on port 143 instead?


I think you should `apt-get install courier-imap` (or other courier packages if necesary), and after that do a `dpkg -P courier-imap`. It will wipe out the courier imapd, and you can use the desired imapd.

Daniel

OK I've tried this but still no go!


p4-7126:~# apt-get install courier-authdaemon
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
courier-base
The following NEW packages will be installed:
courier-authdaemon courier-base
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/175kB of archives. After unpacking 623kB will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously deselected package courier-base.
(Reading database ... 43031 files and directories currently installed.)
Unpacking courier-base (from .../courier-base_0.37.3-2.3_i386.deb) ...
Selecting previously deselected package courier-authdaemon.
Unpacking courier-authdaemon (from .../courier-authdaemon_0.37.3-2.3_i386.deb) ...
Setting up courier-base (0.37.3-2.3) ...


Setting up courier-authdaemon (0.37.3-2.3) ...
Starting Courier authdaemon: done.

p4-7126:~# dpkg -P courier-imap
dpkg - warning: ignoring request to remove courier-imap which isn't installed.
p4-7126:~# dpkg -P courier-authdaemon
(Reading database ... 43094 files and directories currently installed.)
Removing courier-authdaemon ...
Stopping Courier authdaemon: done.
dpkg - warning: while removing courier-authdaemon, directory `/var/run/courier/authdaemon' not empty so not removed.
Purging configuration files for courier-authdaemon ...
p4-7126:~# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
p4-7126:~# telnet localhost 993
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> q
Connection closed.
p4-7126:~# p4-7126:~# dpkg -l|grep courier
ii courier-base 0.37.3-2.3 Courier Mail Server Base System
p4-7126:~# dpkg -P courier-base
(Reading database ... 43075 files and directories currently installed.)
Removing courier-base ...
dpkg - warning: while removing courier-base, directory `/var/run/courier' not empty so not removed.
Purging configuration files for courier-base ...
p4-7126:~# telnet localhost 993
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> q
Connection closed.
p4-7126:~# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
p4-7126:~#


And I still get this in the syslog:
May 7 14:05:40 p4-7126 imaplogin: /usr/lib/courier/courier/imaplogin: No such file or directory



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to