Linux POSTFIX Tutorial to send EMAIL | MPrashant

preview_player
Показать описание
#linux #mprashant #linuxtutorial @MPrashant

Join this channel to get access to perks:

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

Add the following lines

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

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

To send an email using Linux terminal

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
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
Рекомендации по теме
Комментарии
Автор

Thank you too much sir
Aapne meri comment Sun li
Akhir video bana hi diya
Great help ty🎉

victorified
Автор

One of the best content in indian linux community ❤

piyushpatil
Автор

Excellent tutorial . Thank you very much.

mktfasshwetasoftware
Автор

thanks alot, i was stuck but bcoz of your video i got the solution

SakshiAbrol-jo
Автор

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.****

jamesjayakumar
Автор

Appreciate your hard work.
Please create a video on samba server and Mysql server as well with detailed explanation.

Thank you.

nikhilkori
Автор

Will this work for custom domain in a production network?? We r using Gmail via google workspace ..
Do i have to add any dns records ?

ConfusedChannel
Автор

Thanks Prashant for making clear and crisp content. Although I am receiving email correctly but whenever I am executing the main command it's show this error "Unknown command: "SUBJECT=". Also I am configuring a disk space alert and I want to mail 8 members in a group how can I achieve that?

shaikhrahil
Автор

Thanks a lot! It really worked. I do have a question apart from this. Can we send the mail from gmail to our server?

advaithaithal
Автор

Great tutorial, can we use DMARC and DKIM as well with Postfix?

MuhammadImran-yqqn
Автор

In latest version mailx is relaced by s-nail

MPrashant
Автор

Can you make a video on dedicated mail server with attach mysqldb like other organisation do.??

techrohhit
Автор

Hi Prashant
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 | the issue do you think?

ServerAlert
Автор

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.

akashshelke
Автор

Subscribed, thanks for all the videos, struggling to find a job , Bus 1 question hai


attachment time pe "-a" se invalid header error aa raha hai,

i googled it and it was "-A" caps mein, I use Ubuntu, may be that why, anyways thanks bro for everything

siddhartharora
Автор

Paul Bhai how to send mails through web console using postfix mail server, can you please make a video on that

MrVeeru
Автор

I followed the same step with no error, but it's don't working.

Firewall also Stop
Please help 🙏

mohdusman
Автор

in red hat 9 mailx is no longer used, replacement utility in RHEL 9 is s-nail. could you please give some tips regarding same ?

sumsetu
Автор

Hi Sir, I've followed the same procedure still I'm not getting any mails in my mailbox. Coulr you please suggest on it?

swatimeshram
Автор

How can i config for my domain to send email from my domain

PHPMaster-lyqn