Mailing List Archive

Exim, mail with over 100 recipients.
Hello.

I am trying to send mail with 120 recipients.
First 100 recipients received this mail, other recipients were not.
There is nothing in main.log or reject.log about undelivered copies.
log_selector has +all value.
In theory the followed can help

recipients_max = 150
recipients_max_reject = true

but exim's behaviour does not change.
Can you explain what can I do to fix this?
Thanks.||

||

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim, mail with over 100 recipients. [ In reply to ]
On 21/05/18 11:49, ???????? ?????? via Exim-users wrote:
> I am trying to send mail with 120 recipients.
> First 100 recipients received this mail, other recipients were not.
> There is nothing in main.log or reject.log about undelivered copies.
> log_selector has +all value.
> In theory the followed can help
>
> recipients_max = 150
> recipients_max_reject = true
>
> but exim's behaviour does not change.
> Can you explain what can I do to fix this?

First find out what happened with your original config.

Were the extra 20 recipients accepted by exim?
Are you set up to log them?
Was the original supplied by smtp or command-line?
What is in the queue after the 100 went out?
Were they all going to the same destination host?


It's far more likely you hit the 100 default on the
smtp transport (max_rcpt), in which case I'd expect the
remainder to be still in your queue.
--
Jeremy

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim, mail with over 100 recipients. [ In reply to ]
On 2018-05-21 14:12, Jeremy Harris wrote:
> On 21/05/18 11:49, ???????? ?????? via Exim-users wrote:
> > I am trying to send mail with 120 recipients.
> > First 100 recipients received this mail, other recipients were not.
> > There is nothing in main.log or reject.log about undelivered copies.
> > log_selector has +all value.
> > In theory the followed can help
> >
> > recipients_max = 150
> > recipients_max_reject = true
> >
> > but exim's behaviour does not change.
> > Can you explain what can I do to fix this?
>
> First find out what happened with your original config.
>
> Were the extra 20 recipients accepted by exim?
> Are you set up to log them?
> Was the original supplied by smtp or command-line?
> What is in the queue after the 100 went out?
> Were they all going to the same destination host?
>
>
> It's far more likely you hit the 100 default on the
> smtp transport (max_rcpt), in which case I'd expect the
> remainder to be still in your queue.
> --
> Jeremy
>

Hello. Thanks for the answer and qualifying questions.
I am trying to answer.
> Were the extra 20 recipients accepted by exim?
Don't know. There is no extra 20 recipients in main.log for this queue.
Only 100. But when one of these 100 recipient views this mail he sees
all 120 recipients in To field.
> Are you set up to log them?
Is log_selector = +all enough or does way exist to add more logging?
> Was the original supplied by smtp or command-line?
This mail is supplied by external automated mail client (1C).
> What is in the queue after the 100 went out?
After last 100th mail copy that successfully queued for delivery with
250 2.0.0 Ok I see following lines:
88674:2018-05-18 15:03:32.013 [10298] cwd=/var/spool/exim 7 args:
/usr/sbin/exim -t -oem -oi -f <> -E1fJcBA-0002Cl-Ie
88675:2018-05-18 15:03:32.045 [10298] 1fJcEW-0002g6-0u <= <>
R=1fJcBA-0002Cl-Ie U=exim P=local S=5517 M8S=0 T="Mail delivery failed:
returning message to sender" from <> for 1c8@line7.ru
88676:2018-05-18 15:03:32.056 [8491] 1fJcBA-0002Cl-Ie Completed QT=3m27s
Address 1c8@line7.ru is address from which external automated client
send these mails.
> Were they all going to the same destination host?
Fifty-fifty. There may be 1 address - 1 domain or 10 addresses - 1 domain.
> It's far more likely you hit the 100 default on the
> smtp transport (max_rcpt)
In smtp transport I already added
mac_rcpt = 150.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim, mail with over 100 recipients. [ In reply to ]
On 22/05/18 07:41, ???????? ?????? via Exim-users wrote:
>> Were the extra 20 recipients accepted by exim?
> Don't know. There is no extra 20 recipients in main.log for this queue.
> Only 100.

I'm guessing you mean the on the <= log line, 100 recipients
are listed. These are envelope recipients.

> But when one of these 100 recipient views this mail he sees
> all 120 recipients in To field.

By "To field" I assume you mean the "To" header, as displayed by
some MUA. The header are different from the envelope. Exim usually
does not take account of the headers, and there is no checking that
they match the envelope.

It is possible that your mail client generated the message (including
headers) with the full set of 120 recipient names, but then only
passed 100 recipient names as the envelope-recipients with the message.

>> Are you set up to log them?
> Is log_selector = +all enough or does way exist to add more logging?

If you have +all, that is equivalent for this purpose to having
+received_recipients which is what matters for this purpose.

>> Was the original supplied by smtp or command-line?
> This mail is supplied by external automated mail client (1C).

That does not answer the question. Does the mail client feed
Exim using SMTP, or by calling Exim as a program?

>> What is in the queue after the 100 went out?
> After last 100th mail copy that successfully queued for delivery with
> 250 2.0.0 Ok I see following lines:
> 88674:2018-05-18 15:03:32.013 [10298] cwd=/var/spool/exim 7 args:
> /usr/sbin/exim -t -oem -oi -f <> -E1fJcBA-0002Cl-Ie
> 88675:2018-05-18 15:03:32.045 [10298] 1fJcEW-0002g6-0u <= <>
> R=1fJcBA-0002Cl-Ie U=exim P=local S=5517 M8S=0 T="Mail delivery failed:
> returning message to sender" from <> for 1c8@line7.ru
> 88676:2018-05-18 15:03:32.056 [8491] 1fJcBA-0002Cl-Ie Completed QT=3m27s

Those look like log lines. I asked what was in the queue.

The log there shows a bounce being generated. It should have
useful information. What did it say?

> Address 1c8@line7.ru is address from which external automated client
> send these mails.

>> Were they all going to the same destination host?
> Fifty-fifty. There may be 1 address - 1 domain or 10 addresses - 1 domain.
>> It's far more likely you hit the 100 default on the
>> smtp transport (max_rcpt)
> In smtp transport I already added
> mac_rcpt = 150.

OK - this might not help, unless you have a single destination with over
100 addresses.
--
Cheers,
Jeremy



--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim, mail with over 100 recipients. [ In reply to ]
On 22/05/18 07:41, ???????? ?????? via Exim-users wrote:
> Is log_selector = +all enough or does way exist to add more logging?

On that specific point: there's always debug mode - but it gets
very voluminous.
--
Jeremy


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim, mail with over 100 recipients. [ In reply to ]
On Tue, 22 May 2018, ???????? ?????? via Exim-users wrote:

> > It's far more likely you hit the 100 default on the
> > smtp transport (max_rcpt)
> In smtp transport I already added
> mac_rcpt = 150.

Should be
max_rcpt = 150
with an "x". Is the typo in the config, or just the email ?
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
Re: Exim, mail with over 100 recipients. [ In reply to ]
On 2018-05-22 14:06, Andrew C Aitchison wrote:
> On Tue, 22 May 2018, ???????? ?????? via Exim-users wrote:
>
> > > It's far more likely you hit the 100 default on the
> > > smtp transport (max_rcpt)
> > In smtp transport I already added
> > mac_rcpt = 150.
>

Oh, there is typo in email, of course.
Check exim -bV does not allow such typo in the config.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/