Re: [exim] How to suspend user to send emails, even to local domain?
On 2019-10-18, pedro.almeida--- via Exim-users wrote: > Hi, > > Thank you for your help, Marius. > > Could you please elaborate a litle on how to filter those user ids out > in the sql query? > > Regards > > > On 18/10/19 14:19, Cyborg via Exim-users wrote: >> Am 18.10.19 um 14:26 schrieb ersrpca001 ersrpca001 via Exim-users: >>> Should I create a rule? >>> >>> Or should I create a limit to these 2 users, of sending zero emails? >> make SQL based authentication for SMTP-AUTH, >> enforce SMTP-AUTH, >> filter both user ids out in your sql query. >> >> Marius >> > how do you want to indicate who is allowed and who is not? -- When I tried casting out nines I made a hash of it. -- ## 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] Bounce messages are missing headers and message body for non local users
On 18/10/2019 18:32, Ben Sanders via Exim-users wrote: > If the bounce returns to a local user however, I get the expected output, the > normal section above with the SMTP error WITH the message header with message > body. > > Why is exim behaving different for local and remote email addresses, is that > expected? I'd guess the processing sequence is different. Show us logs, as a start. -- 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] Bounce messages are missing headers and message body for non local users
On 19/10/2019 10:47, Andrew C Aitchison via Exim-users wrote: > Are you using cut-through delivery ? > > I wonder whether mail from trusted users is failing before the data > (headers and body) have been received, in which case they may not be > available when the bounce is generated ? I doubt it; the whole point of cuthrough is that you don't generate bounces. -- 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] Bounce messages are missing headers and message body for non local users
On Fri, 18 Oct 2019, Ben Sanders via Exim-users wrote: Hello all, I've got a fully updated Exim smarthost (4.92.3) running on CentOS 7 - It accepts mail from trusted networks to send outbound messages, no significant config changes from the defaults, all sending mail perfectly fine. Our much older version of exim on Debian behaves differently when bouncing email however, it includes the full headers and message body to all senders. The newer version of exim on CentOS seems to treat local and remote senders differently. If the sender is on a trusted network, bounces only include the SMTP error section e.g: " A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: n...@example.tld host example.tld [5.5.5.5] SMTP error from remote mail server after RCPT TO:: 550 No such person at this address " Even when explicitly setting the below defaults to true, the messages headers and message body are missing from the bounce. bounce_return_message = true bounce_return_body = true If the bounce returns to a local user however, I get the expected output, the normal section above with the SMTP error WITH the message header with message body. Why is exim behaving different for local and remote email addresses, is that expected? Is there a way to ensure exim includes the message header and body for all bounces it generates? Are you using cut-through delivery ? I wonder whether mail from trusted users is failing before the data (headers and body) have been received, in which case they may not be available when the bounce is generated ? -- Andrew C. Aitchison Kendal, UK and...@aitchison.me.uk -- ## 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] How to suspend user to send emails, even to local domain?
Hi, Thank you for your help, Marius. Could you please elaborate a litle on how to filter those user ids out in the sql query? Regards On 18/10/19 14:19, Cyborg via Exim-users wrote: Am 18.10.19 um 14:26 schrieb ersrpca001 ersrpca001 via Exim-users: Should I create a rule? Or should I create a limit to these 2 users, of sending zero emails? make SQL based authentication for SMTP-AUTH, enforce SMTP-AUTH, filter both user ids out in your sql query. Marius -- ## 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/
[exim] Bounce messages are missing headers and message body for non local users
Hello all, I've got a fully updated Exim smarthost (4.92.3) running on CentOS 7 - It accepts mail from trusted networks to send outbound messages, no significant config changes from the defaults, all sending mail perfectly fine. Our much older version of exim on Debian behaves differently when bouncing email however, it includes the full headers and message body to all senders. The newer version of exim on CentOS seems to treat local and remote senders differently. If the sender is on a trusted network, bounces only include the SMTP error section e.g: " A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: n...@example.tld host example.tld [5.5.5.5] SMTP error from remote mail server after RCPT TO:: 550 No such person at this address " Even when explicitly setting the below defaults to true, the messages headers and message body are missing from the bounce. bounce_return_message = true bounce_return_body = true If the bounce returns to a local user however, I get the expected output, the normal section above with the SMTP error WITH the message header with message body. Why is exim behaving different for local and remote email addresses, is that expected? Is there a way to ensure exim includes the message header and body for all bounces it generates? Thanks in advance, -- BenAd -- ## 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] data timeout on connection
Slowly mails from this afternoon roll in... Hope my excitement is not too early, but whenever I happen to learn what has been spooking there, I will let you know. Thank for your head ups. Still would like to know what the hummus server's log had to tell about the timeout. On 18.10.19 16:15, Cyborg wrote: Am 18.10.19 um 15:32 schrieb Hardy via Exim-users: Cyborg, you mean it really may happen that "all of a sudden" my kernel is not IP stack compatible with half of the other world? Given, it is quite an old one, as I do not update productive systems often, I prefer to build a new system and migrate - but not as often then. But again, all of a sudden incompatible with 50% in the world out there? It does not happen with all tcp connections. It depends on size,travelpath of the pakets, fragmentation etc etc.. So how old is your kernel ? Best regards, Marius smime.p7s Description: S/MIME Cryptographic Signature -- ## 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] data timeout on connection
On 18/10/2019 23:29, Niels Dettenbach (Syndicat.com) via Exim-users wrote: > - removed some DNSBL requests (shorten timing / eliminate some DNS reqs) If there's a possibility of the receiving exim taking long enough to cause the sender to give up (yet, in the OP's case, stop sending data but not close the TCP connection) :- try adding "+smtp_connection +smtp_incomplete_transaction +millisec" to log_selector. This should give a little more info. -- 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/