Postfix Interview Questions & Answers

5 avg. rating (100% score) - 5879 votes

Postfix Interview Questions & Answers

Are you interested in Postfix jobs? Looking for the great career opportunity in Postfix ?Searching for the jobs related to postfix and infix evaluators?Postfix is written in C language, released under the IBM Public License 1.0. It is a free and open source software license and open-source mail transfer agent (MTA) which routes and delivers electronic mail.It is designed and developed as an alternative for sendmail. It is considered as the default mail server for Linux distributors. It is distributed by vendors and providers as ready-to-run code . Their versions would be expected to have slighter differences when compared to the software described on this website. Go through wisdom jobs Postfix interview questions and answers for better interview winning chances. Have a look at following page.

Postfix Interview Questions

Postfix Interview Questions
    1. Question 1. What Is Postfix And Default Port Used For Postfix ?

      Answer :

      Postfix is a open source MTA (Mail Transfer agent) which is used to route & deliver emails. Postfix is the alternate of widely used Sendmail MTA. Default port for postfix is 25.

    2. Question 2. What Is The Difference Between Postfix & Sendmail ?

      Answer :

      Postfix uses a modular approach and is composed of multiple independent executables. Sendmail has a more monolithic design utilizing a single always running daemon.

    3. Question 3. What Is Mta And It’s Role In Mailing System ?

      Answer :

      MTA Stands for Mail Transfer Agent.MTA receives and delivers email. Determines message routing and possible address rewriting. Locally delivered  messages are handed off to an MDA for final delivery. Examples Qmail, Postfix, Sendmail.

    4. Question 4. What Is Mda ?

      Answer :

      MDA stands for Mail Delivery Agent. MDA is a Program that handles final delivery of messages for a system’s local recipients. MDAs can often filter or categorize messages upon delivery. An MDA might also determine that a message must be forwarded to another email address. Example Procmail.

    5. Question 5. What Is Mua ?

      Answer :

      MUA stands for Mail User Agent. MUA is a Email client software used to compose, send, and retrieve email messages. Sends messages through an MTA. Retrieves messages from a mail store either directly or through a POP/ IMAP server. Examples Outlook, Thunderbird, Evolution.

    6. Question 6. What Is The Use Of Postmaster Account In Mailserver ?

      Answer :

      An email administrator is commonly referred to as a postmaster. An individual with postmaster responsibilities makes sure that the mail system is working correctly, makes configuration changes, and adds/removes email accounts, among other things. You must have a postmaster alias at all domains for which you handle email that directs messages to the correct person or persons .

    7. Question 7. What Are The Important Daemons In Postfix ?

      Answer :


      Below are the lists of important daemon in postfix mail server :

      • master :The master daemon is the brain of the Postfix mail system. It spawns all other daemons.
      • smtpd: The smtpd daemon (server) handles incoming connections.
      • smtp :The smtp client handles outgoing connections.
      • qmgr :The qmgr-Daemon is the heart of the Postfix mail system. It processes and controls all messages in the mail queues.
      • local : The local program is Postfix’ own local delivery agent. It stores messages in mailboxes.

    8. Question 8. What Are The Configuration Files Of Postfix Server ?

      Answer :

      There are two main Configuration files of postfix :

      • /etc/postfix/ : This file holds global configuration options. They will be applied to all instances of a daemon, unless they are overridden in
      • /etc/postfix/  : This file defines runtime environment for daemons attached to services. Runtime behavior defined in may be overridden by setting service specific options.

    9. Question 9. How To Restart The Postfix Service & Make It Enable Across Reboot ?

      Answer :

      Use this command to restart service “ Service postfix restart” and to make the service persist across the reboot, use the command “ chkconfig postfix on”.

    10. Question 10. How To Check The Mail’s Queue In Postfix ?

      Answer :

      Postfix maintains two queues, the pending mails queue, and the deferred mail queue,the deferred mail queue has the mail that has soft-fail and should be retried (Temporary failure), Postfix retries the deferred queue on set intervals (configurable, and by default 5 minutes)

      To display the list of queued mails :

      # postqueue -p
      To Save the output of above command :
      # postqueue -p > /mnt/queue-backup.txt
      Tell Postfix to process the Queue now
      # postqueue -f

    11. Question 11. How To Delete Mails From The Queue In Postfix ?

      Answer :

      Use below command to delete all queued mails

      # postsuper -d ALL

      To delete only deferred mails from queue , use below command

      # postsuper -d ALL deferred

    12. Question 12. How To Check Postfix Configuration From The Command Line ?

      Answer :

      Using the command ‘postconf -n‘  we can see current configuration of postfix excluding the lines which are commented.

    13. Question 13. Which Command Is Used To See Live Mail Logs In Postfix ?

      Answer :

      Use the command  ‘tail -f /var/log/maillog’ or ‘tailf /var/log/maillog’.

    14. Question 14. How To Send A Test Mail From Command Line ?

      Answer :

      Use the below command to send a test mail from postfix itself :

      # echo “Test mail from postfix” | mail -s “Plz ignore”

    15. Question 15. What Is An Open Mail Relay ?

      Answer :

      An open mail relay is an SMTP server configured in such a way that it allows anyone on the Internet to send e-mail through it, not just mail destined to or originating from known users.This used to be the default configuration in many mail servers; indeed, it was the way the Internet was initially set up, but open mail relays have become unpopular because of their exploitation by spammers and worms.

    16. Question 16. What Is Relay Host In Postfix ?

      Answer :

      Relay host is the smtp address , if mentioned in postfix config file , then all the incoming mails be relayed through smtp server.

    17. Question 17. What Is Greylisting ?

      Answer :

      Greylisting is a method of defending e-mail users against spam. A mail transfer agent (MTA) using greylisting will “temporarily reject” any email from a sender it does not recognize. If the mail is legitimate the originating server will, after a delay, try again and, if sufficient time has elapsed, the email will be accepted.

    18. Question 18. What Is The Importance Of Spf Records In Mail Servers ?

      Answer :

      SPF (Sender Policy Framework) is a system to help domain owners specify the servers which are supposed to send mail from their domain. The aim is that other mail systems can then check to make sure the server sending email from that domain is authorized to do so – reducing the chance of email ‘spoofing’, phishing schemes and spam!

    19. Question 19. What Is The Use Of Domain Keys(dkim) In Mail Servers ?

      Answer :

      DomainKeys is an e-mail authentication system designed to verify the DNS domain of an e-mail sender and the message integrity. The DomainKeys specification has adopted aspects of Identified Internet Mail to create an enhanced protocol called DomainKeys Identified Mail (DKIM).

    20. Question 20. What Is The Role Of Anti-spam Smtp Proxy (assp) In Mail Server ?

      Answer :

      ASSP is a gateway server which is install in front of your MTA and implements auto-whitelists, self learning Bayesian, Greylisting, DNSBL, DNSWL, URIBL, SPF, SRS, Backscatter, Virus scanning, attachment blocking, Senderbase and multiple other filter methods.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd Protection Status

JavaMail API Tutorial