Sendmail Interview Questions & Answers part 3
Q: – How to restrict sendmail to sending a big file?
or If you are using a PHP based webmail application like SquirrelMail, you can adjust the max file size in php.ini file.
post_max_size = 50M
upload_max_filesize = 50M
memory_limit = 64M
Q: – How to set 25 recipients for each email?
Q: – Which antivirus you have integrated with sendmail ?
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?
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?
Q: – How to check mail Queue of sendmail?
Q: – How to use m4 macro processor to generate a new sendmail.cf?
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf