Re: queue file size limit exceeded

2022-06-21 Thread Burn Zero
Hi, Yes, the client is showing that it is 17 MB in size. On Tue, 21 Jun 2022 at 12:49, Jeroen Geilman wrote: > The message originates in cleanup_final.c, which reconciles the open queue > file with the final on-disk size of the received message. > Check if the client is supplying SIZE incorrect

Re: queue file size limit exceeded

2022-06-21 Thread Wietse Venema
Burn Zero: > Hi, > > I have a relay server where different application servers send emails to > it. An application server is sending email with the size around 17 MB but > the relay server is not accepting it citing the below warning: > > ++ > > Jun 18 09:47:05 smtp1 postfix/smtpd[43832]: 66

Re: queue file size limit exceeded

2022-06-21 Thread Burn Zero
Hi, Please find the output: ++ ehlo domain 250-smtp1 250-PIPELINING 250-SIZE 48916070 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 CHUNKING ++ On Tue, 21 Jun 2022 at 15:31, Wietse Venema wrote: > > Burn Zero: > > Hi, > > > > I have a relay server where different app

Separate domain sender reject for inbound and outbound

2022-06-21 Thread Víctor Rubiella Monfort
Hi, I'm trying to define independent domain reject list for inboud than outbound: This works fine configuring: smtpd_sender_restrictions = permit_mynetworks, check_sender_access hash:/etc/postfix/domainslist_in Works ok, but for in and out with the same file. I have not found a way

Re: queue file size limit exceeded

2022-06-21 Thread Matus UHLAR - fantomas
On 21.06.22 13:38, Burn Zero wrote: Yes, the client is showing that it is 17 MB in size. are you sure it's not e.g. 170M ? or that you don't have message_size_limit overridden somewhere in master.cf? On Tue, 21 Jun 2022 at 12:49, Jeroen Geilman wrote: The message originates in cleanup_fina

Re: queue file size limit exceeded

2022-06-21 Thread Burn Zero
Hi, It is 17 MB only. message_size_limit is not overridden in master.cf as it is showing the correct value set in main.cf while advertising EHLO. On Tue, 21 Jun 2022 at 16:01, Matus UHLAR - fantomas wrote: > > On 21.06.22 13:38, Burn Zero wrote: > >Yes, the client is showing that it is 17 MB in

Re: queue file size limit exceeded

2022-06-21 Thread Wietse Venema
Burn Zero: > Hi, > > Please find the output: > > ++ > > ehlo domain > 250-smtp1 > 250-PIPELINING > 250-SIZE 48916070 Then, the message size is not 17MB. Wietse

Re: queue file size limit exceeded

2022-06-21 Thread Wietse Venema
Wietse Venema: > Burn Zero: > > Hi, > > > > Please find the output: > > > > ++ > > > > ehlo domain > > 250-smtp1 > > 250-PIPELINING > > 250-SIZE 48916070 > > Then, the message size is not 17MB. You can use tcpdump/wireshark/etc to convince yourself. Wietse

Re: queue file size limit exceeded

2022-06-21 Thread Matus UHLAR - fantomas
On 21.06.22 16:05, Burn Zero wrote: It is 17 MB only. message_size_limit is not overridden in master.cf as it is showing the correct value set in main.cf while advertising EHLO. it can be overridden for e.g. cleanup process. On Tue, 21 Jun 2022 at 16:01, Matus UHLAR - fantomas wrote: On 21

Re: queue file size limit exceeded

2022-06-21 Thread Burn Zero
Okay, But is there any difference between the error messages "NOQUEUE: reject: 552 5.3.4 Message size exceeds fixed limit" and "warning: queue file size limit exceeded" ? On Tue, 21 Jun 2022 at 16:14, Matus UHLAR - fantomas wrote: > > On 21.06.22 16:05, Burn Zero wrote: > >It is 17 MB only. messa

disabling outgoing mail based on both recipient domain and a header line?

2022-06-21 Thread Crni Gorac
Hello, Working on a machine, let's call it my.domain.com, where users are taught to forward mail using procmailrc, and nowadays some of the servers where messages get forwarded don't like it and blacklist us for this reason. So we're looking is there a way through Postfix to reject outgoing messa

Re: Separate domain sender reject for inbound and outbound

2022-06-21 Thread Matus UHLAR - fantomas
On 21.06.22 12:04, Víctor Rubiella Monfort wrote: I'm trying to define independent domain reject list for inboud than outbound: This works fine configuring: smtpd_sender_restrictions = permit_mynetworks, check_sender_access hash:/etc/postfix/domainslist_in Works ok, but for in and out w

Re: queue file size limit exceeded

2022-06-21 Thread Wietse Venema
Burn Zero: > Okay, But is there any difference between the error messages "NOQUEUE: > reject: 552 5.3.4 Message size exceeds fixed limit" and "warning: > queue file size limit exceeded" ? These happen at different points in time. After MAIL FROM: SIZE=too-large-number: 5441 /* 5442

Re: Separate domain sender reject for inbound and outbound

2022-06-21 Thread Viktor Dukhovni
On Tue, Jun 21, 2022 at 02:49:08PM +0200, Matus UHLAR - fantomas wrote: > On 21.06.22 12:04, Víctor Rubiella Monfort wrote: > >I'm trying to define independent domain reject list for inboud than > >outbound: > > > >This works fine configuring: > > > >smtpd_sender_restrictions = > >permit_mynet

Re: disabling outgoing mail based on both recipient domain and a header line?

2022-06-21 Thread Viktor Dukhovni
On Tue, Jun 21, 2022 at 01:25:28PM +0200, Crni Gorac wrote: > Working on a machine, let's call it my.domain.com, where users are > taught to forward mail using procmailrc, and nowadays some of the > servers where messages get forwarded don't like it and blacklist us > for this reason. So we're lo

Can't finish installation, need help

2022-06-21 Thread Luc GMail
Hi. I've been trying to properly install and run postfix with no success. I've read many recipes and instructions and made many attempts and something always fails. What I've accomplished so far: - postfix is running - I can send test mail from the command line (mailx) to an email account elsewher

Re: Can't finish installation, need help

2022-06-21 Thread Claus R. Wickinghoff
Hi, the certbot and apache stuff is not postfix related. Did you check, that these two files are there: > smtpd_tls_cert_file=/etc/letsencrypt/live/mydomain.net/fullchain.pem > > smtpd_tls_key_file=/etc/letsencrypt/live/mydomain.net/privkey.pem >

Re: Can't finish installation, need help

2022-06-21 Thread Viktor Dukhovni
On Tue, Jun 21, 2022 at 10:42:33PM +0200, Claus R. Wickinghoff wrote: > > smtpd_tls_cert_file=/etc/letsencrypt/live/mydomain.net/fullchain.pem > > smtpd_tls_key_file=/etc/letsencrypt/live/mydomain.net/privkey.pem > > In my setup i have also a third line for the ca-certificate: > > smtpd_tls_CA

Re: Can't finish installation, need help

2022-06-21 Thread Bill Cole
On 2022-06-21 at 16:17:23 UTC-0400 (Tue, 21 Jun 2022 17:17:23 -0300) Luc GMail is rumored to have said: Hi. I've been trying to properly install and run postfix with no success. I've read many recipes and instructions and made many attempts and something always fails. FWIW: The best Postfix