Linux POSTFIX Tutorial to send EMAIL | MPrashant

Опубликовано: 21 Март 2023
на канале: M Prashant
25 тыс
43



Join this channel to get access to perks:


-------------------------------
Postfix Config lines

Add the following lines

relayhost = [smtp.gmail.com]:587
myhostname= your_hostname

# Location of sasl_passwd we saved
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd

# Enables SASL authentication for postfix
smtp_sasl_auth_enable = yes
smtp_tls_security_level = encrypt

# Disallow methods that allow anonymous authentication
smtp_sasl_security_options = noanonymous

-------------------------------------------------------------------------------------------

Create a file under /etc/postfix/sasl/

Filename: sasl_passwd

Add the below line
[smtp.gmail.com]:587 email

------------------------------------------------------------------------------------------

To send an email using Linux terminal

echo "Test Mail" | mail -s "Postfix TEST" paul


In this video, we will cover about Postfix service configuration on Linux server.
Postfix installation and Mailx
Editing postfix config to add the google smtp as relayhost
how to authenticate google smtp credentials
how to send an email using mail command with attachment

00:00 Intro
01:00 Installation of Postfix and Mailx
02:54 Editing postfix Configuration
07:50 sasl_passwd file
09:11 How to Generate Google SMTP Password
13:52 Sending Email using Mail command
15:48 Sending Email with Attachment in Linux

Linux postfix tutorial
Linux postfix configuration
Linux postfix with gmail smtp
smtp.google.com
How to send email using POSTFIX?
How to send email in Linux?
How to send email from Linux server?
How to send email from Linux server using gmail SMTP?
Linux Emails


Смотрите видео Linux POSTFIX Tutorial to send EMAIL | MPrashant онлайн без регистрации, длительностью 17 минут 16 секунд в хорошем hd качестве. Это видео добавил пользователь M Prashant 21 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 25 тысяч раз и оно понравилось 43 людям.