![]() Restart the mail server by issuing the following command: service sendmail restart Step 5: Send test email echo "Test 1 from $(hostname -f)"|mail -s "Test 1 $(hostname -f)" ConclusionĬongratulations, you have now installed SMTP relay / smarthost for your sendmail mail server. ![]() Rebuild the configuration file with the following command: /etc/mail/make Step 4: Restart the mail server Replace it with the following line define(`SMART_HOST', `')dnlĭefine(`RELAY_MAILER_ARGS', `TCP $h 587')dnl Step 3: Regenerate configuration file Step 2: Configure the MTAĮdit /etc/mail/sendmail.mc and find the following line dnl define(`SMART_HOST', `')dnl Please read this article for instructions if you don’t know how to connect. You must be logged in via SSH as sudo or root user. This tutorial assumes that you are logged in as a sudo user. You must be logged in via SSH as sudo or root user.If your server is sending an email to another server, where does Postfix (or another MTA) need to. A Cloud VPS or Dedicated Server where sendmail is installed Mail Server Setup on Linux (Centos 7) QUESTION 1.If you want or need to set up your mail server to send all outgoing mail to a specific server that will handle the delivery to the recipients you can use this article to set up your SMTP relay / Smarthost with Sendmail.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |