2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: is it possibl...
FromSent OnAttachments
Ricardo KleemannFeb 16, 2006 8:10 pm 
Gordon MessmerFeb 21, 2006 4:18 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Re: is it possible to configure MAXRCPT for local connections?Actions...
From:Gordon Messmer (yiny@eburg.com)
Date:Feb 21, 2006 4:18:38 pm
List:net.sourceforge.lists.courier-users

Ricardo Kleemann wrote:

You probably wanted to set "maxrcpts" in the bofh file.

Ok... but it still seems to be behaving differently, or I'm not understanding what you meantI changed MAXRCPT to 50, IOW allowing the server to attempt delivery to up to 50 addresses in a batch.And I changed maxrcpts in bofh to 10, which, if I understand your comment above, should prevent delivery attempts INTO my server.

It will prevent courier's smtpd (and sendmail) from accepting more than 10 recipients on any message, from any source.

But what I'm seeing is not quite that. I've configured my mailing list manager (mailman) to attempt to send out in batches of 50, to match the setting of MAXRCPT=50

You'd actually want to match the bofh setting of 10.

And I left the bofh setting at 10, to prevent accepting external mail at more than 10 in a batch.But now I see in maillog a ton of error messages "531 Too many recipients"It seems like courier is rejecting my attempt to send out a batch that is greater than the bofh setting (and equal to the MAXRCPT setting)

Yep. That's what it's doing.

If you want different limits on the number of recipients for your own processes and for external sources, I believe you'll have to run separate servers.