Send Only SMTP Server using Postfix and Mailutils
Get a server from GCP, Azure, AWS, Digital Ocean or other and run
$ sudo apt-get update
$ sudo apt install mailutils
A postfix config screen should appear,
select 'internet site'
enter the mail servers name, it should be something you've already setup in your existing DNS providers name server elsewhere. for example. I set up an A name record for smtp.seanwasere.com and it points to the IP Address of the server I am using in this video and got from digital ocean.
Digital Ocean : https://m.do.co/c/23d277be9014 ($50 Free Credit for 30 Days)
Alternatively, you can I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : https://hetzner.cloud/?ref=9P2JvW3y3OBA
Then configure postfix by calling
$ sudo nano /etc/postfix/main.cf
scroll to the bottom, and change 'inet_interfaces = all' to 'inet_interfaces = loopback-only'
see more postfix config options at
http://www.postfix.org/postconf.5.html#inet_interfaces
restart postfix
$ sudo systemctl restart postfix
try sending an email form the command line,
$ echo "This is the body" | mail -s "This is the subject" -a "FROM:[senders address]" [your personal email]
That's it,
If you have nodejs, python, java, .net or any applications that need to send emails, you can now use the local smtp server you just created. Expect all incoming emails to be in your spam folder first until you white list them on your email client.
Видео Send Only SMTP Server using Postfix and Mailutils канала SBCODE
$ sudo apt-get update
$ sudo apt install mailutils
A postfix config screen should appear,
select 'internet site'
enter the mail servers name, it should be something you've already setup in your existing DNS providers name server elsewhere. for example. I set up an A name record for smtp.seanwasere.com and it points to the IP Address of the server I am using in this video and got from digital ocean.
Digital Ocean : https://m.do.co/c/23d277be9014 ($50 Free Credit for 30 Days)
Alternatively, you can I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : https://hetzner.cloud/?ref=9P2JvW3y3OBA
Then configure postfix by calling
$ sudo nano /etc/postfix/main.cf
scroll to the bottom, and change 'inet_interfaces = all' to 'inet_interfaces = loopback-only'
see more postfix config options at
http://www.postfix.org/postconf.5.html#inet_interfaces
restart postfix
$ sudo systemctl restart postfix
try sending an email form the command line,
$ echo "This is the body" | mail -s "This is the subject" -a "FROM:[senders address]" [your personal email]
That's it,
If you have nodejs, python, java, .net or any applications that need to send emails, you can now use the local smtp server you just created. Expect all incoming emails to be in your spam folder first until you white list them on your email client.
Видео Send Only SMTP Server using Postfix and Mailutils канала SBCODE
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How to Configure Postfix with Gmail on UbuntuInstall a mail server on Linux in 10 minutes - docker, docker-compose, mailcowRHCE Training - Postfix Mail Server ConfigurationHow a DNS Server (Domain Name System) works.2. Installing Postfix SMTP and Maildir on a Raspberry Pi | Hosting an email server for freeBuilding an Ubuntu mail server with Postfix, Amavis, SpamAssassin, ClamAV, Dovecot, and OpenDMARCSetup A Send Only SMTP server and Configure the Email Media Type in Zabbix 4How To Setup WordPress SMTP For Sending Emails - Must Watch For All Website OwnersMettre en place un serveur Web (28/28) : postfix, envoie seulementPostfix Mail Server Install, Configure & Forward to GmailDifference between IMAP and POP3Managing Inbound & Outbound relay in Postfix - Linux Tutorials Online | NetworknutsHost your own Mail Server, is it a good idea?you need to learn Virtual Machines RIGHT NOW!! (Kali Linux VM, Ubuntu, Windows)Send Only SMTP Server using Postfix in LinuxIntroduction to SMTP Relay for ServersConfiguring Email Server using PostFix, Dovecot and SquirrelMail on Centos 7How to test an SMTP server - Send email from command promptInstall and Configure Mail Server with PostfixAdmin on Ubuntu | Part 1