Koozali.org: home of the SME Server

UPS mails rejected - what can I do?

Offline leonp

  • **
  • 43
  • +0/-0
UPS mails rejected - what can I do?
« on: July 04, 2022, 01:24:00 PM »
Sorry to disturb you, people.
My SME10 server rejects mails from UPS. The qpsmtpd log file shows (times removed for convenience):
 25014 Accepted connection 0/40 from 212.199.66.34 / mail.ups.co.il
 25014 Connection from mail.ups.co.il [212.199.66.34]
 25014 (connect) earlytalker: pass, not spontaneous
 25014 (connect) relay: skip, no match
 25014 (connect) dnsbl: pass
 25014 220 extern.plris.com ESMTP
 25014 dispatching EHLO FORTIMAIL.ups.co.il
 25014 (ehlo) helo: karma -1 (-1)
 25014 (ehlo) helo: fail, NAUGHTY, no such host
 25014 250-plris.com Hi mail.ups.co.il [212.199.66.34]
 25014 250-PIPELINING
 25014 250-8BITMIME
 25014 250-SIZE 15000000
 25014 250 STARTTLS
 25014 dispatching STARTTLS
 25014 220 Go ahead with TLS
 25014 (unrecognized_command) tls: TLS setup returning
 25014 dispatching EHLO FORTIMAIL.ups.co.il
 25014 (ehlo) helo: karma -1 (-2)
 25014 (ehlo) helo: fail, NAUGHTY, no such host
 25014 250-plris.com Hi mail.ups.co.il [212.199.66.34]
 25014 250-PIPELINING
 25014 250-8BITMIME
 25014 250-SIZE 15000000
 25014 250 AUTH PLAIN LOGIN
 25014 dispatching MAIL From:<eladavn@ups.co.il> SIZE=532705
 25014 (mail) resolvable_fromhost: pass, ups.co.il has MX at mrelay.ups.co.il
 25014 (mail) rhsbl: pass
 25014 (mail) sender_permitted_from: karma 1 (-1)
 25014 (mail) sender_permitted_from: pass, ups.co.il: 212.199.66.34 is authorized to use 'eladavn@ups.co.il' in 'mfrom' identity (mechanism 'ip4:212.199.66.32/27' matched)
 25014 (mail) naughty: disconnecting
 25014 (deny) logging::logterse: ` 212.199.66.34   mail.ups.co.il   FORTIMAIL.ups.co.il         naughty   903   (helo) HELO hostname does not exist
 (helo) HELO hostname does not exist   msg denied before queued
 25014 deny mail from <eladavn@ups.co.il> ((helo) HELO hostname does not exist
 (helo) HELO hostname does not exist)
 25014 550-(helo) HELO hostname does not exist
 25014 550 (helo) HELO hostname does not exist
 25014 click, disconnecting
 1035 cleaning up after 25014

I will be very thankful for a hint how to repair this reliably as i am not in the position to ask UPS to resend the mail many times.
Need to note that *@ups.co.il is inserted in the whitelist.

THANKS!!!!!

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: UPS mails rejected - what can I do?
« Reply #1 on: July 04, 2022, 02:12:18 PM »
Install smeserver-wbl and create a whitelist entry for FORTIMAIL.ups.co.il

https://wiki.koozali.org/Email_Whitelist-Blacklist_Control


Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: UPS mails rejected - what can I do?
« Reply #2 on: July 04, 2022, 03:47:31 PM »
Also note:

https://wiki.koozali.org/Qpsmtpd:helo

Bug to modify default helo setting to lenient

https://bugs.koozali.org/show_bug.cgi?id=11864 (not released yet AFAIAA)

You can see the current setting here:

Code: [Select]
grep helo /var/service/qpsmtpd/config/peers/0
helo policy rfc reject naughty

You can change the setting with:

Code: [Select]
config setprop qpsmtpd HeloPolicy lenient
Code: [Select]
signal-event email-update
or console-save
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,743
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: UPS mails rejected - what can I do?
« Reply #3 on: July 04, 2022, 04:22:56 PM »
we should release that one.