Top 100+ Sendmail Interview Questions And Answers
Question 1. What Is Sendmail ?
Answer :
Sendmail is an MTA, which means it accepts electronic mail messages sent to it the use of the SMTP proto- col and transports them to any other MTA electronic mail server till the messages attain their locations. It additionally accepts e mail for the neighborhood community and provides them to local mail spools, one for each user.
Question 2. How To Start Sendmail Server ?
Answer :
carrier sendmail restart
Exchange Server 2010 Interview Questions
Question three. On Which Ports Sendmail And Sendmail With Ssl Works?
Answer :
By default, Sendmail makes use of TCP and UDP port 25 for non-encrypted transfers. If the Sendmail server is configured to apply SSL for encrypting e-mail sent and received, it uses port 465.
Question 4. Explain Use Of "depended on-users" File ?
Answer :
List of customers that may send email as other users without a warning inclusive of gadget customers such as apache for the Apache HTTP Server.
Question five. Explain The Use Of "local-host-names" File ?
Answer :
If the e-mail server must be acknowledged by means of different hostnames, list the host- names on this record, one line in keeping with hostname. Any email sent to addresses at those hostnames is treated as nearby mail. The FEATURE(`use_cw_file’) choice ought to be enabled inside the sendmail.Mc report for this report to be referenced.
Samba Server Interview Questions
Question 6. Explain The Use Of /and so forth/aliases File?
Answer :
/and so on/aliases, can be used to redirect email from one user to some other. By default, it consists of redirects for system bills to the basis consumer. It can then be used to redirect all e mail for the root user to the consumer account for the system administrator.
Question 7. Can We Use Ssl Encryption With Sendmail ?
Answer :
Yes, Sendmail can be configured to encrypt e-mail sent and received the use of SSL (relaxed sockets layer).
Email Etiquette Interview Questions
Question eight. What Is The Role Of Mua ?
Answer :
An MUA (Mail User Agent) with get entry to to the mailbox file, at once or through a network document system, can read messages from the disk and show them for the consumer. This is generally a console or webmail application running on the server.
Question 9. Which Are The Important Configuration Files For Sendmail Server ?
Answer :
The /and many others/mail/ directory incorporates all the Sendmail configuration documents, with sendmail.Cf and submit.Cf being the principle configuration files. The sendmail.Cf record includes options for the mail transmission agent and accepts SMTP connections for sending email. The post.Cf record configures the mail submission program.
Email Handling Interview Questions
Question 10. How To Configure Sendmail To Accept Mail For Local Delivery That Is Addressed To Other Hosts?
Answer :
Create a /etc/mail/nearby-host-names file. Put into that report the hostnames and domain names for which sendmail should be given mail for neighborhood transport. Enter the names with one hostname or domain call in line with line. And additionally ensure that Sendmail configuration file have to contain "use_cw_file" choice.
Dnl Load class $=w with different names for the nearby host
FEATURE(`use_cw_file')
Question 11. When An Organization Stores Aliases On An Ldap Server, How You Will Configure Sendmail To Read Aliases From The Ldap Server?
Answer :
Use "sendmail -bt -d0" command to test the sendmail compiler options. If sendmail become now not compiled with LDAP support, recompile and install sendmail.
Add an ALIAS FILE outline, containing the string ldap to the sendmail configuration.
# Set the LDAP cluster cost
outline(`conf LDAP CLUSTER', `wrotethebook.Com')
# Tel sendmail that aliases are to be had thru LDAP
outline(`ALIAS FILE', `ldap:')
Qmail Interview Questions
Question 12. How To Forward Emails Of A Local User To External Address?
Answer :
Add an alias to the aliases file for every user whose mail need to be forwarded to another gadget. The recipient field of the alias access need to be a full e mail cope with that includes the host component. After including the favored aliases, rebuild the aliases database file with the newaliases command.
Exchange Server 2010 Interview Questions
Question 13. You Have Been Asked To Create A Sendmail Configuration That Sends All Local Mail To A Mail Hub, While Directly Delivering Mail Addressed To External Systems.
Answer :
Create a sendmail configuration containing the MAIL_HUB define to pick out the mail relay host for nearby mail. Use the LOCAL_USER command to exempt the foundation user's mail from relaying.
Dnl Define a relay server for nearby mail
define(`MAIL_HUB', `smtp.Take a look at.Com')
dnl Users whose mail is not passed to the mail hub
LOCAL_USER(root)
Rebuild and reinstall sendmail.Cf, and then restart sendmail.
Question 14. How To Configure Multiple Mail Queues?
Answer :
mkdir /var/spool/mqueue/queue.1
mkdir /var/spool/mqueue/queue.2
mkdir /var/spool/mqueue/queue.Three
chmod seven-hundred /var/spool/mqueue/queue.1
chmod 700 /var/spool/mqueue/queue.2
chmod seven-hundred /var/spool/mqueue/queue.Three
Add the QUEUE_DIR outline to the sendmail configuration to use the new queue directories.
Dnl Declare the queue directory course
define(`QUEUE_DIR', `/var/spool/mqueue/queue.*')
Question 15. How To Disable Certain Smtp Commands?
Answer :
Add the confPRIVACY_FLAGS define to the sendmail configuration to set Privacy Options that disable unwanted, non-obligatory SMTP commands. Here we are able to disables the EXPN, VRFY, VERB, and ETRN commands.
Dnl Disable EXPN, VRFY, VERB and ETRN
define(`confPRIVACY_FLAGS', `noexpn,novrfy,noverb,noetrn')
Rebuild and reinstall sendmail.Cf, after which restart sendmail.
BIND Name Server Interview Questions
Question sixteen. In Which Sendmail Configuration File We Have To Make Changes?
Answer :
we will make the modifications only in the sendmail.Mc file, and the modifications will be moved into the sendmail.Cf file for us.
Question 17. When Sendmail Dispatches Your Email, It Places The Servers Hostname Behind Your Username, Which Becomes The "from Address" In The Email (ie. User@mail.Test.Com).But We Want To Use The Domain Name And Not The Hostname?
Answer :
outline(`confDOMAIN_NAME', `check.Com')dnl
FEATURE(`relay_entire_domain')dnl
Postfix Interview Questions
Question 18. What Does /and so forth/mail/get entry to File Contains?
Answer :
The get admission to database ("/etc/mail/get admission to") is a listing of IP addresses and domainnames of allowable connections.
FEATURE(`access_db',`hash -T -o /and so on/mail/get admission to.Db')dnl and cat /etc/mail/access
localhost.Localdomain RELAY
localhost RELAY
127.Zero.Zero.1 RELAY
192.168.Zero RELAY
check.Com RELAY
Samba Server Interview Questions
Question 19. How To Restrict Sendmail To Sending A Big File?
Answer :
define(`conf MAX_MESSAGE_SIZE',`52428800')dnl
or If you're using a PHP based webmail utility like SquirrelMail, you may alter the max report length in personal home page.Ini report.
Vi Hypertext Preprocessor.Ini
post_max_size = 50M
upload_max_filesize = 50M
memory_limit = 64M
Question 20. How To Set 25 Recipients For Each Email?
Answer :
define(`confMAX_RCPTS_PER_MESSAGE',`50')dnl
Exchange Server 2007 Interview Questions
Question 21. Which Antivirus You Have Integrated With Sendmail ?
Answer :
ClamAV
Question 22. What Is Clamav-milter?
Answer :
Clamav-Milter is a device to integrate sendmail and clamAV antivirus.
Question 23. Which Configuration Files Are Required To Integrate Sendmail And Claimav Antivirus?
Answer :
milter.Conf and clamav-milter
Microsoft Exchange Server 2013 Interview Questions
Question 24. How To Test Sendmail Integration With Claimav?
Answer :
grep Milter /var/log/maillog
You must get following kind of messages.
Sendmail: Milter upload: header: X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on mail.Take a look at.Com
sendmail: Milter upload: header: X-Virus-Status: Clean
Email Etiquette Interview Questions
Question 25. Which Tool You Have Used To Block Spamming?
Answer :
SpamAssassin
Question 26. What Does "/and so forth/mail/" Directory Contains?
Answer :
The /and many others/mail/ directory comprise all of the Sendmail configuration files, with sendmail.Cf and post.Cf being the principle configuration files.
Zimbra Interview Questions
Question 27. Explain The Use Of /and so forth/mail/relay-domain names File?
Answer :
The /and so forth/mail/relay-domains file is used to decide domain names from which it's going to relay mail. The contents of the relay-domains record ought to be restrained to those domain names that can be relied on no longer to originate spam.
Email Handling Interview Questions
Question 28. What Is The Name Of Spamassassin Configuration File?
Answer :
/etc/mail/spamassassin/neighborhood.Cf
Question 29. How To Check Mail Queue Of Sendmail?
Answer :
/usr/lib/sendmail -bp
or
mailq
Question 30. How To Use M4 Macro Processor To Generate A New Sendmail.Cf?
Answer :
m4 /and many others/mail/sendmail.Mc > /and many others/mail/sendmail.Cf

