Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up account for remote user

Status
Not open for further replies.

RhythmAce

Technical User
May 22, 2001
2,869
FR
I am running sendmail along with fetchmail. I would like to set up e-mail accounts for remote users but I get 'no socket error' when trying to send or receive mail from a remote test location. Everything works fine locally. I set up the netscape mail clients to use localhost as the smtp and pop servers and it has worked fine for months. I have my dns mx record pointing to mail.mydomain.com as my mail server and mail has been finding its way but when I try to access them through a remote client, they time out. I'm not getting anything in my maillog to show the connection from the test location was rejected or anything. What I'm trying to do is let my people use our company mail servers just like they would their ISP account. I know its just some stupid little thing I'm overlooking but I've spent all weekend on it and haven't figured it out yet. I hope someone can set me wise. Thanx
 
how are you connecting remotely? are you logging into a through telnet, ssh? i guess i am kind of confised as to your dilemna. here are just some suggestions. Sounds like you have port 25 blocked for outgoing e-mail. might check firewall rules, blocked ports on a router, etc. not sure about how you are connected to the Internet. your ISP could also block the port. lemme know.

~Court
 
Ok, I guess I was a little fuzzy there. I can send mail to the outside wordand receive mail from the outside world from within my local network, but when I try to setup netscape or outlook on a remote machine, they can't find my servers. My MX record points to mail.mydomain.com to handle mail for mydomain.com and both ports, 110 and 25 are open. I'm using sendmail as my smtp server, qpopper as my pop3 server and fetchmail for some local stuff. I don't think the configuration of these have anything to do with my problem because I can't find anything in my mail logs that shows any activity at all from the remote test site. By the way, they have cable modem access to the internet. I don't associate with part-time dial up types. :eek:)
 
well, hopefully you sre using the mail.mydomain.com as the smtp/pop3 server on the clients. you might also make sure the mx record is correct. that seems to be the only problem.
 
Yup they are correct feeble. I even tried shutting down my fire wall just in case and still no luck. I'm getting mail into my system ok, so I'm pretty sure my MX record is correct. I told sendmail to relay everything in sight but that didn't work either. I checked my ports and they are open so I'm wondering if RedHat has something else monitoring those ports. I noticed last night that I can't telnet or ping them either from a remote location. I hope somebody out there can tell me what's goin' on. Thanx again for your input feeble.
 
ok, so you have allowed relaying for the the remote users, by most likely the first 2 octets of their ip. i would next check your ipchains. just do an ./ipchains -L to list any rules. it's most likely located in /sbin.

i notice we have a lot of the same problems 99% of the time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top