[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-08 Thread Matus UHLAR - fantomas via Postfix-users
that's not the case. Postfix does not log client "syntax" errors and sending "RCPT TO" once "MAIL FROM" is rejected "RCPT TO" is a "50x" syntax error: MAIL FROM:<...> SIZE=1234567890 552 5.3.4 Message size exceeds fixed limit

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-08 Thread Pedro David Marco via Postfix-users
Thanks all!!! digging it Pete. On Friday, July 7, 2023 at 09:45:03 PM GMT+2, Wietse Venema via Postfix-users wrote: If no-one else posts one, I can post a solution that: - relies on smtpd_delay_reject=yes to postpone check_policy lookup until RCPT TO. - disables the SIZE announcem

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Wietse Venema via Postfix-users
If no-one else posts one, I can post a solution that: - relies on smtpd_delay_reject=yes to postpone check_policy lookup until RCPT TO. - disables the SIZE announcement in EHLO - diusables the SIZE check in MAIL FROM - calls check_policy to let postfwd (etc.) reject mail, but that only works fo

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Noel Jones via Postfix-users
that's not the case. Postfix does not log client "syntax" errors and sending "RCPT TO" once "MAIL FROM" is rejected "RCPT TO" is a "50x" syntax error: MAIL FROM:<...> SIZE=1234567890 552 5.3.4 Message size exceeds fixed limit

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Viktor Dukhovni via Postfix-users
uot;syntax" errors and sending "RCPT TO" once "MAIL FROM" is rejected "RCPT TO" is a "50x" syntax error: MAIL FROM:<...> SIZE=1234567890 552 5.3.4 Message size exceeds fixed limit RCPT TO:<...> 503 5.5.1 Error: need MAIL com

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Viktor Dukhovni via Postfix-users
reject that email > > after the RCPTO TO? > >http://www.postfix.org/postconf.5.html#smtpd_delay_reject Rejection of "MAIL FROM:" when the advertised estimated message size exceeds limits is not subject to "smtpd_delay_reject", which covers access(5) checks, but not th

[pfx] Re: Getting Recipient when Message size limit is exceeded

2023-07-07 Thread postfix--- via Postfix-users
Currently Postfix do not show in log the Recipient of emails that exceed Meesage_size_limit becasue MAIL FROM comes before RCPTO TO... but is there any nice way of forcing Postfix to reject that email after the RCPTO TO? http://www.postfix.org/postconf.5.html#smtpd_delay_reject ___

[pfx] Getting Recipient when Message size limit is exceeded

2023-07-07 Thread Pedro David Marco via Postfix-users
-}/    REJECT  Message size is over limit but i am concerned about performance! Any feedback, please? Thanks! Pete.___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

Re: smtp; 552 5.3.4 Message size exceeds fixed limit

2022-02-09 Thread Viktor Dukhovni
On Wed, Feb 09, 2022 at 05:27:09PM +, Dominic Raferd wrote: > Is your attachment file exactly 7MB or a bit bigger? Encoding as Base64 > (to attach to an email) increases its size by c.37%. > 1024/1.37=7.13MB. Any attachment bigger than this will hit your > message_size_limit. Base64 en

Re: smtp; 552 5.3.4 Message size exceeds fixed limit

2022-02-09 Thread Dominic Raferd
On 09/02/2022 16:53, Gary Aitken wrote: Just got the message   smtp; 552 5.3.4 Message size exceeds fixed limit when attempting to receive a 7MB file: $ postconf -d | grep size_limit body_checks_size_limit = 51200 bounce_size_limit = 5 header_size_limit = 102400 mailbox_size_limit

smtp; 552 5.3.4 Message size exceeds fixed limit

2022-02-09 Thread Gary Aitken
Just got the message smtp; 552 5.3.4 Message size exceeds fixed limit when attempting to receive a 7MB file: $ postconf -d | grep size_limit body_checks_size_limit = 51200 bounce_size_limit = 5 header_size_limit = 102400 mailbox_size_limit = 5120 message_size_limit = 1024

Re: message size

2021-04-16 Thread natan
this value for special recipient ? >>>> like al...@domain.ldt - "message_size_limit = 1468006" >>> You can call postfwd from smtpd_end_of_data_restrictions to reject >>> message sizes selectively. If you call postfwd earlier then Postfix >>> does not know the real m

Re: message size

2021-04-16 Thread Wietse Venema
s any sollutions to change this value for special recipient ? > >> like al...@domain.ldt - "message_size_limit = 1468006" > > You can call postfwd from smtpd_end_of_data_restrictions to reject > > message sizes selectively. If you call postfwd earlier then Postfix > >

Re: message size

2021-04-16 Thread Benny Pedersen
sage_size_limit = 1468006" You can call postfwd from smtpd_end_of_data_restrictions to reject message sizes selectively. If you call postfwd earlier then Postfix does not know the real message size; Postfix knows only what the client says in the MAIL FROM command. Wietse probab

Re: message size

2021-04-16 Thread natan
smtpd_end_of_data_restrictions to reject > message sizes selectively. If you call postfwd earlier then Postfix > does not know the real message size; Postfix knows only what the > client says in the MAIL FROM command. > > Wietse > >> probably not impossible in postfix but meybe "work around" like postfwd >> or something ? >> >> -- >> >> --

Re: message size

2021-04-15 Thread Wietse Venema
estrictions to reject message sizes selectively. If you call postfwd earlier then Postfix does not know the real message size; Postfix knows only what the client says in the MAIL FROM command. Wietse > probably not impossible in postfix but meybe "work around" like postfwd > or something ? > > -- > >

message size

2021-04-15 Thread natan
Hi Server is only for incommin. I have a "message_size_limit = 146800640" Is any sollutions to change this value for special recipient ? like al...@domain.ldt - "message_size_limit = 1468006" probably not impossible in postfix but meybe "work around" like postfwd or something ? --

Re: Conditional relayhost based on message size

2021-01-17 Thread Wietse Venema
t; narrow use-cases. I think that this narrow problem can/should be solved with a combination of smtp_delivery_status_filter that changes 5XX message size errors into 4XX, plus an smtp_fallback_relay with more generous size limits. Or just use that fallback relay all the time. Wuetse

Re: Conditional relayhost based on message size

2021-01-17 Thread Demi M. Obenour
d >>>> when the outgoing message exceeds that size, it will be bounced. >>>> >>>> Any tips for filters or tools that would help me define another >>>> relayhost based on the outgoing message size would be greatly >>>> appreciated! >>

Re: Conditional relayhost based on message size

2021-01-16 Thread @lbutlr
On 16 Jan 2021, at 02:48, Viktor Dukhovni wrote: > Since the queue manager has no mechanism for size-dependent selection of > a default transport Postfix does, however, know the size of the message based if it is over or under the message_size_limit, and it must know that before the message hits

Re: Conditional relayhost based on message size

2021-01-16 Thread Wietse Venema
ll be bounced. > > > > > > Any tips for filters or tools that would help me define another > > > relayhost based on the outgoing message size would be greatly > > > appreciated! > > > > Since the queue manager has no mechanism for size-dependent sel

Re: Conditional relayhost based on message size

2021-01-16 Thread Viktor Dukhovni
ools that would help me define another > > relayhost based on the outgoing message size would be greatly > > appreciated! > > Since the queue manager has no mechanism for size-dependent selection of > a default transport (with the help of trivial-rewrite), the only way >

Re: Conditional relayhost based on message size

2021-01-16 Thread Viktor Dukhovni
size > (this includes images and attachments that are part of the message), and > when the outgoing message exceeds that size, it will be bounced. > > Any tips for filters or tools that would help me define another > relayhost based on the outgoing message size would be greatly &g

Conditional relayhost based on message size

2021-01-16 Thread Alexander
ssage), and when the outgoing message exceeds that size, it will be bounced. Any tips for filters or tools that would help me define another relayhost based on the outgoing message size would be greatly appreciated! Alex

Re: "Chunk exceeds message size limit"

2019-03-28 Thread Wietse Venema
d also > >> address that. > > > > I asked about that some years ago and Wietse told me that it is > > intentionally not documented: > >> http://postfix.1071664.n5.nabble.com/value-of-zero-not-documented-for-message-size-limit-td66874.html >

Re: "Chunk exceeds message size limit"

2019-03-27 Thread Peter
o and Wietse told me that it is intentionally not documented: http://postfix.1071664.n5.nabble.com/value-of-zero-not-documented-for-message-size-limit-td66874.html I just had this come up in the IRC chat room. It is becoming apparent that even though message_size_limit=0 has undocum

Re: "Chunk exceeds message size limit"

2019-03-20 Thread @lbutlr
On 19 Mar 2019, at 13:00, Viktor Dukhovni wrote: > Note that, perhaps unintentionally, the treatment of "message_size_limit > = 0" is not documented to mean "no limit". Perhaps we should also > address that. By forbidding a setting of 0? -- 'They're the cream!' Rincewind sighed. 'Cohen, they

Re: "Chunk exceeds message size limit"

2019-03-20 Thread Markus Schönhaber
intentionally not documented: > http://postfix.1071664.n5.nabble.com/value-of-zero-not-documented-for-message-size-limit-td66874.html -- Regards mks

Re: "Chunk exceeds message size limit"

2019-03-19 Thread Thorben Thuermer
_limit > 0` that in other places enables `0` > > to mean "no limit", and thus it enforces a limit of 0 with my > > config :( > > > >> state->error_mask |= MAIL_ERROR_POLICY; > >> msg_warn("%s: BDAT request from %s exceeds message s

Re: "Chunk exceeds message size limit"

2019-03-19 Thread Viktor Dukhovni
f (state->act_size > var_message_limit - chunk_size) { > +if (var_message_limit > 0 > + && state->act_size > var_message_limit - chunk_size) { > state->error_mask |= MAIL_ERROR_POLICY; > msg_warn("%s: BDAT request from %s excee

Re: "Chunk exceeds message size limit"

2019-03-19 Thread Viktor Dukhovni
OKEN *argv) } } /* Block too large chunks. */ -if (state->act_size > var_message_limit - chunk_size) { +if (var_message_limit > 0 + && state->act_size > var_message_limit - chunk_size) { state->error_mask |= MAIL_ERROR_POLICY; msg_warn(&q

Re: "Chunk exceeds message size limit"

2019-03-19 Thread wilfried.es...@essignetz.de
state->error_mask |= MAIL_ERROR_POLICY; >> msg_warn("%s: BDAT request from %s exceeds message size >> limit", state->queue_id ? state->queue_id : "NOQUEUE", >> state->namaddr); >> return skip_bdat(state, chunk_size, final_chunk, >> "552 5.3.4 Chunk exceeds message size >> limit"); } > > - T. >

Re: "Chunk exceeds message size limit"

2019-03-19 Thread Thorben Thuermer
On Tue, 19 Mar 2019 17:45:50 + (UTC) Thorben Thuermer wrote: > i am running postfix 3.4.1-1 (from debian sid). > > i recently noticed that mails from multiple senders (most importantly > google mail) are being rejected with: > > 552 5.3.4 Chunk exceeds message size limit

"Chunk exceeds message size limit"

2019-03-19 Thread Thorben Thuermer
Hello, i am running postfix 3.4.1-1 (from debian sid). i recently noticed that mails from multiple senders (most importantly google mail) are being rejected with: > 552 5.3.4 Chunk exceeds message size limit postfix logs: > Mar 19 17:42:48 ngs postfix/smtpd[22671]: warning: 25E74C1

Re: Message size limit responses

2016-09-14 Thread JosC
In een bericht van 14-9-2016 5:11: By "message" do you mean an actual piece of email reporting the problem or a notification in the Thunderbird user interface? I mean indeed by Thunderbird. Email messages reporting a delivery failure are almost always generated by some MTA, e.g. Postfix. The

Re: Message size limit responses

2016-09-13 Thread Bill Cole
r that their message was too big. If a message is rejected later by a policy server or milter that imposes more complex rules regarding message size, the client should pass back to the user whatever rejection reply Postfix passed along from that external program. For example, I use code run via t

Re: Message size limit responses

2016-09-13 Thread JosC
In een bericht van 13-9-2016 15:55: Usually the sender will disconnect when they see your SIZE banner, so you never have an opportunity to send them anything. All you'll see in your logs is a connect/disconnect. With Thunderbird I sometimes do see a message that attachments are oversized. Wh

Re: Message size limit responses

2016-09-13 Thread Noel Jones
On 9/13/2016 8:39 AM, JosC wrote: > Is it possible to return a message to someone who wants to attach > files that pass my message_size_limit? > > Thanks, > Jos Chrispijn > Usually the sender will disconnect when they see your SIZE banner, so you never have an opportunity to send them anything.

Message size limit responses

2016-09-13 Thread JosC
Is it possible to return a message to someone who wants to attach files that pass my message_size_limit? Thanks, Jos Chrispijn

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-21 Thread Mick
Hi Bill, Shameful admission : I didn't realise that a sending machine using EHLO could declare the message size in the 'Mail from:'. I have been able to replicate the log behaviour using Telnet using an example in RFC1870. After issuing a EHLO command; >> mail from:

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-21 Thread Wietse Venema
[google ignoring SIZE in EHLO response] I believe that initially Postfix has done that as well, because the number as announced might not be parseable with system library routines (for example bigger than 4GB, at a time that Postfix typically ran on 32-bit systems). Later, Postfix got its own off

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Bill Cole
On 20 Jun 2016, at 20:54, Mick wrote: I take it from your response (and noting the log 'reject: MAIL from') that the sender just piled in over 10MB of data at the 'mail from:' stage. Unlikely, since it was a Google machine and that's not how size restriction works. In this case the session s

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Mick
e intended behaviour. I'm running Debianized Postfix 3.1.0. Log excerpt; Jun 20 03:53:34 skin P25/smtpd[13887]: connect from mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b] Jun 20 03:53:35 skin P25/smtpd[13887]: NOQUEUE: reject: MAIL from mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b]: 452 4.3

Re: Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Wietse Venema
#x27;m running Debianized Postfix 3.1.0. > > Log excerpt; > Jun 20 03:53:34 skin P25/smtpd[13887]: connect from > mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b] > Jun 20 03:53:35 skin P25/smtpd[13887]: NOQUEUE: reject: MAIL from > mail-it0-x22b.google.com[2607:f8b0:4001:c0b::

Logging sender and recipient when message size exceeds fixed limit

2016-06-20 Thread Mick
. Log excerpt; Jun 20 03:53:34 skin P25/smtpd[13887]: connect from mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b] Jun 20 03:53:35 skin P25/smtpd[13887]: NOQUEUE: reject: MAIL from mail-it0-x22b.google.com[2607:f8b0:4001:c0b::22b]: 452 4.3.4 Message size exceeds fixed limit; proto=ESMTP helo=

Re: message size limits

2015-11-20 Thread Viktor Dukhovni
n MSA and mailstore front-end MTA that are not the same as your Internet-facing inbound gateway. This allows a larger message size for purely internal email. You can also operate separate inbound and outbound MTAs (or just Postfix instances) with separate message size limits, if it somehow makes

message size limits

2015-11-20 Thread Chris Boylan
Looking at message_size_limit and mailbox_size_limit, if I want to allow internal users the ability to send 100M emails it seems like 1) applies to all messages both in-bound and out-bound and 2) I'll need to increase mailbox_size_limit to what factor of message_size_limit?

Re: Different message size per domain [Per-Recipient Data Responses (Exim)]

2015-08-24 Thread Viktor Dukhovni
On Mon, Aug 24, 2015 at 10:01:27PM +0200, Andrzej A. Filip wrote: > Claus Assmann wrote: > >> With SMTP there is no per-recipiet end-of-data reply, and a > >> reject reply will block mail for all recipients. > > > > AFAICT PRDR can do that -- it's implemented in exim and some other MTA. > > Howe

Re: Different message size per domain [Per-Recipient Data Responses (Exim)]

2015-08-24 Thread Andrzej A. Filip
Claus Assmann wrote: >> With SMTP there is no per-recipiet end-of-data reply, and a >> reject reply will block mail for all recipients. > > AFAICT PRDR can do that -- it's implemented in exim and some other MTA. > However, it's barely used... One way to "encourage" its implementation would be to

Re: Different message size per domain

2015-08-24 Thread Wietse Venema
Claus Assmann: > > With SMTP there is no per-recipiet end-of-data reply, and a > > reject reply will block mail for all recipients. > > AFAICT PRDR can do that -- it's implemented in exim and some other MTA. > However, it's barely used... It's a chicken and egg thing; if enough systems implement

Re: Different message size per domain

2015-08-24 Thread Claus Assmann
> With SMTP there is no per-recipiet end-of-data reply, and a > reject reply will block mail for all recipients. AFAICT PRDR can do that -- it's implemented in exim and some other MTA. However, it's barely used...

Re: Different message size per domain

2015-08-24 Thread Wietse Venema
> needs to inspect all the recipients. Ditto if it wants to permit > provided *some* recipient's quota is not exceeded. Look up the quota at "RCPT TO" time, and remember the smallest. Enforce the quota at "end of data" time, when the actual message size is known

Re: Different message size per domain

2015-08-24 Thread Viktor Dukhovni
On Mon, Aug 24, 2015 at 01:44:47PM -0400, Wietse Venema wrote: > Viktor Dukhovni: > > On Mon, Aug 24, 2015 at 06:54:56PM +0200, Alexandre Ellert wrote: > > > > > > Le 22 ao?t 2015 ? 15:46, Viktor Dukhovni a > > > > ?crit : > > > > > > > > Is the policy service check in "smtpd_recipient_restrict

Re: Different message size per domain

2015-08-24 Thread Wietse Venema
Viktor Dukhovni: > On Mon, Aug 24, 2015 at 06:54:56PM +0200, Alexandre Ellert wrote: > > > > Le 22 ao?t 2015 ? 15:46, Viktor Dukhovni a > > > ?crit : > > > > > > Is the policy service check in "smtpd_recipient_restrictions", in > > > "smtpd_end_of_data_restrictions" or both? > > The policy serv

Re: Different message size per domain

2015-08-24 Thread Viktor Dukhovni
ns" or both? > The policy server is called at smtpd_end_of_data_restrictions stage. At that stage you don't know who the recipients are (if there's more than one). You need a policy service that is called for each recipient and then finally at end of data. > > The message size is not alway

Re: Different message size per domain

2015-08-24 Thread Alexandre Ellert
> Le 22 août 2015 à 15:46, Viktor Dukhovni a écrit > : > > Is the policy service check in "smtpd_recipient_restrictions", in > "smtpd_end_of_data_restrictions" or both? The policy server is called at smtpd_end_of_data_restrictions stage. > The messag

Re: Different message size per domain

2015-08-22 Thread Wietse Venema
ostfix uses the SIZE information sent by the remote SMTP client. Postfix knows the true message size only after the remote SMTP client sends "end-of-data". This SMTP protocol stage does not have per-recipient replies, so a REJECT reply would block the message for all recipients. Wietse

Re: Different message size per domain

2015-08-22 Thread Viktor Dukhovni
ain and the size attribute is over 10 MB, then return a 5xx error. > In most case, it works but sometime it doesn't and I don't understand why > and how to debug? The message size is not always known at "RCPT TO" time, the real size is known only at "end of data"

Different message size per domain

2015-08-22 Thread Alexandre Ellert
Hello, I have two Postfix inbound servers which serve multiple domain and I'd like to accept 20 Mb email for all domain except one (I want 10 Mb limit for this one). In main.cf I set message_size_limit = 20971520 and I use a policy server (postfwd) to check the recipient and the mail size. I con

Re: Message size

2014-08-05 Thread M. Rodrigo Monteiro
Enabling debug for the Servers IP, here comes. Aug 5 15:22:35 intsrv025 postfix/smtpd[1412]: > SERVER_HOST[SERVER_IP]: 250-ERLAY_HOST Aug 5 15:22:35 intsrv025 postfix/smtpd[1412]: > SERVER_HOST[SERVER_IP]: 250-PIPELINING Aug 5 15:22:35 intsrv025 postfix/smtpd[1412]: > SERVER_HOST[SERVER_IP]: 25

Re: Message size

2014-08-05 Thread Jonas Wielicki
On 05.08.2014 20:08, Noel Jones wrote: > On 8/5/2014 12:53 PM, M. Rodrigo Monteiro wrote: >> 2014-08-05 14:47 GMT-03:00 Noel Jones : >>> On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: >>>> Hi! >>>> >>>> This postfix act as a Relay. >>

Re: Message size

2014-08-05 Thread Noel Jones
On 8/5/2014 12:53 PM, M. Rodrigo Monteiro wrote: > 2014-08-05 14:47 GMT-03:00 Noel Jones : >> On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: >>> Hi! >>> >>> This postfix act as a Relay. >>> From all servers, but one, the message size is 20M

Re: Message size

2014-08-05 Thread Glenn Sieb
On 8/5/14, 1:42 PM, M. Rodrigo Monteiro wrote: > 2014-08-05 14:37 GMT-03:00 Glenn Sieb : >> And was that command run on the relay that is showing SIZE 1000? > > The command is from the Server -> Relay. So, yes. > All other servers (40 or so) the result is the same: 20MB. > >> >> If so, did yo

Re: Message size

2014-08-05 Thread Glenn Sieb
On 8/5/14, 1:47 PM, Noel Jones wrote: > And this doesn't look like postfix. Either there's some sort of > proxy interfering with SMTP, or this isn't connecting to the same > server. Maybe some security software or firewall on the oddball server? Good point.. I missed the difference in responses

Re: Message size

2014-08-05 Thread M. Rodrigo Monteiro
2014-08-05 14:47 GMT-03:00 Noel Jones : > On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: >> Hi! >> >> This postfix act as a Relay. >> From all servers, but one, the message size is 20MB. For these one it's 10MB >> >> # postconf message_size_limit >&

Re: Message size

2014-08-05 Thread Noel Jones
On 8/5/2014 12:23 PM, M. Rodrigo Monteiro wrote: > Hi! > > This postfix act as a Relay. > From all servers, but one, the message size is 20MB. For these one it's 10MB > > # postconf message_size_limit > message_size_limit = 20971520 > > > Here is t

Re: Message size

2014-08-05 Thread Glenn Sieb
On 8/5/14, 1:23 PM, M. Rodrigo Monteiro wrote: > This postfix act as a Relay. > From all servers, but one, the message size is 20MB. For these one it's 10MB > > # postconf message_size_limit > message_size_limit = 20971520 And was that command run on the relay that is showin

Message size

2014-08-05 Thread M. Rodrigo Monteiro
Hi! This postfix act as a Relay. >From all servers, but one, the message size is 20MB. For these one it's 10MB # postconf message_size_limit message_size_limit = 20971520 Here is the telnet response from all servers # telnet relay 25 Trying XXX... Connected to XXX. Escape char

Re: block email on number of recipients and on message size

2013-01-23 Thread Noel Jones
On 1/23/2013 6:22 AM, Antonio Tommasi wrote: > Hi to all > i need to block email if the number of recipients is greater than a specific > number and message size exceeds fixed limit. > In main.cf i can configure message_size_limit and smtpd_recipient_limit, but > i want to re

Re: block email on number of recipients and on message size

2013-01-23 Thread Dominik George
Hi, as always, postfwd might be the answer. -nik Antonio Tommasi schrieb: >Hi to all >i need to block email if the number of recipients is greater than a >specific number and message size exceeds fixed limit. >In main.cf i can configure message_size_limit and >smtpd_recipie

block email on number of recipients and on message size

2013-01-23 Thread Antonio Tommasi
Hi to all i need to block email if the number of recipients is greater than a specific number and message size exceeds fixed limit. In main.cf i can configure message_size_limit and smtpd_recipient_limit, but i want to reject email only if (message_size > message_size_limit)

Re: OT: Question on max message size

2011-08-08 Thread Rob Sterenborg (Lists)
On Mon, 2011-08-08 at 07:58 -0500, Stan Hoeppner wrote: > On 8/6/2011 1:26 AM, Rob Sterenborg (Lists) wrote: > > On Sat, 2011-08-06 at 01:04 -0500, Stan Hoeppner wrote: > >> Or do the smart thing: use a file transfer protocol for transferring > >> files instead of an email protocol. HTTP and FTP

Re: Question on max message size

2011-08-08 Thread Stan Hoeppner
On 8/6/2011 1:26 AM, Rob Sterenborg (Lists) wrote: > On Sat, 2011-08-06 at 01:04 -0500, Stan Hoeppner wrote: >> Or do the smart thing: use a file transfer protocol for transferring >> files instead of an email protocol. HTTP and FTP are readily available >> good examples. > > We don't know why t

Re: Question on max message size

2011-08-05 Thread Rob Sterenborg (Lists)
On Sat, 2011-08-06 at 01:04 -0500, Stan Hoeppner wrote: > Or do the smart thing: use a file transfer protocol for transferring > files instead of an email protocol. HTTP and FTP are readily available > good examples. We don't know why the OP wants this so it may not be that simple. Recently I h

Re: Question on max message size

2011-08-05 Thread Stan Hoeppner
On 8/5/2011 9:12 AM, Magnus Bäck wrote: > On Friday, August 05, 2011 at 15:37 CEST, > Nikolaos Milas wrote: > >> A quick question: message_size_limit refers to the MIME-encoded >> (base64) "final" message size or to the initial (non-encoded) size >> of m

Re: Question on max message size

2011-08-05 Thread Nikolaos Milas
On 5/8/2011 5:12 μμ, Magnus Bäck wrote: A quick question: message_size_limit refers to the MIME-encoded (base64) "final" message size or to the initial (non-encoded) size of message + attachments? The former. That's the only representation of an email that's ever sent or st

Re: Question on max message size

2011-08-05 Thread Magnus Bäck
On Friday, August 05, 2011 at 15:37 CEST, Nikolaos Milas wrote: > A quick question: message_size_limit refers to the MIME-encoded > (base64) "final" message size or to the initial (non-encoded) size > of message + attachments? The former. That's the only represent

Question on max message size

2011-08-05 Thread Nikolaos Milas
Hi everyone, A quick question: message_size_limit refers to the MIME-encoded (base64) "final" message size or to the initial (non-encoded) size of message + attachments? (Encoded message size should be about 30% larger than the original, so if we want to allow attachments of ma

Re: postfix message size

2010-09-29 Thread Charles Marcus
On 2010-09-28 8:12 PM, Sahil Tandon wrote: > Charles Marcus wrote: >> Are you submitting this message via a webmail client? > Huh? >> Maybe this is a web server/php upload size limitation? > No. What in the log excerpt makes you suspect that? The 127.0.0.1 IP address - but obviously I replied w

Re: postfix message size

2010-09-28 Thread Sahil Tandon
Charles Marcus wrote: On 2010-09-27 6:00 PM, Jim McIver wrote: (message size 5414717 exceeds size limit 5242880 of server 127.0.0.1[127.0.0.1]) As already pointed out, this error is not from the postfix server, but from the client... Correct. Are you submitting this message via a webmail

Re: postfix message size

2010-09-28 Thread Jim McIver
On 9/27/2010 6:53 PM, Stan Hoeppner wrote: Jim McIver put forth on 9/27/2010 5:00 PM: I'm running postfix 2.5.6 on Freebsd 7.2 and am having an issue with message size limit and a user not being able to send a file. I'm trying to limit the message size to 6 megabytes and in the mai

Re: postfix message size

2010-09-28 Thread Charles Marcus
On 2010-09-27 6:00 PM, Jim McIver wrote: > (message size 5414717 exceeds size limit 5242880 of server > 127.0.0.1[127.0.0.1]) As already pointed out, this error is not from the postfix server, but from the client... Are you submitting this message via a webmail client? Maybe this is

Re: postfix message size

2010-09-28 Thread Ralf Hildebrandt
* Jim McIver : > I'm trying to limit the message size to 6 megabytes and in the > main.cf I set: > > message_size_limit = 600 That's not 6 megabytes > (message size 5414717 exceeds size limit 5242880 of server > 127.0.0.1[127.0.0.1]) 5242880 != 600 >

Re: postfix message size

2010-09-27 Thread Stan Hoeppner
Jim McIver put forth on 9/27/2010 5:00 PM: > I'm running postfix 2.5.6 on Freebsd 7.2 and am having an issue with > message size limit and a user not being able to send a file. > > I'm trying to limit the message size to 6 megabytes and in the main.cf I > set: > &g

Re: postfix message size

2010-09-27 Thread Sahil Tandon
Jim McIver wrote: On 9/27/2010 3:55 PM, Ben McGinnes wrote: On 28/09/10 8:00 AM, Jim McIver wrote: I'm running postfix 2.5.6 on Freebsd 7.2 and am having an issue with message size limit and a user not being able to send a file. I'm trying to limit the message size to 6 megabytes

Re: postfix message size

2010-09-27 Thread Jim McIver
On 9/27/2010 3:55 PM, Ben McGinnes wrote: On 28/09/10 8:00 AM, Jim McIver wrote: I'm running postfix 2.5.6 on Freebsd 7.2 and am having an issue with message size limit and a user not being able to send a file. I'm trying to limit the message size to 6 megabytes and in the mai

Re: postfix message size

2010-09-27 Thread Ben McGinnes
On 28/09/10 8:00 AM, Jim McIver wrote: > I'm running postfix 2.5.6 on Freebsd 7.2 and am having an issue with > message size limit and a user not being able to send a file. > > I'm trying to limit the message size to 6 megabytes and in the main.cf I > set: > > me

postfix message size

2010-09-27 Thread Jim McIver
I'm running postfix 2.5.6 on Freebsd 7.2 and am having an issue with message size limit and a user not being able to send a file. I'm trying to limit the message size to 6 megabytes and in the main.cf I set: message_size_limit = 600 maillog shows: (message size 5414717 ex

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
On Sun, Aug 22, 2010 at 11:17 PM, Wietse Venema wrote: > Squeeshh Me: >> Wietse: ok, here it is: >>  egrep '(warning|error|fatal|panic):' /var/log/maillog | more >> >> Aug 22 21:50:17 node2 postfix/virtual[71240]: panic: file size limit >> 100 <

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Wietse Venema
Squeeshh Me: > Wietse: ok, here it is: > egrep '(warning|error|fatal|panic):' /var/log/maillog | more > > Aug 22 21:50:17 node2 postfix/virtual[71240]: panic: file size limit > 100 < message size 1498997. Your Postfix version was modified with an unofficial pa

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
warning|error|fatal|panic):' /var/log/maillog | more Aug 22 21:50:17 node2 postfix/virtual[71240]: panic: file size limit 100 < message size 1498997. This causes large messages to be delivered repeatedly after they were submitted with "sendmail -t" or after recipients were added with

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Wietse Venema
Squeeshh Me: > Hi, > > Thanks for replying. My bad, I realised I posted the log message from > /var/log/message. It's quite similar to what I get in postfix log > too. Here's the postfix /var/log/mailog version of a test mail that I just > sent, hope this is better (also there are no other warnin

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
own[172.31.0.181] Aug 22 21:50:17 node1 postfix/qmgr[59650]: 4F4056EB019: from=, size=1498409, nrcpt=1 (queue active) Aug 22 21:50:17 node1 postfix/virtual[71240]: panic: file size limit 100 < message size 1498997. This causes large messages to be delivered repeatedly after they were submitte

Re: advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Wietse Venema
Squeeshh Me: > Aug 21 11:12:55 node1 kernel: pid 40382 (virtual), uid 5000: exited on > signal 6 For details, look in your MAILLOG file. Wietse http://www.postfix.org/DEBUG_README.html#logging Look for obvious signs of trouble Postfix logs all failed and successful deliveries to a logf

advise needed: unknown mail transport error; panic: file size limit < message size

2010-08-22 Thread Squeeshh Me
(5Mb), postfix panics and the mail would be stuck in the mail queue. Case (B) : Incoming mail size = 6.8 Mb (6887595) . /var/log/maillog: Aug 21 11:12:54 node1 postfix/virtual[40382]: panic: file size limit 500 < message size 6887595. This causes large messages to be delivered repeatedly af

Re: notification message size to receiver

2010-03-29 Thread Wietse Venema
Robert Bude: > Hi ! > > Is there a possibility to configure postfix to send an email > notification to the sender and receiver of an email, which is not > accepted because of exceeding the message size limit ? > We have a client, who wants to get notified if someone send him

notification message size to receiver

2010-03-29 Thread Robert Bude
Hi ! Is there a possibility to configure postfix to send an email notification to the sender and receiver of an email, which is not accepted because of exceeding the message size limit ? We have a client, who wants to get notified if someone send him an email, which was rejected because of

Re: setting message size

2009-10-02 Thread Wietse Venema
David Southwell: > How do I set an unlimited outgoing email attachment size? If would do that, then you would also need an unlimited disk for the mail queue. For safety reasons Postfix will not accept mail when the amount of free space in the queue is less than 1.5x message size li

Re: setting message size

2009-10-02 Thread Stan Hoeppner
Charles Marcus put forth on 10/2/2009 10:19 AM: > On 10/2/2009 11:11 AM, David Southwell wrote: >> How do I set an unlimited outgoing email attachment size? >> thanks in advance >> david > > message_size_limit = > > ### is in bytes > > This affects all messages though - if you need

Re: setting message size

2009-10-02 Thread Ansgar Wiechers
On 2009-10-02 David Southwell wrote: > How do I set an unlimited outgoing email attachment size? Enable submission in your master.cf (with "-o message_size_limit=0" as an additional option), and have your internal users send mail via submission (port 587/tcp) instead of plain SMTP. Regards Ansgar

  1   2   >