first of all, make sure you don't have any programs running on port 143
(try 'telnet localhost 143' to be sure); next you should start the
daemon as root: it is necessary to have superuser privileges to bind to
an port below 1024.
Because the imap server (and pop, for that matter) only need root
rights to get started, you can specify another user in dbmail.conf. The
daemons change to this user (typically 'nobody' or 'dbmail') as soon as
the socket is created and bound to the target port.
regards roel
Greg Smythe heeft op dinsdag, 11 feb 2003 om 15:45 (Europe/Amsterdam)
het volgende geschreven:
Hello --
I'm having problems getting a connection to imapd.
Here is the maillog:
Feb 11 10:00:34 www dbmail/imap4d[28625]: CreateSocket(): socket
created
Feb 11 10:00:34 www dbmail/imap4d[28625]: CreateSocket(): socket IP
requested [*] OK
Feb 11 10:00:34 www dbmail/imap4d[28625]: CreateSocket(): could not
bind address to socket
I think it's a user-id problem, but I tried setting the user as 'root'
in the xinetd config and in dbmail.conf and it still doesn't work.
This is on a RH 7.2 machine. Any ideas?
Thanks,
-=-=-=-=-=-=-=-=-=-=-=-
Greg Smythe
Network Support Specialist
Ayres, Lewis, Norris & May
Met vriendelijke groet,
Roel Rozendaal
_________________________
R.A. Rozendaal
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305
www.ic-s.nl