Re: [Mailman-Users] Too many recipients

Citando "Stephen J. Turnbull" <stephen@xemacs.org>:
Rodrigo Abrantes Antunes writes:
Searching google I found that this error isn't related to the number of users in the list, it occurs because the total number of addresses in the To: and Cc: headers of the post equals or exceeds max_num_recipients.
The operational issues have already been addressed well in other posts. However the above statement is incorrect, and needs clarification.
The items visible in your personal mail client (MUA) in the To:, Cc:, and Bcc: fields are usually called "addresses" or "addressees". These are different from "recipients", which are the addresses that the host-to-host mail program (MTA) sends to. Mailman "explodes" the list's *address* into a large number of *recipients*, and asks the MTA to deliver to that whole list of recipients, or to chunks of it as Mark explains elsewhere. You will in general never see the list of recipients of a post unless you look at the MTA's logs.
By the way, there's nothing wrong with your understanding of plain English, in which "address" and "recipient" are pretty much the same. However, in technical discussion these words are often distinguished as above.
But in documentation is said that if this option is set to 0 it has no limit.
The limit you are running into here is not in Mailman, it is in the MTA. Mailman cannot tell the MTA what to do; it can only
restrictitself to a small enough number that the MTA will cooperate
with it.
Ok, I was still getting the errors because in my hurry I put
SMTP_MAX_RCPS instead of SMTP_MAX_RCPTS. I corrected this and restarted both mailman and postfix, now I don't get any errors in smtp-failure and in post I get this (with no failures):
Oct 24 12:29:30 2012 (6788) post to contas from xxx@xxx.xxx, size=2458,
message-id=<20121024122919.11874kw8jiq8t16n@xxx.xx.xx>, success
In my mail.log I see this for one of the members of the list in the
exact moment I posted to the list:
Oct 24 12:29:30 xxx postfix/smtp[9530]: 722F2292F8: to=<xx@xx.xx>,
relay=127.0.0.1[127.0.0.1]:10023, conn_use=10, delay=0.5, delays=0.15/0.23/0/0.13, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=10090-06-10, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as DD12C292F6) Oct 24 12:31:25 xxx cyrus/lmtp[11051]: duplicate_mark: <20121024122919.11874kw8jiq8t16n@xxxx.xxx> .xxx+@.sieve. 1351089085 0 Oct 24 12:31:25 xxx postfix/pipe[9565]: DD12C292F6: to=<xx@xx.xx>, relay=cyrus, delay=115, delays=0.03/89/0/25, dsn=2.0.0, status=sent (delivered via cyrus service)
But the message never appears in the user's mailbox. Other messages
sent by users appears normallly in mailbox. Some users receive the messages sent by mailman, for these users i see this in mail.log:
Oct 25 08:15:30 srv-mail-pel postfix/smtp[5459]: B4E2429275:
to=<xx@xx.xx>, relay=127.0.0.1[127.0.0.1]:10023, conn_use=2, delay=0.49, delays=0.19/0.01/0/0.29, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04730-12-2, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1BEFD292E1) Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_check: <20121025081521.Horde.NWZiHUv4Cn9QiRE5nCOzRSA@xx.xx.xx> user.rodrigoantunes 0 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_check: <20121025081521.Horde.NWZiHUv4Cn9QiRE5nCOzRSA@xx.xx.xx> user.rodrigoantunes 0 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_mark: <20121025081521.Horde.NWZiHUv4Cn9QiRE5nCOzRSA@xx.xx.xx> user.rodrigoantunes 1351160369 14881517650057856560 Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: Delivered: <20121025081521.Horde.NWZiHUv4Cn9QiRE5nCOzRSA@xx.xx.xx> to mailbox: user.rodrigoantunes Oct 25 08:19:29 srv-mail-pel cyrus/lmtp[13727]: duplicate_mark: <20121025081521.Horde.NWZiHUv4Cn9QiRE5nCOzRSA@xx.xx.xx> .rodrigoantunes+@.sieve. 1351160369 0 Oct 25 08:19:29 srv-mail-pel postfix/pipe[5469]: 1BEFD292E1: to=<rodrigoantunes@xx.xx.xx>, relay=cyrus, delay=239, delays=0.1/215/0/24, dsn=2.0.0, status=sent (delivered via cyrus service)
I'm totally confused why this is happening...

On 10/25/2012 8:20 AM, Rodrigo Abrantes Antunes wrote:
Ok, I was still getting the errors because in my hurry I put SMTP_MAX_RCPS instead of SMTP_MAX_RCPTS. I corrected this and restarted both mailman and postfix, now I don't get any errors in smtp-failure and in post I get this (with no failures):
Oct 24 12:29:30 2012 (6788) post to contas from xxx@xxx.xxx, size=2458, message-id=<20121024122919.11874kw8jiq8t16n@xxx.xx.xx>, success
So that's a successful post. There should also be an entry in Mailman's smtp log indicating the total number of recipients sent to.
In my mail.log I see this for one of the members of the list in the exact moment I posted to the list:
Oct 24 12:29:30 xxx postfix/smtp[9530]: 722F2292F8: to=<xx@xx.xx>, relay=127.0.0.1[127.0.0.1]:10023, conn_use=10, delay=0.5, delays=0.15/0.23/0/0.13, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=10090-06-10, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as DD12C292F6) Oct 24 12:31:25 xxx cyrus/lmtp[11051]: duplicate_mark: <20121024122919.11874kw8jiq8t16n@xxxx.xxx> .xxx+@.sieve. 1351089085 0 Oct 24 12:31:25 xxx postfix/pipe[9565]: DD12C292F6: to=<xx@xx.xx>, relay=cyrus, delay=115, delays=0.03/89/0/25, dsn=2.0.0, status=sent (delivered via cyrus service)
But the message never appears in the user's mailbox. Other messages sent by users appears normallly in mailbox.
This message was delivered from Mailman to Postfix and then delivered by Postfix to Cyrus, possibly because this was to a local user and Cyrus is acting as the LDA, or possibly for some other reason, but in any case, if the mail wasn't delivered to the user, this is a question for Cyrus.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Rodrigo Abrantes Antunes