Sendmail Interview Questions & Answers part 3

0
828

Q: – How to restrict sendmail to sending a big file?

define(`confMAX_MESSAGE_SIZE',`52428800')dnl

or If you are using a PHP based webmail application like SquirrelMail, you can adjust the max file size in php.ini file.

vi php.ini
post_max_size = 50M
upload_max_filesize = 50M
memory_limit = 64M

Q: – How to set 25 recipients for each email?

define(`confMAX_RCPTS_PER_MESSAGE',`50')dnl

Q: – Which antivirus you have integrated with sendmail ?

ClaimAV

Q: – What is Clamav-Milter?

Clamav-Milter is a tool to integrate sendmail and clamAV antivirus.

Q: – Which configuration files are required to integrate sendmail and ClaimAV antivirus?

milter.conf and clamav-milter

Q: – How to test sendmail integration with ClaimAV?

grep Milter /var/log/maillog

You have to get following type of messages.
sendmail: Milter add: header: X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on mail.test.com
sendmail: Milter add: header: X-Virus-Status: Clean

Q: – Which tool you have used to block spamming?

SpamAssassin

Q: – What does "/etc/mail/" directory contains?

The /etc/mail/ directory contain all the Sendmail configuration files, with sendmail.cf and submit.cf being the main configuration files.

Q: – Explain the use of /etc/mail/relay-domains file?

The /etc/mail/relay-domains file is used to determine domains from which it will relay mail. The contents of the relay-domains file should be limited to those domains that can be trusted not to originate spam.

Q: – What is the name of spamassassin configuration file?

/etc/mail/spamassassin/local.cf

Q: – How to check mail Queue of sendmail?

/usr/lib/sendmail -bp
or
mailq

Q: – How to use  m4 macro processor to generate a new sendmail.cf?

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

Submitted By:-Naveen Kumar            Email-ID: – naveenkumar.13@ibibo.com
SHARE

LEAVE A REPLY