Re: [NON-HA] Re: Need help with response to HELO, 502 5.5.2 Error

2021-06-09 Thread Nick
On 2021-06-10 12:02 a.m., post...@ptld.com wrote: On 06-09-2021 11:45 pm, Apelin, Eulogio wrote: They all come back with 502. 5.5.2 Error: command not recognized I just tested it again using "ehlo myserver.com" in both upper and lower case and both work. You have not shown any settings but i

Re: Need help with response to HELO, 502 5.5.2 Error

2021-06-09 Thread Viktor Dukhovni
On Thu, Jun 10, 2021 at 02:59:02AM +, Apelin, Eulogio wrote: > I am testing my mail server setup, when telnetting to port 25, I receive this > interaction when I type 'helo myserver.com' > > 220 *** This banner typicall results

Re: Need help with response to HELO, 502 5.5.2 Error

2021-06-09 Thread Nick
Hi! On 2021-06-09 10:59 p.m., Apelin, Eulogio wrote: > > The client that gets the 220 response with ** in the > banner, is connecting like this: Those stars remind me of that (crappy) Cisco Pix SMTP protocol fixup. This does disable ESTMP commands like EHLO but I am surprise

Re: [NON-HA] Re: Need help with response to HELO, 502 5.5.2 Error

2021-06-09 Thread postfix
On 06-09-2021 11:45 pm, Apelin, Eulogio wrote: All these commands do not work: ehlo helo HELO EHLO HELO myserver.com EHLO myserver.com They all come back with 502. 5.5.2 Error: command not recognized I just tested it again using "ehlo myserver.com" in both upper and lower case and both work. Y

RE: [NON-HA] Re: Need help with response to HELO, 502 5.5.2 Error

2021-06-09 Thread Apelin, Eulogio
All these commands do not work: ehlo helo HELO EHLO HELO myserver.com EHLO myserver.com They all come back with 502. 5.5.2 Error: command not recognized -Original Message- From: owner-postfix-us...@postfix.org On Behalf Of post...@ptld.com Sent: Wednesday, June 9, 2021 5:36 PM To: postf

Re: Need help with response to HELO, 502 5.5.2 Error

2021-06-09 Thread postfix
On 06-09-2021 10:59 pm, Apelin, Eulogio wrote: I am testing my mail server setup, when telnetting to port 25, I receive this interaction when I type 'helo myserver.com' 220 *** helo myserver.com 502 5.5.2 Error: command not recog

Need help with response to HELO, 502 5.5.2 Error

2021-06-09 Thread Apelin, Eulogio
I am testing my mail server setup, when telnetting to port 25, I receive this interaction when I type 'helo myserver.com' 220 *** helo myserver.com 502 5.5.2 Error: command not recognized Connection to host lost. 1. The client

Re: check_recipient_mx_access issues. Don't know how to fix this

2021-06-09 Thread Viktor Dukhovni
On Wed, Jun 09, 2021 at 09:06:52PM -0500, Russell Jones wrote: > Another idea, is it possible to have postfix not use the virtual user table > / not rewrite the email address if the mail is being relayed? That would > allow mailjet to just send the email back and have it get delivered > normally.

Re: check_recipient_mx_access issues. Don't know how to fix this

2021-06-09 Thread Russell Jones
Thanks for the advice! I'll need to wrap my head around this... Another idea, is it possible to have postfix not use the virtual user table / not rewrite the email address if the mail is being relayed? That would allow mailjet to just send the email back and have it get delivered normally. On Wed

Re: check_recipient_mx_access issues. Don't know how to fix this

2021-06-09 Thread Viktor Dukhovni
On Wed, Jun 09, 2021 at 07:20:43PM -0500, Russell Jones wrote: > I have check_recipient_mx_access setup to route mail for certain providers > through a relay. This has been working well, until I discovered it is > breaking delivery to local users that get CC'd in an email that is being > routed th

check_recipient_mx_access issues. Don't know how to fix this

2021-06-09 Thread Russell Jones
Hi all, I have check_recipient_mx_access setup to route mail for certain providers through a relay. This has been working well, until I discovered it is breaking delivery to local users that get CC'd in an email that is being routed through this relay. Here is how I have it setup: smtpd_recipien

Re: change postscreen error code from 4xx to 5xx

2021-06-09 Thread Francesc Peñalvez
Thanks Wietse El 8/6/2021 a les 15:18, Wietse Venema ha escrit: > Francesc Pe?alvez: >> The question may have been answered, but I don't see it. Is there a way >> to change the 4xx error from postscreen to error 5xx so that it doesn't >> retry to send the mail blocked by dnsbl > There is no '4xx'

Re: Delivery status notification spam

2021-06-09 Thread Steffen Nurpmeso
Wietse Venema wrote in <4g0fnm4hyszj...@spike.porcupine.org>: |Steffen Nurpmeso: |> Ciao from Germany to the big Apple! |> (Or maybe .. peanuts?? Or Sunflower seeds? :) | |All of the above? I haven't been in the city for more than a year, Oh .. yes. And potatoes! Potatoes are good. |bu

Re: Delivery status notification spam

2021-06-09 Thread Wietse Venema
Steffen Nurpmeso: > Ciao from Germany to the big Apple! > (Or maybe .. peanuts?? Or Sunflower seeds? :) All of the above? I haven't been in the city for more than a year, but things are very slowly returning to normal in the Northeast US with vaccination levels around 70 percent. Wietse

Re: Delivery status notification spam

2021-06-09 Thread Steffen Nurpmeso
Wietse Venema wrote in <4g0bbj3dlnzj...@spike.porcupine.org>: |Steffen Nurpmeso: |>|Then Postfix sends a delivery status notification. |... |>|Again, Postfix opens the mailbox file, does an lseek() to the end |>|of the file, writes the message, flushes the output with fsync(), |>|and closes

Re: Delivery status notification spam

2021-06-09 Thread Wietse Venema
Steffen Nurpmeso: > |Then Postfix sends a delivery status notification. ... > |Again, Postfix opens the mailbox file, does an lseek() to the end > |of the file, writes the message, flushes the output with fsync(), > |and closes the mailbox file before claiming successful delivery. > | > |As f

Re: Delivery status notification spam

2021-06-09 Thread Steffen Nurpmeso
Steffen Nurpmeso wrote in <20210609165007.rc_ih%stef...@sdaoden.eu>: ... ||> Jun 9 01:38:06 postfix/smtpd[17007]: B713116056: client=unknown[45.13\ ||> 7\ ||> .22.84] | ... ||> status=sent (delivered to mailbox) || ||Postfix delivers an email message with message-id ||<2021060816

Re: Delivery status notification spam

2021-06-09 Thread Steffen Nurpmeso
Hello. That was fast, thanks. Wietse Venema wrote in <4g0wjn1gdwzj...@spike.porcupine.org>: |Steffen Nurpmeso: |> Jun 9 01:38:06 postfix/smtpd[17007]: B713116056: client=unknown[45.137\ |> .22.84] ... |> status=sent (delivered to mailbox) | |Postfix delivers an email message with m

Re: Delivery status notification spam

2021-06-09 Thread Viktor Dukhovni
On Wed, Jun 09, 2021 at 11:48:45AM -0400, Wietse Venema wrote: > > Jun 9 01:38:07 postfix/local[17012]: B713116056: > > to=, relay=local, delay=2.1, delays=1.3/0.01/0/0.83, > > dsn=2.0.0, status=sent (delivered to mailbox) > > Postfix opens the mailbox file, does an lseek() to the end of the

Re: Delivery status notification spam

2021-06-09 Thread Wietse Venema
Steffen Nurpmeso: > Jun 9 01:38:06 postfix/smtpd[17007]: B713116056: > client=unknown[45.137.22.84] > Jun 9 01:38:06 postfix/cleanup[17011]: B713116056: > message-id=<20210608163805.e242f6fe5d7ac...@sdaoden.eu> > Jun 9 01:38:06 postfix/qmgr[2581]: B713116056: from=, > size=2828, nrcpt=1

Delivery status notification spam

2021-06-09 Thread Steffen Nurpmeso
Hello. For a month or so i struggle with occasional such reports, as below. The log of the last is like Jun 9 01:38:05 postfix/smtpd[17007]: warning: hostname hosted-by.rootlayer.net does not resolve to address 45.137.22.84 Jun 9 01:38:05 postfix/smtpd[17007]: connect from unknown[45.137.

Looking for examples of separated MTA / MDA pairs

2021-06-09 Thread Dan White
I am trying to rebuild a very old and very neglected set of mail servers. The basic design has a mail relay (MTA) “out front” for incoming traffic (SMTP, I think) If the incoming message gets past amazes, spam assassin and clamp, it is then sent to another server “behind the front lines” that i

Re: FYI: Documentation Typo

2021-06-09 Thread Wietse Venema
post...@ptld.com: > I changed "silent_discard" to "silent-discard" in main.cf and it stopped > logging the CHUNKING messages. > > /etc/postfix/main.cf: > smtpd_discard_ehlo_keywords = chunking, silent-discard Updated the documentation (on the upstream mirror). Wietse