For example, consider a malicious user at your site who wants to advertise to thousands of
users at aol.com by sending a single envelope to all of them. By defining this m= delivery
agent equate to a value of, say, 25, only the first 25 envelopes would be delivered on the
initial connection to aol.com. For the 26th, sendmail would have to reestablish the connection
to send the next 25. Thousands of envelopes would require a new connection for each
group of 25 envelopes, thus slowing the flow and giving you more time to detect the
affront.
The way to add this delivery agent equate to your SMTP delivery agents looks like this:
define(`SMTP_MAILER_MAXMSGS??, `25??)
This m= delivery agent equate can also be used with FEATURE(local_lmtp) (?§17.8.23 on page
625), which causes mail.local to accept envelopes via LMTP. This can be useful if your
machine receives many envelopes from another machine for local delivery. Instead of
expecting mail.local to deliver hundreds of envelopes locally during a single run, you can
reduce the stress on your machine by limiting the number of envelopes to a comfortable
few. Consider defining the following in your .mc configuration file:
define(`LOCAL_MAILER_MAXMSGS??, `50??)
Here, mail from a site??”say, hotmail.com??”would be gathered by sendmail until that site
finished sending. Then, sendmail would begin delivering all the local addresses via
mail.
Pages:
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310