Re: recipient limit question
On 04.08.17 15:28, Fazzina, Angelo wrote: When the limit is exceeded should the sender receive a bounce back email ? postfix rejects additional recipients with temporary error, which means that the client should retry those. Proper SMTP clients retry remaining recipients until mail is sent to all of them. You say "find the error" is that the error you are talking about ? To me it's sounding like I should ask sender to send emails with less than 1000 recipients and limit will not hit. you can increase the limit for the client. Or, better, recommend using specialized client. Or, best, try offering mailing list or similar service. It's too bad there is no way to know a sender has exceeded the setting smtpd_recipient_limit = 1000 actually there is. The "452" error code is designed to tell sender that the number of recipients was crossed and client should not try others, but retry sending mail with the rest of recipients. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. WinError #9: Out of error messages.
Re: recipient limit question
On 8/4/2017 10:12 AM, Fazzina, Angelo wrote: > Thank you. I see it maybe me doing the limiting > > smtpd_recipient_limit (default: 1000) > > The maximal number of recipients that the Postfix SMTP server accepts per > message delivery request. > > > > Q1 = So, can I assume it does not matter if the recipients are in the TO, CC, > or BCC field, Correct. Postfix reads the envelope, not the headers. > the hard limit is 1000 ? This is a soft limit. Postfix signals the sending client the limit is exceeded, and the client should disconnect and and reconnect to send the remaining recipients, or at least notify the human the send failed. If you're sending with Outlook, this is Outlook's responsibility. > Q2 = how do I search the logs for messages telling me I exceeded the limit ? > what is the postconf entry to check if I am logging this stuff in first place > ? I believe postfix will log these as a reject: with a 4xx code, which indicates the recipient was deferred and can be retried. > > Q3 = is there danger in increasing limit so senders emails are delivered as > they should be ? You can increase the limit on the master.cf submission service by adding: -o smtpd_recipient_limit=5000 > What other options are there ? Use a better mail client that understands how to resend. -- Noel Jones
RE: recipient limit question
Hi, When the limit is exceeded should the sender receive a bounce back email ? You say "find the error" is that the error you are talking about ? To me it's sounding like I should ask sender to send emails with less than 1000 recipients and limit will not hit. It's too bad there is no way to know a sender has exceeded the setting smtpd_recipient_limit = 1000 thanks. -ALF -Angelo Fazzina Operating Systems Programmer / Analyst University of Connecticut, UITS, SSG, Server Systems 860-486-9075 -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Bastian Blank Sent: Friday, August 4, 2017 11:21 AM To: postfix-users@postfix.org Subject: Re: recipient limit question On Fri, Aug 04, 2017 at 03:12:16PM +, Fazzina, Angelo wrote: > Thank you. I see it maybe me doing the limiting > smtpd_recipient_limit (default: 1000) > The maximal number of recipients that the Postfix SMTP server accepts per > message delivery request. > Q1 = So, can I assume it does not matter if the recipients are in the TO, CC, > or BCC field, the hard limit is 1000 ? Postfix is a MTA, it does not care about headers, like To, Cc, Bcc. It only cares about recipients, which are part of the envelope. > Q2 = how do I search the logs for messages telling me I exceeded the limit ? > what is the postconf entry to check if I am logging this stuff in first place > ? You can't, as it is the clients task to retry with the remaining recipients and it is no hard error. > Q3 = is there danger in increasing limit so senders emails are delivered as > they should be ? What other options are there ? Find the error. But guessing from the subject of the mail in question you really want some specialized mailing list software like Mailman for this task. Bastian -- Oblivion together does not frighten me, beloved. -- Thalassa (in Anne Mulhall's body), "Return to Tomorrow", stardate 4770.3.
Re: recipient limit question
On Fri, Aug 04, 2017 at 03:12:16PM +, Fazzina, Angelo wrote: > Thank you. I see it maybe me doing the limiting > smtpd_recipient_limit (default: 1000) > The maximal number of recipients that the Postfix SMTP server accepts per > message delivery request. > Q1 = So, can I assume it does not matter if the recipients are in the TO, CC, > or BCC field, the hard limit is 1000 ? Postfix is a MTA, it does not care about headers, like To, Cc, Bcc. It only cares about recipients, which are part of the envelope. > Q2 = how do I search the logs for messages telling me I exceeded the limit ? > what is the postconf entry to check if I am logging this stuff in first place > ? You can't, as it is the clients task to retry with the remaining recipients and it is no hard error. > Q3 = is there danger in increasing limit so senders emails are delivered as > they should be ? What other options are there ? Find the error. But guessing from the subject of the mail in question you really want some specialized mailing list software like Mailman for this task. Bastian -- Oblivion together does not frighten me, beloved. -- Thalassa (in Anne Mulhall's body), "Return to Tomorrow", stardate 4770.3.
RE: recipient limit question
Thank you. I see it maybe me doing the limiting smtpd_recipient_limit (default: 1000) The maximal number of recipients that the Postfix SMTP server accepts per message delivery request. Q1 = So, can I assume it does not matter if the recipients are in the TO, CC, or BCC field, the hard limit is 1000 ? Q2 = how do I search the logs for messages telling me I exceeded the limit ? what is the postconf entry to check if I am logging this stuff in first place ? Q3 = is there danger in increasing limit so senders emails are delivered as they should be ? What other options are there ? Thank you. -Angelo Fazzina Operating Systems Programmer / Analyst University of Connecticut, UITS, SSG, Server Systems 860-486-9075 -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Bastian Blank Sent: Friday, August 4, 2017 11:00 AM To: postfix-users@postfix.org Subject: Re: recipient limit question On Fri, Aug 04, 2017 at 02:29:00PM +, Fazzina, Angelo wrote: > Did my postfix instance limit the number of recipients in the email that was > sent ? Yes, it restricts the amount of recipients to the number given. Your client needs to do another mail transaction with the remaining recipients. For more information see https://tools.ietf.org/html/rfc5321#section-4.5.3.1.8 Bastian -- Lots of people drink from the wrong bottle sometimes. -- Edith Keeler, "The City on the Edge of Forever", stardate unknown
Re: recipient limit question
On Fri, Aug 04, 2017 at 02:29:00PM +, Fazzina, Angelo wrote: > Did my postfix instance limit the number of recipients in the email that was > sent ? Yes, it restricts the amount of recipients to the number given. Your client needs to do another mail transaction with the remaining recipients. For more information see https://tools.ietf.org/html/rfc5321#section-4.5.3.1.8 Bastian -- Lots of people drink from the wrong bottle sometimes. -- Edith Keeler, "The City on the Edge of Forever", stardate unknown
RE: recipient limit question
Isn't Systemd a RHEL 7 thing ? I think I run rsyslog. [root@mail5 home]# ps -ef |grep sys root 1522 1 0 Jul11 ?00:01:36 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5 dbus 1537 1 0 Jul11 ?00:00:00 dbus-daemon --system root 30400 26453 0 10:51 pts/000:00:00 grep sys [root@mail5 home]# uname -a Linux mail5.uits.uconn.edu 2.6.32-696.3.1.el6.x86_64 #1 SMP Thu Apr 20 11:30:02 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux [root@mail5 home]# more /etc/issue Red Hat Enterprise Linux Server release 6.9 (Santiago) Kernel \r on an \m -Angelo Fazzina Operating Systems Programmer / Analyst University of Connecticut, UITS, SSG, Server Systems 860-486-9075 -Original Message- From: Wietse Venema [mailto:wie...@porcupine.org] Sent: Friday, August 4, 2017 10:51 AM To: Fazzina, Angelo <angelo.fazz...@uconn.edu> Cc: Postfix users <postfix-users@postfix.org> Subject: Re: recipient limit question Fazzina, Angelo: > Hi, > > Did my postfix instance limit the number of recipients in the email > that was sent ? If you're missing recipients in the log, then that may be the result of unhelpful systemd rate limiting. Systemd is not part of Postfix. The Postfix scheduler has some safety features so that it will process a large recipient list in smaller chunks, but it does not throw them away. wietse
Re: recipient limit question
Fazzina, Angelo: > Hi, > > Did my postfix instance limit the number of recipients in the email > that was sent ? If you're missing recipients in the log, then that may be the result of unhelpful systemd rate limiting. Systemd is not part of Postfix. The Postfix scheduler has some safety features so that it will process a large recipient list in smaller chunks, but it does not throw them away. wietse