Koozali.org: home of the SME Server

mail from one client does not arrive

Offline Mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
mail from one client does not arrive
« on: August 02, 2019, 12:39:54 AM »
We are running SME 9.2, with updates and contribs. There is one client whose email is not arriving to our server. I cannot find any evidence of a rejection in the logs. They are receiving email from us, and we can receive email from them using a gmail account. We are sending and receiving lots of email to and from others.

On the sender's end, they are getting a bounce message saying the email could not be delivered. Not other information is provided. No rejection header, for example. The sender uses a Windows based email server but I don't know the name of it.

Finally, this began recently, say in the past seven days. We have receiving email from them for years.

What might cause a single domain to be blocked?
- Mark

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: mail from one client does not arrive
« Reply #1 on: August 02, 2019, 01:53:54 AM »
Mophilly

Quote
What might cause a single domain to be blocked?

Is it a domain that is being blocked or only a single email address ?
Try sending from different email addresses at the same domain.
Care to tell us what the domain name is ?

You could check the sme server end by following tips in this thread
https://forums.contribs.org/index.php/topic,54028.0.html
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Re: mail from one client does not arrive
« Reply #2 on: August 02, 2019, 02:14:05 AM »
There are at least three senders from the domain that report bounce messages. I have checked the domain name and ip addresses at mxtoolbox.com. That services reports that the name and addresses are working and not blacklisted.

I don't mind sharing the domain name privately, but I would rather not post it here just in case the client is sensitive about it.
- Mark

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: mail from one client does not arrive
« Reply #3 on: August 02, 2019, 03:56:57 AM »
Mophilly

Time to monitor the log entries on sme server while a message is sent from other domain.. See other post for details re tail command.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: mail from one client does not arrive
« Reply #4 on: August 03, 2019, 08:11:59 AM »
Mophilly

Try this & see what it shows:

For rejection you better start by looking in:

/var/log/qpsmtpd/current

Try:

tail -f /var/log/qpsmtpd/current

Watch a mail come in and then you should see why it is getting blocked.
« Last Edit: August 06, 2019, 02:33:41 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Re: mail from one client does not arrive
« Reply #5 on: August 04, 2019, 07:22:11 PM »
Thank you for the suggestion and the log file path. I have checked a number of logs including qpsmtpd, looking for entries around the time the emails were sent. So far, I cannot find anything out of the ordinary. I sent a note to those involved and asked that they try to connect to my mail via telnet or ssh acting as a telnet agent to smtp.mydomain on port 25 to see if it connects at all.

- Mark

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: mail from one client does not arrive
« Reply #6 on: August 05, 2019, 02:35:04 AM »
Mophilly

Rather than just reading existing log files, you need to monitor in real time.

At a console (can be an ssh session) run the command

tail -f /var/log/qpsmtpd/current

& continue to monitor the real time output on screen (eg console monitor or ssh session).

Then send an email from the problematic address(es) & watch the log file output on the screen.

If there is an issue with the email processing then you will see the information on screen in real time
eg rejection or whatever.
« Last Edit: August 06, 2019, 02:32:29 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Catton

  • *
  • 36
  • +0/-0
Re: mail from one client does not arrive
« Reply #7 on: August 05, 2019, 04:14:14 AM »
Hi Mophilly,
   I have done lots of this type of testing.
Some things that are helpful:
Do you have maillog turned on ? grep or search the maillog for other emails from the suspect domain.
(I often see spelling mistakes) get the bounce back emailed to you.
Have someone from the suspect domain email you on an outside email account yahoo,gmail etc. and look through the full headers for IP address etc. You can then grep /var/log/qpsmtpd/ for that IP.
Even more helpful if you can have the suspect domain email your SME while you tail -f /var/log/qpsmtpd/current .
check Firewall is not blocking that IP including geoip2, Xtables GeoIP.
Sometimes companies use outside services for billing etc. So the suspect email might not even be becoming from the suspect domain's main email server.

Offline Mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Re: mail from one client does not arrive
« Reply #8 on: August 05, 2019, 05:43:19 AM »
Thank you, Janet and Catton, I will arrange a cooperative test with my client and employ your suggestions.
- Mark

Offline Jean-Philippe Pialasse

  • *
  • 2,761
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: mail from one client does not arrive
« Reply #9 on: August 05, 2019, 01:30:51 PM »
I would suggest
tail -f

In place of

tailf


The reason is that tailf will fail/bug after a certain amount of data. We experienced that with John

Offline ReetP

  • *
  • 3,730
  • +5/-0
Re: mail from one client does not arrive
« Reply #10 on: August 06, 2019, 02:07:03 PM »
The reason is that tailf will fail/bug after a certain amount of data. We experienced that with John

Ahhh yes - I remember now. Bloody thing !!!
...
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 Peasant

  • *
  • 143
  • +2/-0
Re: mail from one client does not arrive
« Reply #11 on: August 06, 2019, 04:16:13 PM »
Do you have the Email whitelist/blacklist contrib installed? I had a similar problem with a client who had blacklisted a domain because of spam coming from it, and later on wondered why emails from said domain weren't getting through.
Jim

Offline Mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Re: mail from one client does not arrive
« Reply #12 on: August 06, 2019, 05:18:12 PM »
Thanks to everyone. I looked into each and every suggestion.

I did not get a chance to tail the log during a scheduled test because email began arriving from the client yesterday. My contact there wrote, "Not sure what happened our email filter reports show the emails were going out but,not able to connect to your email server. Hopefully this issue is resolved."

So, I am happy the email is flowing again and royally annoyed that I don't have a clue as to what caused and resolved the problem. Ah, well... Onward!
- Mark

Offline Jean-Philippe Pialasse

  • *
  • 2,761
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: mail from one client does not arrive
« Reply #13 on: August 07, 2019, 02:16:13 AM »
I have experienced some ITs using RHBLS as feed for their firewall. 
Result no connection at all. No traces.
Ping fails ...

Offline Mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Re: mail from one client does not arrive
« Reply #14 on: August 07, 2019, 06:14:44 AM »
I have experienced some ITs using RHBLS as feed for their firewall. 
Result no connection at all. No traces.
Ping fails ...

Eerie, in a way, that you mention this as it seems to fit so perfectly. I would love to see the logs from my client’s firewall.
- Mark