On Dec 17 08:35:28, [email protected] wrote:
> On Mon, Dec 16, 2013 at 07:08:17PM +0100, Jan Stary wrote:
> > I am using smtpd as my mail server on a network
> > where the relay server often replies with
> >
> > 4.5.3 Too many recipients
> >
> > Indeed, I was sending messages with a lot of recipients
> > (a group of students).
> >
> > Is there a way in the smtpd configuration
> > to specify that a message with >N recipients
> > should be broken into N individual messages?
> >
>
> Why so ?
Because if not, the message is rejected with 4.5.3.
Messages with certain number of recipients just
cannot be sent through this relay.
> Does it prevent OpenSMTPD from sending
> to the recipients it has submitted already ?
The relay disables my mailserver for some fixed time.
No messages from me will be accepted during that time.
> It should fail the ones after 4.5.3 and mark them as tempfail
> which will cause them to be retried a few seconds later while
> the ones before the error will be submitted. Isn't that what
> is happening ?
smtpd tries to resend the failed ones,
only to be told again that there are
"too many recipients".
> > If so, will smtpd create a new smtp connection
> > for each of the messages? That could also be a problem.
>
> No, smtpd will always try to group and reuse connections,
Thanks you.
Jan