Click to See Complete Forum and Search --> : how do i send mail from command line with postfix?


forrest
10-17-2000, 04:38 AM
for instance... with sendmail....

mail -s blahblah me@mydomain.org

i'm just trying to have portsentry let me know.

klamath
10-17-2000, 09:36 AM
'mail' should work fine. Postfix supports the sendmail commandline interface, so you can even use that if you want.

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)

Darth Tminos
10-17-2000, 12:21 PM
For me it is /usr/sbin/sendmail here. I made a symlink in /usr/bin to /usr/sbin/ though.

klamath: thanks for sugguesting Postfix http://www.linuxnewbie.org/ubb/smile.gif

forrest
10-17-2000, 12:51 PM
hmmmm.... cause i tried that, and it hung there for about 1/2 an hour for before i came back, and nothing had happened.

it's on a default mandrake install if that helps.

maxl stylee
10-17-2000, 11:49 PM
i'm using Mandrake 7.1

i just use

"mail alex-stylee@home.com"

and then it asks for the subject....then the body...then Ctrl + D

and that always works.

Alex

forrest
10-18-2000, 01:40 AM
mail forrestina@geekjuice.com

works. and then it asks me for the subject, and the body, and then cc.

however....

mail -s mysubjecthere forrestina@geekjuice.com

just sits there for a reeeeeeealy long time. and never sends any mail. whats up with that?