Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

E-mail delivery agent using linux's sendmail command

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you the use of linux sendmail command email delivery agent, I hope you will learn a lot after reading this article, let's discuss it together!

The sendmail command is a well-known e-mail delivery agent, commonly known as an e-mail server, based on the standard simple Mail transfer Protocol (SMTP).

Sendmail is only responsible for mail delivery, not responsible for mail writing and display and other functions.

Syntax format: sendmail [parameters]

Common parameters:

-bd runs commands in daemon mode-bD runs commands in foreground mode-bi initializes alias database-bm sends email routinely-bp displays mail sending queue-C specifies configuration file-D saves debug output to the specified log file Does not appear on the standard output device-F specifies the right sender's full name-f specifies the sender's name-n disables the use of mail aliases-Q sets the interval between processing messages in the mail queue

Reference example

Run sendmail as a daemon:

[root@linuxcool ~] # sendmail-bd

The use of mail aliases is prohibited:

[root@linuxcool ~] # sendmail-n

Send an email to user1:

[root@linuxcool] # sendmail-f user1

Output the debug information to test:

[root@linuxcool] # sendmail-D test

Run the command in the foreground:

[root@linuxcool] # sendmail-bD has finished reading this article. I believe you have some understanding of the sendmail command email transfer agent using linux. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report