In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to use the Linux command sendmail, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
The Linux common command sendmail is a mail sending agent in postfix, which is responsible for sending mail to a remote server and can receive mail. When sendmail sends an email, it defaults to reading from the tile input to "." To the end.
Syntax sendmail [option...] [recipient...]
Option parameter list option description-bd enters deamon mode-bi initializes alias database-bm reads messages from standard input-bp lists mailing lists-bs independent smtp mode, reads from standard input, outputs to standard output-location of Cmain.cf-F specifies the full name of the sender-f specifies the sender-I ignores lines with only a single point-Q processes messages in the queue 3, instances at given intervals
1) send an email to SB.
[root@localhost ~] # * * sendmail david / / * * ``* * send email to * *`` * * david** ``* *. The default sender is * * ```root** ``123.`.``[ root@localhost ~] # * * tail / var/spool/mail/david / / *`` * * View the * * ``* david** ``* * mailbox Received email * * ````Delivered-To: david@ David cn``received: by mailsrv.david.cn (Postfix, from userid 0) ``id 5B3A7143211 Fri, 5 Oct 2018 21:33:34 + 0800 (CST) ``Message-Id: ``Date: Fri, 5 Oct 2018 21:33:29 + 0800 (CST) ``From: root@david.cn (wejie) ``To: undisclosed-recipients:; ````123. Show details
2) specify the sender
[root@localhost ~] # * * sendmail-f weijie david / / weijie** ``* * send email to * *`` * * david** ````hehe`.``you have new mail in / var/spool/mail/ root`` [root@localhost ~] # * * tail / var/spool/mail/david / / * * ``* * View * *`` * * david** ``* * mailbox The sender is Wei Jie * * `Delivered-To: david@ david.cn`received: by mailsrv.david.cn (Postfix, from userid 0) ``id 3544314308F Fri, 5 Oct 2018 21:37:11 + 0800 (CST) ``Message-Id: ``Date: Fri, 5 Oct 2018 21:37:07 + 0800 (CST) ``From: weijie@david.cn (wejie) ``To: undisclosed-recipients:; `hehe`` display details
3) check what fields are in the table
[root@localhost ~] # * * mysqlshow-u root-p test wj / / * * ``* * displays the information of the table * *`` * * wj** ``* * in the database * *`` * * wj** ``* ``Enter password: ``Database: test Table: Wj`` + -- +-- + ``| Field | Type | Collation | Null | Key | Default | Extra | Privileges | Comment |`` +- -+-- + ``| id | int (11) | | NO | select Insert,update,references | | ``| name | text | latin1_swedish_ci | NO | select,insert,update References | | above ``+-+-- +-+ It's all the content of the article "how to use Linux commands sendmail". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.