Thank you so much! I'm a noobie and have only been coding for a year, and I was getting so frustrated with other explanations, but yours was thorough enough that I finally got it to work.
@TonyTeachesTech2 жыл бұрын
Glad I could help!
@crafty_sm6 ай бұрын
I finally found a complete video with an excellent explanation, you have helped me a lot. Thank you so much!😊
@artipleweb61062 жыл бұрын
Thanks man, I was struggling since last 15 days. Finally with your help it's all set up now
@TonyTeachesTech2 жыл бұрын
Glad to hear it!
@chromie-vy2me7 ай бұрын
Omg😢 I'm a student and assignment was due. I spent many days trying to accomplish this task, i even cried, thank you💕
@TonyTeachesTech7 ай бұрын
OMG you cried! I'm happy you got through it finally
@visarsutaj8268 Жыл бұрын
Great job Tony! Clear instructions on how to set up an email server using Ubuntu and Postfix :) The video and the link stated below the vide go hand-in-hand. Tried to go about other ways of setting up email server but it got really confusing especially when such videos or articles were talking about (i) setting a valid FQDN hostname, and (ii) adding MX & A records in the DNS. All of these explanations fall short in explaining the correlations b/w the Postfix and FQDN/MX&A when doing the actual installment.
@humanidrome8 ай бұрын
Wow thank you so very much ❤❤❤ That really helped me. The easiest postfix explanation I've seen so far.
@TonyTeachesTech7 ай бұрын
You're very welcome!
@cwegescheide1 Жыл бұрын
Hi Tony. Update, i figured out what was wrong. I have mailx working now. But I am trying to attach a small log file and that is not working. No worries though. Thank you soo much for your videos. Very clear and easy to follow. Cheers, Chris
@TonyTeachesTech Жыл бұрын
Thanks for the positive feedback Chris, cheers!
@OmarOmar-bz5je2 жыл бұрын
Great job Tony. Well organized.
@TonyTeachesTech2 жыл бұрын
Thanks 👍
@OlatunjiOdelade2 жыл бұрын
Excellent Tutorials, Good work @Tony
@TonyTeachesTech2 жыл бұрын
Many thanks!
@hyterakuwait4662 жыл бұрын
hi tony thanks too much for the videos , if you read my comment what is the best way to forward all received emails on ubuntu to gmail ?
@GhazanfarMehdi-ks2bo Жыл бұрын
hi tony, I've done all the steps with you but after all set, I didn't receive email. Nor in inbox neither in spam or junk. Please help
@ABHISHEKSAH-z3t8 ай бұрын
Really helpful video Tony. Thanks
@firstuser54482 жыл бұрын
Thanks man! It was very helpful and to the point. Just a couple of questions: (1) does the `sendmail` program install with the `postfix` package? and (2) can the same setup be used for receiving emails as well?
@charlesqueiroz5732 ай бұрын
Outstanding the presentation!
@GoreBruce8 ай бұрын
You are a life saver, man, thanks!
@RaviJAIN_ravi Жыл бұрын
Hi Tony excellent video. I have set up and configured but exactly but not sure why its not really sending email . Just wondering if you can help ????
@dixitkumar410424 күн бұрын
thanks buddy💌
@StefanSchmalhaus Жыл бұрын
Thank you very much for this tutorial!
@canberkozkan5932 жыл бұрын
It was really helpful ! Thanks for the content :)
@TonyTeachesTech2 жыл бұрын
Glad it was helpful!
@aoben5798 Жыл бұрын
How about the smtp server with 465 port? How to configure it? I have tried configured with that. But it always stuck in mail queue and the log showed that “Client wrappermode (port smtps/465) is unimplemented. Do you have any suggestion?
@mikerollin40732 жыл бұрын
Noticed a typo on the blog page for this guide in the following line: "Note that now you will have a database file at /etc/postfix/sasl/sadl_passwd.db" sadl_passwd.db should be sasl_passwd.db Thanks for this great guide!
@TonyTeachesTech2 жыл бұрын
Hey thanks for letting me know Mike. Fixed!
@jeanssmith58643 жыл бұрын
You did well keep going, so I would like to ask you can I send bulk emails if I would like to do that? Or can I use SMTP to others applications senders , thank you
@TonyTeachesTech3 жыл бұрын
It's possible, I have no experience doing that, but I would like to make you aware of the Gmail's policies on this matter. - support.google.com/mail/answer/22839 - support.google.com/mail/answer/81126 - support.google.com/a/answer/166852
@matthall85552 жыл бұрын
any reason you used postfix over the standard linux 'mail' application?
@AhmadREZK3 жыл бұрын
Thanks, You simplified it 👍
@TonyTeachesTech3 жыл бұрын
You bet!
@7eyedcrow Жыл бұрын
Thank you man. Worked for me.
@saurabhgoreamazing93682 жыл бұрын
thanks for the nice video .Achived the objective!!!
@TonyTeachesTech2 жыл бұрын
You're welcome!
@arpitasrivastava46292 жыл бұрын
man this is awesome !! Thanks
@TonyTeachesTech2 жыл бұрын
No problem!
@iamtheyikes4 ай бұрын
Great tutorial but i cant locate your video for setting up SASL. Can you please link it to me?
@gracedong9361 Жыл бұрын
Hi Tony, thanks for the tutorial. It's quite straightforward to follow. I set the postfix following the steps successfully in a linux vm. But setting postfix in a docker container fails. By "fails" I mean the test email cannot be sent out. Could you please give me some advice on how to fix it? Thanks.
@ravi-gadhiya3 жыл бұрын
Amazing, You are rock👍
@TonyTeachesTech3 жыл бұрын
Thank you so much 😀
@mohammedalinashnoush23362 жыл бұрын
many thanks it is work, keep going
@TNTy100 Жыл бұрын
Amazing video. Thank you so much.
@TonyTeachesTech Жыл бұрын
Glad you liked it!
@sayansarkar7582 Жыл бұрын
it helps..thank you, Sir
@nayemhossainishan2582 жыл бұрын
Thanks, man ..... you are really awesome
@TonyTeachesTech2 жыл бұрын
You're welcome!
@mobilegamer77672 жыл бұрын
Big thanks for help!
@TonyTeachesTech2 жыл бұрын
You're welcome!
@Scrollunlock3 ай бұрын
amazing thanks for sharing this
@lefigo18211 ай бұрын
awesome. helped a lot. Thanks
@MaksimGrabar Жыл бұрын
You are the BEST!!!!!!!!!!!!!!!!!!!!
@vahidtavakkoli95782 жыл бұрын
Thanks, simple and nice.
@TonyTeachesTech2 жыл бұрын
You're welcome!
@anfalchouikh15152 жыл бұрын
thanks a lot keep going. What are the commands to add here in sending email to chang email transmission protocol i mean to imap or pop3 configuration i really appreciate you help .
@TonyTeachesTech2 жыл бұрын
Hi thank! Sorry I don’t know
@OscarFaustoPelosi3 жыл бұрын
Thank you: you saved me a lot of time! :D
@TonyTeachesTech3 жыл бұрын
Great to hear. You're welcome
@kafirhun18 сағат бұрын
I am using Google workspace, how can i relay my Google workspace email through Ubuntu?
@roman.brunetti11 ай бұрын
Great, how about attachments?
@makshaponenko75523 жыл бұрын
It's works. Thank you!
@TonyTeachesTech3 жыл бұрын
You're welcome!
@another-niko-pfp-holder2 ай бұрын
Is there something that allows you to set postfix up like that on arch?
@adityasharma27053 жыл бұрын
Hi, i followed your tutorial and i am able to use sendmail command but the crontab is not able to send mail. like if i use sendmail it works , but if i use the MAILTO=email option in the crontab -e, then it is not sending any email. Thanks for your help
@TonyTeachesTech3 жыл бұрын
Hmm I'm really not sure what that's happening
@adityasharma27053 жыл бұрын
@@TonyTeachesTech yeah found out that my cron was not running so anyone if facing this issue just restart your cron. You can search how to restart cron , there a whole page on stackoverflow
@bhattvi Жыл бұрын
awesome
@ИльназМингазов-з6л2 жыл бұрын
good video! thanks!
@TonyTeachesTech2 жыл бұрын
You're welcome!
@jonathansalazar7032 жыл бұрын
A query, what steps should I follow to be able to change my email? Should I delete the database from the old mail?
@TonyTeachesTech2 жыл бұрын
Can you rephrase your question? I don't understand
@elpresti3 жыл бұрын
hello, everything executed as you explained but not working on Ubuntu 18.04.. the emails never arrives (also checked on spam, of course), and I can't reach the postfix_log file to check the reason... anyway, thanks for your help
@TonyTeachesTech3 жыл бұрын
Sorry to hear that
@dustindecoursey23313 жыл бұрын
For anyone else that runs into this, check /var/log/mail.err for errors. Same happened to me and I found a typo in my configuration, easy fix.
@cwegescheide1 Жыл бұрын
@@dustindecoursey2331 thanks Dustin. Now I see what my error is!
@kimaegaii Жыл бұрын
@1:09 what would my domain email be, like how do i find what i should put there? thanks
@ameer2942 Жыл бұрын
YOU ARE AWSOMEEEE!!!!!!
@nrohankar2 жыл бұрын
Thank you!
@TonyTeachesTech2 жыл бұрын
You're welcome!
@begelmanleonid6754 Жыл бұрын
is it possible to use sendmail as amtp client with another mail server?
@geziraunited Жыл бұрын
I setup my email with virtualmin and Conatbo vps round cube is opened but i can not to connect it with outlook please guide me to fix this problem Thanks , Mohamed
@StopSocialismUSA3 жыл бұрын
It might be worth mentioning /etc/ssl/certs/ca-certificates.crt was on my GNU/Linux machine by default
@TonyTeachesTech3 жыл бұрын
That might be part of a self-signed cert that is installed with the system
@cloudtech69373 жыл бұрын
Thanks bro
@TonyTeachesTech3 жыл бұрын
Welcome
@cf_tg67367 ай бұрын
tysm
@x.device40466 ай бұрын
Tnx
@TonyTeachesTech6 ай бұрын
Yw
@Learnwaseem6 ай бұрын
Sir it says smtp 530 authorization required. what to do now?
@johnjohnston68972 жыл бұрын
when I sent the path to postmap (sudo postmap /etc/postfix/sasl/sasl_psswd) it didn't create a .db file... any idea??
@jamesmichaels42092 жыл бұрын
thanks
@TonyTeachesTech2 жыл бұрын
You're welcome!
@jonathansalazar7033 жыл бұрын
Gracias.
@TonyTeachesTech3 жыл бұрын
:)
@HijrahTipsandAdvice Жыл бұрын
I didnt see how he saved the vim file. How do we save it once we've created it
@devidashalge56012 жыл бұрын
i have tried in linux but not working can you please guide ?
@abumariemegueye23553 жыл бұрын
thank for this tuto. during my first test I get a google security notification, google blocked the message.
@TonyTeachesTech3 жыл бұрын
You're welcome!
@blinddog12122 жыл бұрын
Clear directions, but it didn't work for me in the end. I try to send a test mail to myself. The command initiates but I never receive the email (checked spam folder too). I'm using Debian 11.
@TonyTeachesTech2 жыл бұрын
Hmmm, perhaps check your mail logs at /var/log/ for clues
@Rickety32633 жыл бұрын
Can you do a video on hostnamectl and the importance of fqdn?
@TonyTeachesTech3 жыл бұрын
Maybe this will help you? kzbin.info/www/bejne/rJunk4mYZrqfapY
@habiburdev2 жыл бұрын
I have followed all steps properly, there is no error, but not getting mail after sending mail.
@TonyTeachesTech2 жыл бұрын
I'm not sure why emails are not coming through
@khabobmma80392 жыл бұрын
Thanks for the video, I was not able to create the sasl_passwd file at all. Once i input the data inside i am in no way able to save it, i can only get out of it and it never creates it.
@khabobmma80392 жыл бұрын
Update: I was able to save the file by using :w
@cortisolblue22082 жыл бұрын
Do you need a domain name? what if i'm just using my pc and I'm not trying to run this off of a server with a paid address? can't my pc's IP just work?
@TonyTeachesTech2 жыл бұрын
Yes you can use an IP locally
@cortisolblue22082 жыл бұрын
@@TonyTeachesTech thanks!
@pankajdeshmukh65653 жыл бұрын
perfect
@TonyTeachesTech3 жыл бұрын
Great!
@kesteredmund77232 жыл бұрын
how to save the sasl email and password? is it control + S
@bablisahu16513 жыл бұрын
It is ctrl+d or t in the end??
@TonyTeachesTech3 жыл бұрын
D
@virtualstudiesforkidds49353 жыл бұрын
Hello Sir. I'm not able to send mail through sendmail command. It is just blinking and didn't receive any output.
@TonyTeachesTech3 жыл бұрын
I'm not sure why
@mohamedmanas30553 жыл бұрын
I am getting "status=bounced, Authentication required" Error Any idea? In my sassl_passwd file, I'm using direct login password not the App password
@TonyTeachesTech3 жыл бұрын
You will need to use the App password
@robertwermis2971 Жыл бұрын
Hmmm mine is not working, not sure why.
@saurabhgoreamazing93682 жыл бұрын
Have retried the procedure but still no mail can you please tell me why?
@TonyTeachesTech2 жыл бұрын
I don't know
@virtualstudiesforkidds49353 жыл бұрын
Can we configure this on Ubuntu 16.04 server??
@virtualstudiesforkidds49353 жыл бұрын
Hello, I'm not able to send mail through send mail command.
@TonyTeachesTech3 жыл бұрын
Yes
@dannyreg84052 жыл бұрын
Followed everything to the "T" and still no email. How can I fix it?
@TonyTeachesTech2 жыл бұрын
If you follow everything exactly, I’m not sure what else to tell you :(
@uctrungpham28123 жыл бұрын
Sorry but I can not recieve email from the server. How can I check mail is sent or not?
@TonyTeachesTech3 жыл бұрын
You can check the logs at /var/log
@uctrungpham28123 жыл бұрын
@@TonyTeachesTech Thank you !!!
@mariohidalgo69553 жыл бұрын
I received this notification: System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
@TonyTeachesTech3 жыл бұрын
Hmm, I'm not sure what that means
@kevinramirez72 жыл бұрын
I never got the mail :(
@airanicolecabrillas32273 жыл бұрын
How will postfix accept mail?
@TonyTeachesTech3 жыл бұрын
This is send only
@ameenal-azzawi21803 жыл бұрын
How to add an attachment?
@TonyTeachesTech3 жыл бұрын
Sorry, I'm not sure
@ismailshaik4163 жыл бұрын
mutt -s "test" -a mymail@mail.com
@sanikapatil93842 жыл бұрын
How to edit password ?
@thilipantanabalan47683 жыл бұрын
i receive the error notification "network is unreachable" pls reply
@TonyTeachesTech3 жыл бұрын
Can you ping google.com or 8.8.8.8?
@thilipantanabalan47683 жыл бұрын
@@TonyTeachesTech yes bro
@TonyTeachesTech3 жыл бұрын
@@thilipantanabalan4768 Hmmm, sounds like the network is reachable. Perhaps try the suggestions here www.digitalocean.com/community/questions/unable-to-connect-to-smtp-gmail-com-network-is-unreachable
@thilipantanabalan47683 жыл бұрын
@@TonyTeachesTech ok sir will try
@thilipantanabalan47683 жыл бұрын
@@TonyTeachesTech i receive this error bro "(TLS is required, but our TLS engine is unavailable) "
@kayumiman11902 жыл бұрын
not work for me :( can u help me sir, please :)
@TonyTeachesTech2 жыл бұрын
What is the problem?
@kayumiman11902 жыл бұрын
@@TonyTeachesTech now its done, i have wrong configuration, i just release i need to put my smtp email and right port, in my contry ur port not work
@MrBojo-jv4qq Жыл бұрын
You the man!
@hah36913 жыл бұрын
didnt work for me
@TonyTeachesTech2 жыл бұрын
What happened?
@hah36912 жыл бұрын
@@TonyTeachesTech i send an email but it doesnt apear to reach its destination and i can see it on my gmails sent box
@TonyTeachesTech2 жыл бұрын
@@hah3691 Okay so you can see it's sent, but not received. That's odd. Does it bounce back at all?
@wnywebdevelopment87573 жыл бұрын
I don't get it. Why would anyone want to send emails through the command line?
@TonyTeachesTech3 жыл бұрын
In case it's not clear, the sendmail program is used by the system to send emails. Scheduled cronjobs and critical web server errors are just two examples of automated system emails. Additionally, developers can leverage the sendmail command to generate emails in their software. It's not often that people will use the sendmail command directly. That was just for demonstration. But once you configure your Postfix and SMTP settings, you can further configure Ubuntu to send you important messages and alerts that will help you as a system administration.
@wnywebdevelopment87573 жыл бұрын
@@TonyTeachesTech Hmmm....So that leaves a lot more unanswered questions. What important messages and alerts would ubuntu be sending? Now you got me curious about this.
@TonyTeachesTech3 жыл бұрын
@@wnywebdevelopment8757 😊 happy to hear that! Let's say you've created a backup of your website with a cronjob (I'll have a video about this later in the month). It would be valuable to know when the backup fails. Maybe because the destination server is offline or you ran out of disk space. Otherwise you're in the dark until you logon and figure this out for yourself. And in the case of the web server sending emails, I am using Django for a few of my websites which sends me an email when the web server encounters an internal server error for example. These are just 2 examples, but in either case the first step is to properly configure Postfix SMTP settings.
@wnywebdevelopment87573 жыл бұрын
@@TonyTeachesTech Thanks for explaining. On my website ownbamboo that I migrated too cloudways. I set up their smtp service with sendinblue for my email marketing campaigns and I use privateemail as the business email because I can use my domain @ownbamboo.com. So seeing that I want my email address with my domain can I do that on postfix for free or should I just keep things as they are and keep paying for my business email?
@wnywebdevelopment87573 жыл бұрын
@@TonyTeachesTech Read this article www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntu. This is where I thought you were going with it because you really don't show what to do with postfix after it's installed.
@_yomiadebowale2 жыл бұрын
I followed the tutorial but the mail is not reflecting on the recipient email. Instead I keep getting the you have a new mail at /var/mail/user