Click to See Complete Forum and Search --> : UNIX Sendmail


saintpretz59
12-26-2007, 08:32 PM
Hey, does anyone know how to use UNIX's sendmail command?

I'm having trouble finding any material about how it is used. I don't even really understand the man file.

Do I need to configure anything?
Does is send mail *as* any particular email address, or can I really just say that I'm, say, president@whitehouse.gov?

Can someone please help me understand this?

Thanks, Jason

drhowarddrfine
12-27-2007, 11:01 AM
It's been a while since I set up sendmail. You say Unix but is it Unix or FreeBSD or Linux?

sendmail docs (http://sendmail.org/doc/)
FreeBSD Handbook - sendmail config (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sendmail.html)

saintpretz59
12-27-2007, 11:25 AM
Pretty sure it's just plain unix. Mac OS X Terminal. I'm almost positive that's UNIX. Thanks for the advice.

drhowarddrfine
12-27-2007, 09:03 PM
OSX is a melding of FreeBSD and Mach so it's Unix-like but not strictly Unix. Many of the same things work in OSX but that's not my area of expertise.

alt
01-02-2008, 11:32 AM
Doesn't sound like you have good intentions in using Sendmail. What exactly are you wanting to do with it?

saintpretz59
01-05-2008, 11:03 AM
haha i'm not going for presidential impersonation or anything :).
I just used it as a really absurd example. I want to use sendmail as part of a cgi program. Do i need to send up my own mail server, or can i use an email address that i already have.
Im really confused about everything.

I guess my question is:
HOW DO I SET UP A MAIL SERVER (hopefully to be accessed by unix's sendmail).
Is that easier to understand? Does it at least sound less malicious :).

I promise, i'm not about to go scam someone.

Besides, if i impersonated the president, no one would <i>ever</i> give me money!
Thanks All