Installing and Administering Internet Services
Chapter 4 187
Installing and Administering sendmail
Modifying the Default sendmail Configuration File
allowed in the mail header
If a mail header exceeds the maximum value, an error message will be
displayed for the user who sent the message, which reads:
552 Headers too larger #MaxHeadersLength.
Limiting Message Recipients
By default, the maximum number of recipients is 100. You can limit the
number of users allowed to receive a single mail message. This helps
discourage the flow of spam on the mail server.
• In the sendmail.cf file, set the value of
MaxRecipientsPerMessage=n, where n is the maximum number of
recipients allowed for a single mail message.
After a message has been sent to the maximum number of recipients
allowed, sendmail sends the error message “452 Too many
recipients” to the sender of the message.
Note that this will work only when all the recipients of the mail message
have their mailboxes on the same machine.