Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Samer Afach
Thank you. I will re-visit this next after the proxy problem is solved. Btw, thank you very much for suggesting HAProxy's proxy protocol. I've succeeded in getting it partially to work (I'm not done yet, there's more to configure), and I can see external IP addresses in postfix and dovecot

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread mailmary
In my case, I reject invalid HELO names with: reject_invalid_helo_hostname reject_non_fqdn_helo_hostname I've run postfix like this for about 10 years now without any problems. I don't expect others to use such restrictions but it works for me. On Fri, 23 Dec 2022 09:51:48 +0400 Samer

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Samer Afach
I see. Thank you for the explanation. So the right way to state this is that HELO/EHLO requires a valid FQDN/hostname only for MTAs, and for MUAs it's just ignored because authentication is what matters. Cheers, Sam On 23/12/2022 9:34 AM, Peter wrote: On 23/12/22 15:48, Samer Afach wrote:

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Peter
On 23/12/22 15:48, Samer Afach wrote: Got it. So HELO/EHLO is specifically for MTAs. Thank you very much for explaining! It still needs to be sent for submission connections, but the hostname does not have to be a legitimate FQDN. What is important for submission is that it passes some

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Phil Stracchino
On 12/22/22 21:19, Samer Afach wrote: There's a saying I like: Experience is the number of mistakes you've done so far. There is truth in that. We are each the sum of our own experiences, including our mistakes. -- Phil Stracchino Babylon Communications ph...@caerllewys.net

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Samer Afach
Got it. So HELO/EHLO is specifically for MTAs. Thank you very much for explaining! All the best, Sam On 23/12/2022 6:37 AM, Wietse Venema wrote: Samer Afach: Thank you very much, Raf. I really appreciate your

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Wietse Venema
Samer Afach: > Thank you very much, Raf. I really appreciate your empathy and all this > help. > > I'm reading more and more every day. I really appreciate your support. > The challenge is knowing what matters. > > And about your HELO definition, thanks for explaining it. What confuses > me

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Samer Afach
Thank you very much, Raf. I really appreciate your empathy and all this help. I'm reading more and more every day. I really appreciate your support. The challenge is knowing what matters. And about your HELO definition, thanks for explaining it. What confuses me is that clients usually

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Samer Afach
Dear Matthias, I think there's a misunderstanding here. The server is already shutdown. I thought you meant that I should shutdown the server permanently and move on with my life because I'm incapable of running a server, which seems to have been the context (I'll explain next why that's

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread raf
On Thu, Dec 22, 2022 at 04:47:57AM +0400, Samer Afach wrote: > If I were you, I'd focus on my lack of understanding of the email protocol. > Now that, is a part that I still cannot fully understand, embarrassingly so. > I still don't know what ehlo means, except that it's the first message. I >

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Phil Stracchino
On 12/22/22 14:23, post...@ptld.com wrote: On 12-22-2022 2:18 pm, mailm...@ionos.gr wrote: sorry to have to burst your bubble, but postfix does not have documentation at least not in the way we call documentation these days maybe you'd call them "notes" or a "reference guide" but not real

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread raf
On Thu, Dec 22, 2022 at 02:23:53PM -0500, post...@ptld.com wrote: > > On 12-22-2022 2:18 pm, mailm...@ionos.gr wrote: > > sorry to have to burst your bubble, but postfix does not have documentation > > > > at least not in the way we call documentation these days > > maybe you'd call them "notes"

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread raf
On Thu, Dec 22, 2022 at 09:18:07PM +0200, mailm...@ionos.gr wrote: > On Thu, 22 Dec 2022 19:05:47 +0100 Matthias Andree > wrote: > > > Postfix has been around for a quarter century, and it has always been > > *the* example of good design, documentation and compatibility with > > predecessor

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread postfix
On 12-22-2022 2:18 pm, mailm...@ionos.gr wrote: sorry to have to burst your bubble, but postfix does not have documentation at least not in the way we call documentation these days maybe you'd call them "notes" or a "reference guide" but not real documentation it is helpful to people who

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread mailmary
sorry to have to burst your bubble, but postfix does not have documentation at least not in the way we call documentation these days maybe you'd call them "notes" or a "reference guide" but not real documentation it is helpful to people who already know everything, but not helpful to people

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Jaroslaw Rafa
Dnia 22.12.2022 o godz. 19:26:26 Samer Afach pisze: > My plan is to completely > cut off relaying by setting mynetworks to localhost and > mynetworks_style to host, BTW. You only need mynetworks_style if you don't set mynetworks explicitly. If you do set it explicitly, mynetworks_style is just

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Matthias Andree
Am 22.12.22 um 01:47 schrieb Samer Afach: Thank you, Matthias, for your opinion. Ironically, the proxy part in this whole story is not only the simple part that I fully understand, but also the part that's very easily testable with my current knowledge and understanding of networking. It's easy

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread PGNet Dev
Actually I would appreciate advice on how to do this on an internal environment. google's your friend on this one https://www.google.com/search?q=postfix+docker+testing first link,

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Wietse Venema
Samer Afach: > Actually I would appreciate advice on how to do this on an internal > environment. Is there a way to do this, like tools? The challenge is > that I need an external email client to check IP addresses through the > proxy, do the TLS communication, etc. My plan is to completely cut

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Samer Afach
Actually I would appreciate advice on how to do this on an internal environment. Is there a way to do this, like tools? The challenge is that I need an external email client to check IP addresses through the proxy, do the TLS communication, etc. My plan is to completely cut off relaying by

Re: Spammer succeeded in relaying through my server

2022-12-22 Thread Wietse Venema
It's good that you're willing to learn, but perhaps you can do some experiments on a "internal" environment before exposing it to the full internet. Wietse

Re: "Delayed Mail" notification

2022-12-22 Thread Wietse Venema
Fourhundred Thecat: > Hello, > > when I receive "Delayed Mail" notification, the message only has the > header of the original email. > > Is it possible to have the full email body included in the notification > message, so that I can see which email has not been delivered? > > I am dealing

"Delayed Mail" notification

2022-12-22 Thread Fourhundred Thecat
Hello, when I receive "Delayed Mail" notification, the message only has the header of the original email. Is it possible to have the full email body included in the notification message, so that I can see which email has not been delivered? I am dealing with a remote mail server, which uses