Wednesday, March 13, 2019

How to configure and change SMTP server on AIX


Hello everyone, todays I am going to share how AIX admin can modify existing SMTP server configuration.
When AIX admin do AIX LPAR migration from one DATA Center to other and after migration SMTP mail server will be different. So this different mail server need to be changed in   "sendmail.cf"  file else mail alert for application will not generated or it will stuck. 

For AIX LPAR we did migration and after migration, we did post check and handover to development/application team, but after handover, they complaining that they not receiving mail alert on their team mail ID from migrated AIX server.so after doing analysis we found that mail server configuration missed and that need to be corrected. After replacing Mail Server with correct name, everything worked fine and team receiving mail.

Steps, which we followed for SMPT server change
Step1 : vi /etc/sendmail.cf
sendmail.cf -> /etc/mail/sendmail.cf   // in /etc you will find this file

Step 2: Find word “smart relay” in this configuration file like below
DSoldsmtp.server.com    //old SMTP server

Replace old SMTP name with suitable new SMTP server which suits current environment after AIX LPAR migration
DSnewsmtp.server.com    //new SMTP server

Step 3:
Stop sendmail service  and start it using following commands.
#stopsrc -s sendmail
# startsrc -s sendmail -a "-bd -q30m"

-bd   Start sendmail process at background as daemon.
-q30m   process mail queue every 30 minutes.

Thanks!!!

4 comments:

  1. I read your post and got it quite informative. I am impressed by the details that you have shared in this post and It reveals how nicely you understand this subject. If anyone looking for the Reliable SMTP Server provider online, Mails2inbox is the best for you.

    ReplyDelete
  2. Thanks for sharing valuable information.This post gives required information to the visitor
    sap training institute in Noida
    sap training institute in Delhi

    ReplyDelete
  3. I have smtp server and communicates over port 25. is there way to define smtp port as well?

    ReplyDelete
  4. Great article by the great author.Want to make your email marketing stronger? Try our bulletproof and enhanced Dedicated server for email marketing.Buy Cheap bulletproof SMTP. We offer a Bulletproof SMTP for Mass Mailing with total freedom of speech and privacy, offshore and bulletproof.Best bulletproof smtp service provider.

    ReplyDelete