-
how do i send mail from command line with postfix?
for instance... with sendmail....
mail -s blahblah me@mydomain.org
i'm just trying to have portsentry let me know.
-
'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
-
For me it is /usr/sbin/sendmail here. I made a symlink in /usr/bin to /usr/sbin/ though.
klamath: thanks for sugguesting Postfix
-
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.
-
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
-
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?
-
Hi, in case you haven't figured it out yet
when you type the below command in CLI
nothing is happening because you need to enter the body of the message
then send the message
mail -s mysubjecthere forrestina@geekjuice.com
so, mail -s mysubjecthere forrestina@geekjuice.com
would become
%mail -s mysubjecthere forrestina@geekjuice.com
your message goes here
.
the DOT is the EOT it tells sendmail you're done with the message
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|