Linux POSTFIX Tutorial to send EMAIL | MPrashant
#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@gmail.com:password
——————————————————————————————
To send an email using Linux terminal
echo “Test Mail” | mail -s “Postfix TEST” paul@gmail.com
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
by M Prashant
linux smtp server
I'm using Ubuntu and in my case mail command is not able to send attachments. However, I'm able to send the attachments successfully using mutt command.
Hi Prashant
==============HELP HELP HELP==============
I did everything as mentioned in this video
But still unable to send email.
Also not showing any kind of error message.
I have a questions to ask
1. I have created fresh ec2 instance and start using the steps as mentioned in this videos. Do I need to have anything else more to configure in this VM.
2. I used sudo apt install postfix > it shows already install. But when running this command "postfix –version" it doesn't show anything | same with mailx command | ==============What's the issue do you think?
postmap: warning: /etc/postfix/main.cf, line 58: overriding earlier entry: smtp_tls_security_level=may
what to now how to solve this error
One of the best content in indian linux community ❤
Hi, please let me know how set mail send limit size .
Thanks a lot for the very good explanation. I have understood these kinds of easy steps of postfix configuration.
**Can you please explain about NFS mount point share from the Linux server to Windows server any kind of document or video please share.***
when i enter send-mail command it show me the message command not found how can i fix it pls tell me sir
What is UNIVERSAL isa and how it will work in version 26 in perl.. please Bhai ek videos bana do
Thanks for the video !! When i try to generate the sasl_passwd.db file it's getting as below.
postmap sasl_passwd
postmap: warning: /etc/postfix/main.cf, line 54: overriding earlier entry: smtp_tls_security_level=may
postmap: fatal: bad string length 0 < 1: mydomain =
Please make a video on SAR command
Great tutorial, can we use DMARC and DKIM as well with Postfix?
Thank you too much sir
Aapne meri comment Sun li
Akhir video bana hi diya
Great help ty🎉
Error : 587 is unreachable
Error :-
Open database /etc/postfix/sasl/sasl_password.db: no such file or directory
Appreciate your hard work.
Please create a video on samba server and Mysql server as well with detailed explanation.
Thank you.
It's very nice
Linux backup DUMP and SCP pe video banav
Thank you God for this channel 🥹🥹🙏🙏🙏
very useful video sir. i tried all step on my VM where i install centos. but i got error in last step ,could you please suggest solution (error:[root@localhost sasl]# systemctl start postfix.service
-bash: systemctl: command not found
)
👌👌👌
Can you make a video on dedicated mail server with attach mysqldb like other organisation do.??
Thankyou Sir
Means alot
Thanks bro it’s really help me a lot
What about rhel flavour
Postgres ka koi video banaiye na