sending mail via cli
lets say i want to send mail via the cli, how would i go about doing that?
|
I have to know this...
what is the cli |
it is the command line interface :D...
|
OH:p
just use the mail command |
there are loads of ways, i only use Pine as my email client, as it's so much easier and fast the sylpheed or all that rubbish.
david... not impressed! :P |
I use pine too :)
|
You could do something like
Quote:
|
I would use mutt:
mutt email@ddress.com -s "Some subject" < file_containing body or <body on STDIN> | mutt email@ddress.com -s "Some subject" -- Or you can run mutt and use the console interface if that's what you ment. |
mutt...
how do you get mutt to download your email messages...also what directory do they download to?
|
if you want to get mail on command line you could try fetchmail
just do this fetchmail -u username mail.your.email.server did you try pine yet? |
port 25
if i install fetchmail and sendmail does the smtp port stay open all the time? i know that might sound paranoid but i really like my machine to have no security holes...
|
you are talking about checking mail on an outside server I think
you would not need to be running a server for that. you establish the connection to the server and get your mail. sendmail is setup as a local mail delivery system by default, no one can connect to it from anywhere but locally. |
Re: port 25
Quote:
|
ipchains/iptables
where would the files for this be located? i can not find them anywhere using locate or whereis...
|
if they're installed, they'll be on root's path. it would seem that they're not, they'er not on my md81 desktop box. install the rpms (search rpmfind.net if you need to) and i recommedn using fiiestarter to configure them
|
All times are GMT -5. The time now is 08:52 PM. |