Web Hosting Talk







View Full Version : Ahhh Sendmail doesn't send!


SkidderNetworks
04-19-2002, 11:39 PM
So I'm working on securing and learning my new VDS. I've been around UNIX servers for a while; I just have to learn things like sendmail.

When I try and send mail from pine to an outside domain, I get this:

[Mail not sent: .1.1 <user@domain.com>... User unknown]

Right now I don't have a DNS server running. I'm assuming that's the problem? Do I just need to change any settings?

Does anyone have any fun sendmail resources? I had trouble finding any...

Thanks,
Scott

:uzi: Sendmail
(I've ALWAYS wanted to do that!)

driverdave
04-20-2002, 05:28 PM
man sendmail

http://www.sendmail.org/

You don't need to be running a nameserver to use sendmail.

Can your machine resolve domain names? Check /etc/resolv.conf and make sure you have valid nameservers in there. A simple ping yahoo.com should let you know if you are resolving.

Check the files in /etc/mail/ and make sure you have the correct configurations.

Sendmail can be a pain...

Oh yeah, what OS are you running?

SkidderNetworks
04-20-2002, 08:03 PM
[root@vs0c0113 etc]# ping yahoo.com
ping: icmp open socket: Operation not permitted

Heh. I'm on a VDS on RedHat.

What'd I do now?

Scott

P.S. Someone told me to try this:
[root@vs0c0113 bin]# chown root /bin/ping
[root@vs0c0113 bin]# chmod a+x,u+s /bin/ping
[root@vs0c0113 bin]# ping skidder.net
ping: icmp open socket: Operation not permitted
[root@vs0c0113 bin]#

roly
04-20-2002, 08:18 PM
Originally posted by SkidderNetworks
[root@vs0c0113 etc]# ping yahoo.com
ping: icmp open socket: Operation not permitted

Heh. I'm on a VDS on RedHat.

What'd I do now?

Scott

P.S. Someone told me to try this:
[root@vs0c0113 bin]# chown root /bin/ping
[root@vs0c0113 bin]# chmod a+x,u+s /bin/ping
[root@vs0c0113 bin]# ping skidder.net
ping: icmp open socket: Operation not permitted
[root@vs0c0113 bin]#
it not able to connect to the internet

SkidderNetworks
04-20-2002, 08:32 PM
Well, I can FTP....

S

roly
04-20-2002, 08:38 PM
Well FTP may use a proxy to connect.

SkidderNetworks
04-20-2002, 08:41 PM
Is there a way to check this? I'm pretty sure it doesn't...

S