This is a discussion on Re: way to limit recipients of messages submitted via sendmail within the mailing.postfix.users forums, part of the Mail Servers and Related category; Will Yardley: > On Tue, Jun 15, 2004 at 06:50:44PM -0400, Victor.Duchovni@MorganStanley.com wrote: > > ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Will Yardley:
> On Tue, Jun 15, 2004 at 06:50:44PM -0400, Victor.Duchovni@MorganStanley.com wrote: > > On Tue, 15 Jun 2004, Will Yardley wrote: > > > > Is there a way to limit the number of recipients for messages > > > submitted via /usr/sbin/sendmail (? la smtpd_recipient_limit) in > > > Postfix 1.x? > > > Nothing except message_size_limit, so ultimately there is a limit, > > since all the recipients must fit in the queue file, but this > > is likely not what you are looking for. Which brings us to the > > question: > > > > What problem are you solving? > > Just looking for a way to limit the damage when a user script gets > exploited (if a spammer is able to specify a billion recipient > addresses, the damage can be much worse than if they're restricted to > a small number of recipients). On the command line, the limit on the number of bytes is specified in /usr/include/sys/param.h as NCARGS. Actually that's command line plus environment. With "sendmail -t", Postfix 1.1 limits the number of recipients with extract_recipient_limit. With "/usr/sendmail -bs" the limit is smtpd_recipient_limit. Wietse |