View previous topic :: View next topic |
Author |
Message |
chrisstankevitz Guru
Joined: 14 Dec 2003 Posts: 472 Location: Santa Barbara, CA, USA
|
Posted: Fri Mar 26, 2010 7:59 pm Post subject: send email via command line: what protocol is used? |
|
|
Imagine I use this command to send an email:
Code: | cat Hello | mail -s Subject me@here.com |
Does this use SMTP? If no, what does it use? If yes, what server does it connect to?
Thank you,
Chris |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Mar 26, 2010 8:33 pm Post subject: |
|
|
Don't you mean "sendmail" instead of "mail"?
If so then, yes, it definitely uses SMTP. The server and login credentials are typically needs to be set up in a configuration file. Gentoo installs ssmtp by default as the MTA (Mail Transfer Agent). See- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Mar 27, 2010 4:16 am Post subject: |
|
|
... and the mail command is provided by the mail-client/mailx package. |
|
Back to top |
|
|
|