LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2003, 09:34 AM   #16
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31

I have 2 working sendmail, and a working postfixes

Use traceroute

traceroute6 is probably for IPv6.
 
Old 12-05-2003, 09:37 AM   #17
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
It doesn't recognize traceroute:


traceroute www.google.com
=========================
bash: traceroute: command not found


You are the man! 2 working sendmail!! im jealous...just trying to have one and work from there.
 
Old 12-05-2003, 09:40 AM   #18
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
/usr/sbin/traceroute www.google.com

or

cd /usr/sbin

./traceroute www.google.com

(and I don't have regular sendmails, they're MailScanner-powered sendmails )
 
Old 12-05-2003, 09:44 AM   #19
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Sorry I should have known that command, but I run that command I get:

./traceroute www.google.com
============================
socket: Network is unreachable


r,
tt
 
Old 12-05-2003, 09:47 AM   #20
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
you're on a machine with working internet access right now?

is there a proxy in your network?
 
Old 12-05-2003, 10:01 AM   #21
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
well i am ssh to the server and there is working internet access
I can guarantee.

What do you mean proxy? I am not good with networking terms, sorry
 
Old 12-05-2003, 10:05 AM   #22
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
there is no other word than a proxy for a proxy.

ask your network admin. I can't help you much further...

or try it out on a windows machine...
 
Old 12-05-2003, 10:11 AM   #23
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
I dont know if we are using a proxy on our network, but I do appreicate the time you have put out. Thanks alot!


Ugob is da Man!
 
Old 12-05-2003, 10:15 AM   #24
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
ok, try to get more info, especially just the gateway. when you have more info, let us know.
 
Old 12-05-2003, 10:20 AM   #25
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Allright I'll will do, Thanks Again!!

Gateway meaning the gateway ip number right???
 
Old 12-05-2003, 10:26 AM   #26
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
gateway IP address in fact. the net admin would have understood number, i guess...
 
Old 12-10-2003, 12:19 PM   #27
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
ugob,

Whats up!!! I have got sendmail working. My PL/SQL procedure can email to my yahoo and hotmail accounts. The problem was in the gateway like you had mentioned. I talked to network administrator and we found out that the gateway was not specificied in the /etc/sysconfig/network file.


I have another question do you know how to change the FROM title in the received email message? Lets say I want "MY NAME" instead of root@localhost

From: "root@localhost" <root@localhost.localdomain>

Is there a file that I need to modify??

r,
THANKS BRO!
 
Old 12-10-2003, 12:52 PM   #28
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
eheh. gateways are often a problem... really quick to fix, however.

For your other problem, are you sure you want to run this as root? Your choice, but for security, better a user without privileges.

You might want to try editing your /etc/passwd file (with vipw) and put whatever you want in the 5 th field of the line of the user you want to use. This should do it.

Example:
user:x:56643:56643:User Name:/home/user:/bin/bash

Using that example, you would receive mail from "User Name"

see man5 passwd
 
Old 12-10-2003, 12:54 PM   #29
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
sorry...

man 5 passwd

hope this helps
 
Old 12-10-2003, 01:10 PM   #30
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Ugob,

Thanks, but I am not sure what you mean. I located the passwd file with lines looking similar to the one below:

What should I change so that MY NAME appears in the FROM area of an email header. I read the man 5 passwd and didnt' clarify things for me.


trantv:x:xxxxx:xxxxx::/home/trantv:/bin/bash

r,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail configuration problem (newbie) mastyle Linux - Software 3 03-11-2005 04:52 PM
Help to Sendmail newbie mycsbox Linux - Newbie 3 07-06-2004 06:39 AM
Sendmail newbie jhayes Linux - Software 1 03-31-2004 02:02 PM
sendmail setup newbie complus Linux - Software 4 11-12-2003 10:07 PM
newbie sendmail linowes Linux - Networking 6 02-18-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration