Summary
Keywords
Full Transcript
#linux #mprashant #linuxtutorial @MPrashant Join this channel to get access to perks: https://www.youtube.com/channel/UCmbNDD-DifF92QNbKvlF_SA/join ------------------------------- 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 protected]:password ------------------------------------------------------------------------------------------ To send an email using Linux terminal echo "Test Mail" | mail -s "Postfix TEST" [email protected] 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
