Hi.

I have a couple of (hopefully quick) questions about some max settings in 
smtpd.conf

Recently, I tried to email 13 email addresses on Google, and they throttled me. 
 I found that scheduling each envelop in the “mass mailing” individually went 
through just fine.  So I’m wondering if I can make opensmtpd send at most N 
messages to google (but allowing the other mails to be sent at a “safe and 
sane” rate of the defaults).

I found these three options, none of which I think will do what I’m hoping to 
do, namely set a max number of envelopes to be sent to a given MX at one time 
(I’ve had other MXes say “You’re sending too many recipients in one go” before, 
so it’s not just The Goog.)

     mta max-deferred number
             When delivery to a given host is suspended due to temporary
             failures, cache at most number envelopes for that host such that
             they can be delivered as soon as another delivery succeeds to
             that host.  The default is 100.

I’m unclear on what happens to messages over the number?  Does it attempt to 
batch, at most, “number” envelopes at a time?  This kinda sounds like what I 
want, except I was limited at the very beginning, so there were no successful 
deliveries to later try.

     smtp limit max-mails count
             Limit the number of messages to count for each session.  The
             default is 100.

It sounds like this is an incoming limit, where opensmtpd will accept at most 
count messages on one session, so no help here.

     smtp limit max-rcpt count
             Limit the number of recipients to count for each transaction.
             The default is 1000.

This also sounds like an incoming limit, allowing up to “count” recipients to a 
single message.  Again, no help here.

Thus the only settings with “max” in them don’t appear to do what I need.  
Either I’m missing something, or some code would need to be written.

Sean

Reply via email to