Skip to content

gauravchile/ConfigureMailServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“§ Mail Server Setup Automation

Automated bash script to configure Postfix for any SMTP server (Gmail, Mailtrap, custom) on Linux.
Sets up the relay, authentication, TLS, and sends a test email.


βš™οΈ Usage

sudo ./mail_server.sh <domain> <local_user> <relay_host:port> <relay_user> <relay_pass>

Example

sudo ./mail_server.sh example.com <username> smtp.gmail.com:587 <username>@example.com "app_password_here"

🌟 Features

  • Works with any SMTP server
  • Configures SASL authentication automatically
  • Sends a test email
  • Compatible with Debian and RHEL

πŸ“ Folder Structure

Mail_Server_Setup_Automation/
β”‚
β”œβ”€ README.md            # Project documentation
└─ mail_server.sh       # Main installation & configuration script

🎯 Skills Demonstrated

  • Linux server administration
  • Mail server setup & configuration
  • Postfix relay & authentication
  • Bash scripting for automation
  • Testing SMTP connectivity

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages