LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   authentication problem (https://www.linuxquestions.org/questions/linux-networking-3/authentication-problem-62634/)

Tigger 05-30-2003 02:23 AM

authentication problem
 
Hi

i have setup sendmail on redhat 8.0 server.

I am trying to setup outlook 2000 on a windows machine to get mail from an account on the linux server but it fails when trying to authenticate with the linux server. Everything else works fine.

Any ideas?

thanks

topche 05-30-2003 02:30 AM

you can get mail from pop3 server from Windows box and send messages with sendmail. If you want to chek mail from windows ws you can have this in /etc/inetd.conf

pop3 stream tcp nowait root /usr/sbin/tcpd in.pop3d
or this:
pop3 stream tcp nowait root /usr/sbin/tcpd gnu-pop3d

and in /etc/hosts.allow
if you use in.pop3d
in.pop3d: ip.to.windows.box

if you use gnu-pop3d
gnu-pop3d: ip.to.windows.box

Tigger 05-30-2003 02:38 AM

thanks but need more explanation on the /etc/hosts.allow

if i use in.pop3d then what do i need to type in hosts.allow?

Is this what you mean in.pop3d:ip.to.windows.box i have to put the ip of the windows ws or just leave it as ip.to.windows.box?

thanks again

topche 05-30-2003 02:44 AM

you must put :
in.pop3d: ip.to.windows.box
no just ip.to.windows.box !!!!

Tigger 05-30-2003 02:56 AM

thankyou!!!

I will try it tomorrow and let you know

thanks again

Tigger 05-30-2003 03:08 AM

just one more thought, what is all of the above actually doing? Security is a big issue for me

thanks again

WorldBuilder 05-30-2003 07:34 PM

Also, make sure your pop3 service is enabled!!!

Chris

Tigger 05-31-2003 01:39 AM

again, how secure is this? I only want to enable it for one machine on the local lan, not for the internet

Tigger 05-31-2003 01:40 AM

how can i stop and start the pop3 service?

Is it service pop3 stop? and service pop3 start?

WorldBuilder 05-31-2003 07:51 AM

pop3 is started from xinetd. you need to restart xinetd after enabling pop3: "service xinetd restart"

Chris

Tigger 05-31-2003 08:12 PM

i have tried restarting the xinetd service and when i try to telnet servername 110 i get connection refused. Any thing else i can try?

I also edited the inetd.conf file and hosts.allow as per above and it did not work. Looks like i can send/receive mail from the internet but cannot access mail from a windows 2000 workstation on the internal lan.

Tigger 05-31-2003 08:15 PM

please explain, when i edit the file hosts.allow do i need to put the ip address of the windows box or do i just type as per above?
Give me an example please?

Forgive me for being so thick.

Tigger 05-31-2003 08:17 PM

i just want to add, i enabled ipop3 by going into the file ipop3 and where it reads disable:yes i changed it to disable:no. Is this correct?

WorldBuilder 06-01-2003 12:51 PM

Yes, that's correct, now restart xinetd

Chris

WorldBuilder 06-01-2003 12:54 PM

Also, is your system listening for smtp requests? Is it in iptables? Check to see if it listening with:

netstat -l | grep smtp

If not, put it in iptables as a rule:

iptables -A INPUT -i eth0 (whatever accesses your internal lan) -p tcp --dport 110 -j ACCEPT

Try that!

Chris


All times are GMT -5. The time now is 01:06 PM.