Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Sending E-Mails (Plain/HTML) From CentOS Terminal to Gmail Inbox | Mailx Configuration | VRTech

  • VRTechnologies For Automation
  • 2023-01-01
  • 1663
Sending E-Mails (Plain/HTML) From CentOS Terminal to Gmail Inbox | Mailx Configuration | VRTech
mailmailxsendmailgmail configurationcentosubuntulinuxshell scriptingautomationbashbash scripting
  • ok logo

Скачать Sending E-Mails (Plain/HTML) From CentOS Terminal to Gmail Inbox | Mailx Configuration | VRTech бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Sending E-Mails (Plain/HTML) From CentOS Terminal to Gmail Inbox | Mailx Configuration | VRTech или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Sending E-Mails (Plain/HTML) From CentOS Terminal to Gmail Inbox | Mailx Configuration | VRTech бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Sending E-Mails (Plain/HTML) From CentOS Terminal to Gmail Inbox | Mailx Configuration | VRTech

Complete Courses are Available on www.packtpub.com
Links:
=====

Learn AWS Automation with Boto3, Python, and Lambda Functions:
https://www.packtpub.com/product/lear...

Complete Bash Shell Scripting:
https://www.packtpub.com/product/comp...

Jq Command Tutorials for Bash Shell Scripting:
https://www.packtpub.com/product/jq-c...

Automation with Ansible Playbooks:
https://www.packtpub.com/product/auto...

Complete Python Scripting for Automation:
https://www.packtpub.com/product/comp...

##############################################################


This Video is about sending E-Mails (Plain/HTML) From Centos Terminal to Gmail

Sending Mails from CentOS using gmail config info:
==================================================
switch to root (sudo su - )
Step 1. yum update -y
Step 2. Install Postfix, the SASL authentication framework, and mailx.
yum -y install postfix cyrus-sasl-plain mailx
Step 3. Restart Postfix to detect the SASL framework.
systemctl restart postfix
Step 4. Start Postfix on boot
systemctl enable postfix
Step 5. Open the /etc/postfix/main.cf file.
vi /etc/postfix/main.cf
append the following into the file: /etc/postfix/main.cf

relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous



Step 6. Configure Postfix SASL Credentials

Add the Gmail credentials for authentication. Create a "/etc/postfix/sasl_passwd" file

touch /etc/postfix/sasl_passwd
Add the following line to the file:

vi /etc/postfix/sasl_passwd
[smtp.gmail.com]:587 xyz:AppPassword (Note: xyz is from [email protected], password_app is from goog management app password )

Step 7. Create a Postfix lookup table from the sasl_passwd text file by running the following command:

postmap /etc/postfix/sasl_passwd
Step 8. Sending mail

Run the following command to send mail:
echo "This is a test mail & Date $(date)" | mail -s "message" [email protected]
cat /tmp/demo.html | mailx -s "$(echo -e "This is the subject\nContent-Type: text/html")" [email protected]

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]