From: Brent Bolin on

Trying to get pop or imap working on FBSD 6.2. It's been a while
since I have last loaded a new mail server.

Configured cclient

make WITH_SSL_AND_PLAINTEXT=yes && make WITH_SSL_AND_PLAINTEXT=yes
install

Everytime I try to connect on 110 or 143 I get connection refused.
What am I missing ?

# telnet localhost 110
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
or
telnet localhost 143
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host


/etc/inetd.conf -

#Local changes done from here down

pop2 stream tcp nowait root /usr/local/libexec/ipop2d
ipop2d
pop3 stream tcp nowait root /usr/local/libexec/ipop3d
ipop3d
imap4 stream tcp nowait root /usr/local/libexec/imapd
imapd

All files are there. After the make of the port cclient does talk
about making pam.conf entries but I have never had to do that.

If PAM authentication support has been compiled in you will need to
add
something like the following lines to /etc/pam.conf (PAM
authentication is
default):

imap auth required pam_unix.so
imap account required pam_unix.so
imap session required pam_unix.so
pop3 auth required pam_unix.so
pop3 account required pam_unix.so
pop3 session required pam_unix.so

Any input would be appreciated...I'm stuck

btb

From: Brent Bolin on
On Jan 31, 6:15 pm, "Brent Bolin" <brent.bo...(a)gmail.com> wrote:
> Trying to get pop or imap working on FBSD 6.2. It's been a while
> since I have last loaded a new mail server.
>
> Configured cclient
>
> make WITH_SSL_AND_PLAINTEXT=yes && make WITH_SSL_AND_PLAINTEXT=yes
> install
>
> Everytime I try to connect on 110 or 143 I get connection refused.
> What am I missing ?
>
> # telnet localhost 110
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: Unable to connect to remote host
> or
> telnet localhost 143
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: Unable to connect to remote host
>
> /etc/inetd.conf -
>
> #Local changes done from here down
>
> pop2 stream tcp nowait root /usr/local/libexec/ipop2d
> ipop2d
> pop3 stream tcp nowait root /usr/local/libexec/ipop3d
> ipop3d
> imap4 stream tcp nowait root /usr/local/libexec/imapd
> imapd
>
> All files are there. After the make of the port cclient does talk
> about making pam.conf entries but I have never had to do that.
>
> If PAM authentication support has been compiled in you will need to
> add
> something like the following lines to /etc/pam.conf (PAM
> authentication is
> default):
>
> imap auth required pam_unix.so
> imap account required pam_unix.so
> imap session required pam_unix.so
> pop3 auth required pam_unix.so
> pop3 account required pam_unix.so
> pop3 session required pam_unix.so
>
> Any input would be appreciated...I'm stuck
>
> btb

After the enties were put in /etc/inetd.conf

# ps auxwww|grep init
root 1 0.0 0.0 776 268 ?? SLs 9:41AM 0:00.43 /sbin/
init --
root 54988 0.0 0.0 404 272 p1 R+ 6:25PM 0:00.00 grep
init
# kill -HUP 1

Should have worked

From: Warren Block on
Brent Bolin <brent.bolin(a)gmail.com> wrote:
>
> Trying to get pop or imap working on FBSD 6.2. It's been a while
> since I have last loaded a new mail server.
>
> Configured cclient
>
> make WITH_SSL_AND_PLAINTEXT=yes && make WITH_SSL_AND_PLAINTEXT=yes
> install
>
> Everytime I try to connect on 110 or 143 I get connection refused.
> What am I missing ?
>
> # telnet localhost 110
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: Unable to connect to remote host
> or
> telnet localhost 143
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: Unable to connect to remote host

> /etc/inetd.conf -

inetd is disabled by default. Do you have inetd_enable="YES" in
/etc/rc.conf?

--
Warren Block * Rapid City, South Dakota * USA
From: Brent Bolin on
On Jan 31, 8:28 pm, Warren Block <wbl...(a)wonkity.com> wrote:
> Brent Bolin <brent.bo...(a)gmail.com> wrote:
>
> > Trying to get pop or imap working on FBSD 6.2. It's been a while
> > since I have last loaded a new mail server.
>
> > Configured cclient
>
> > make WITH_SSL_AND_PLAINTEXT=yes && make WITH_SSL_AND_PLAINTEXT=yes
> > install
>
> > Everytime I try to connect on 110 or 143 I get connection refused.
> > What am I missing ?
>
> > # telnet localhost 110
> > Trying 127.0.0.1...
> > telnet: connect to address 127.0.0.1: Connection refused
> > telnet: Unable to connect to remote host
> > or
> > telnet localhost 143
> > Trying 127.0.0.1...
> > telnet: connect to address 127.0.0.1: Connection refused
> > telnet: Unable to connect to remote host
> > /etc/inetd.conf -
>
> inetd is disabled by default. Do you have inetd_enable="YES" in
> /etc/rc.conf?
>
> --
> Warren Block * Rapid City, South Dakota * USA

You are correct...I'm a dummy.

Fixed

From: Warren Block on
Brent Bolin <brent.bolin(a)gmail.com> wrote:
> On Jan 31, 8:28 pm, Warren Block <wbl...(a)wonkity.com> wrote:
>>
>> inetd is disabled by default. Do you have inetd_enable="YES" in
>> /etc/rc.conf?
>
> You are correct...I'm a dummy.

No, it's easy to miss. Most things now don't use inetd because of the
security implications. That can probably be done with cclient.

--
Warren Block * Rapid City, South Dakota * USA
 |  Next  |  Last
Pages: 1 2
Prev: SMCWPCI-G and FreeBSD 6?
Next: qwmu help