LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sendmail help (https://www.linuxquestions.org/questions/linux-networking-3/sendmail-help-82384/)

zaphanol 08-15-2003 06:38 PM

sendmail help
 
ok...im just fooling around trying to figure out this "sendmail" command thing. when i'm sign in as root i can type sendmail (then the user i want to send it to) but when i check the mail of the user i sent it to it says "no new mail". Also when Im just sign in as my user (not root) and i open a terminal and type "sendmail" it says command not found... why is this? please help me!

(I use Red Hat 9)

joseph 08-15-2003 10:31 PM

actually i am quite confused with your question, but i seem your relay having some problem, maybe you can post your sendmail.mc here?

zaphanol 08-16-2003 11:03 AM

when i type in sendmail.mc in the terminal it says command not found.

HappyDude 08-16-2003 11:22 AM

I think he means find sendmail.mc on your computer then post it here.

zaphanol 08-16-2003 11:27 AM

I also have another problem... I'm sign in as root, ok? you with me? I go into terminal and type in "sendmail ethan" (ethan is the user i use on this PC) i type my message blah blah blah...I'm done but now I dont know how to send it! Any suggestions? Please Help and I hope no one is confused!!!

zaphanol 08-16-2003 11:28 AM

To: Happy Dude,
what do you mean find? Im confused

zaphanol 08-16-2003 11:29 AM

i type in find sendmail.mc and it says "No Such Directory" if thats what you mean...

zaphanol 08-16-2003 12:18 PM

I GUESS I REALLY NEED HELP WITH STARTING A MAIL SERVER!!! PLEASE HELP IM CONFUSED, I HAVE KNOW IDEA WHAT I'M DOING!!!!!

HappyDude 08-16-2003 10:16 PM

Look I dunno if its what he means but open X, find the program that searches your computer. Where it says what the name of the file you want enter "sendmail.mc" (no quotes) and where it asks where to look enter "/" (again, no quotes). Tell it look. If it doesnt find anything I'm stumped.

joseph 08-18-2003 08:20 PM

dear zaphanol,

i mean post your sendmail.mc in /etc/mail.

you to sendmail to ethan right?
this is the way to send it :
sendmail ethan then enter (i am not quite sure sendmail because i have leave sendmail a long time ago and now i am using postfix, but you can try it, hope my memory is right.)
type subject then enter
type the body messages enter
type the CC or if you don't want to CC it to someone else then leave it blank enter.
type . (dot) enter
ok your mail already in queue.
type mailq to check your mail


All times are GMT -5. The time now is 04:33 AM.