SMTP – DATA: 500 Syntax error, command unrecognized

After sending a HTML e-mail to a mailing list of about 1500 recipients I am getting a few errors I can’t seem to solve.

The list is being delivered successfully to about 1400 recipients and there are no issues with the major e-mail providers. The errors are all from privately hosted domains.

The first one is:

500 Syntax error, command unrecognized

This happens on the DATA command to about 50 recipients. The second error is actually an empty response on the DATA command that affects about 30 recipients.

To get to the DATA command usually this would mean the address is ok and there are messages available if this is not the case. I’m pretty sure there is nothing wrong with the syntax of the e-mail especially as so many other recipients don’t report such an error.

Is this a case of bad reporting on behalf of the recipient, or is there something that can be done on our end?

The e-mail has the correct line lengths, the multi-part-boundaries are correct and the DATA command is ended with CRLF.CRLF. I’m not really aware of anything else I could do improve the syntax, below is the general format of what is being sent:

Return-path: <>
Subject: Subject 'Test' e-mail' test "5"
Message-Id: <>
Date: Thu, 9 Jul 2020 10:52:00 +0000
To: <>
From: Somwhere <>
Reply-To: <>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="multipart-boundary"

Content-Type: text/plain; encoding="UTF-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

This is a HTML e-mail


Content-Type: text/html; encoding="UTF-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

body {

<table height="100%" width="100%"  cellpadding="0" cellspacing="0" border="0">

unity – Can I record Unity3d video running app on a server and launching it via command line?

I’ve created a Unity3d environment world where user can upload via website, some elements (photo, audio..).

I want to host my Unity3d application on my server.

Running the app , a pre-configured Camera move on the world, and i Record that camera using a Unity3d plugin Video Capture Pro.

Is it possible, in your opinion, to Run via command line Unity3d application , and record video result ?


command line – taskkill /F doesn’t work

So I downloaded Avira, and there’s something that I wanted to uninstall in the folder. When I pressed [delete], it says that a program is running it. I tried taskkill /F /IM Avira.OptimizerHost.exe and I was in the administrator mode, but it still keeps running.

android – Getting error while run “sudo” command

[Following errors are showing while i run the “sudo” command…][1]

[1]:**strong text**

I’m using the kali-Net-Hunter on my rooted android phone but accidentally i deleted the “/usr/lib/sudo/” file and now i’m not able to run “sudo” command,
so i just to get that file back….

bootcamp doesn’t recognize windows partition to remove; also cannot install command line tools

The problem started when I tried to install the newest version of command line tools (11.5).

At the step where I was supposed to choose a disk to install command line tools, there was no Macintosh disk shown. It seems that the computer can’t access the disk.

Previously, I have installed a win 10 on Boot Camp. So I figured that might be the problem and tried to remove it using boot camp assistant. But boot camp returns a message saying

Boot Camp Assistant was unable to verify if the Windows partition
contains a Windows installation. This may be because BitLocker is
enabled on the partition. If so, disable BitLocker on the disk before
removing Boot Camp.

diskutil list reads:

    /dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *500.3 GB   disk0

   1:                        EFI EFI                     314.6 MB   disk0s1

   2:                 Apple_APFS Container disk1         361.0 GB   disk0s2

   3:       Microsoft Basic Data                         129.0 GB   disk0s3

/dev/disk1 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +361.0 GB   disk1

                                 Physical Store disk0s2

   1:                APFS Volume                         240.1 GB   disk1s1

   2:                APFS Volume                         60.6 MB    disk1s2

   3:                APFS Volume                         1.6 GB     disk1s3

   4:                APFS Volume                         2.1 GB     disk1s4

   5:                APFS Volume                         11.0 GB    disk1s5

/dev/disk2 (disk image):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:     Apple_partition_scheme                        +17.9 MB    disk2

   1:        Apple_partition_map                         32.3 KB    disk2s1

   2:                  Apple_HFS Flash Player            17.8 MB    disk2s2

Your help will be much appreciated. I would like to remove Windows 10 partition, merge the whole disk back together and install command line tools. Thanks.

command line – How can I share a saved search for

I’m using to debug an iPhone app that my team is building. I’ve customized my view of the events in Console by filtering to exclude noisy libraries, subsystems, and messages.

While I can copy and paste from the search bar inside and back into the same, I can’t seem to share this filter in a way that someone else can paste it into the Console app on their machine.

When I paste the contents of the search bar, I see the following:

message:Require cycle

There are two issues here.

  1. All but the first are excluded from my search, yet they appear as though they should be included.
  2. When attempting to paste this into Console’s search bar, it all runs together into one line, and doesn’t work.

Any suggestions?

P.S. I am also open to solutions using the Terminal. I found an old thread on which suggests one can use the syslog -C command to view these logs:

Unfortunately, that seems to be replaced by the log command now, and I don’t know where to start with that.

command line – want to zip folder and want unzip without parent directory not happend in ubunto

i have folder and file like this

x (folder)

x has 2 files and

now i am creating a zip with this command

cd /home/x/

ls and

sudo zip -r ./ .

it create a zip

when i extract this then it give a folder “zi” and in this folder “” and “”

but i don’t want zi folder

i want where ever i extract this folder it give me and not a folder

repmgr – Why got pending status when use createuser command with PostgreSQL?

Using PostgreSQL 10 on RHEL 7.7.

Start service and login to postgres user:

$ sudo su - postgres

Create a user

-bash-4.2$ createuser -s repmgr

It will pending and wait for a long time can’t stop.

Without error from terminal. What’s the reason?

event sourcing – What are the problems with command handlers returning data in CQRS?

This allows the client to update its representation of the affected resources, without having to perform a follow up query immediately

The catch is in the implication here. What you’re effectively saying is:

I have to fire one less request when I merge the two requests (i.e. the command and subsequent query) into one.

What you’re saying is not wrong, but you are violating the core tenet of CQRS, which it is literally named after: Command Query Responsibility Segregation.

You are correct that merging these two requests saves your frontend a small bit of overhead performance related to the firing and waiting for a second web request (but we can definitely argue about whether this overhead is significant or negligible, which I’ll get into in a bit).

If you’re dealing with a slow network connection, this difference can be non-negligible. e.g. I’ve developed 3G mobile software where network requests were minimized as much as possible due to spotty connections.

However, CQRS isn’t focused on optimizing the performance of the frontend, it’s focused on maintainability and scalability of the backend. This will also benefit the frontend, but in an indirect way. CQRS allows for scalability of your read store (since it is then separated from your write store), thus lowering the overall time of your second request; instead of preventing you from having to fire that second request.

I do want to point out here that for connections with no strict limitations, the cost of performing a second call is negligible and not reasonably spotted by an end user. If there is a noticeable lag due to a second request being fired, on a good connection, that actually suggests that your system should be scaled up (as the requests aren’t being handled in a reasonable time), which is what CQRS helps you with.
If this is the situation you find yourself in, then undoing the command/query segregation is effectively perpetuating your performance issues instead of improving them.

Do you have to use CQRS? Of course not. Just like any other principle or pattern, it exists to fix a particular problem. If the problem doesn’t exist in your scenario (or is not considered a problem), then the principle/pattern is not needed.

But your CQRS “variation” is actually undoing what is essentially the first and only commandment of CQRS: separating your data operations from your data queries.

Does that mean you shouldn’t do what you’re doing? No, not necessarily. But I wouldn’t call it CQRS anymore as it’s quite the opposite.

which possibly would return data from the out-of-date read model, since read models can be updated asynchronously

This is a cart-before-horse situation. If you don’t want to deal with the consequences of having your read store updated asynchronously, then don’t asynchronously update your read store.

It sounds facetious but it really is as simple as that. Asynchronicity has its upsides and its downsides (just like everything), and if you don’t want the downsides, then don’t do it.

Command history lost

Is there a way to know if someone (including system administrators) has deleted the bash commands history on purpose? (the history -r doesn’t seem to work)
And is there any way to recover that history?