111 questions
1
vote
0
answers
30
views
Change Backend URL based on Deployment Space in React UI - MTA
We are using React for our UI project and backend is in Spring Boot.
We are trying to deploy our application in canary landscape in 4 different cf spaces, say, dev, test, e2e, and demo.
We are using ...
0
votes
0
answers
15
views
Which mta should we prefer for sending mails?
We want to be able to send e-mails using SMTP at certain planned time or after certain activities however we do not want to rely on any service such as gmail, amazon, sendgrid. Which MTA would you ...
0
votes
0
answers
94
views
I encountered an error when trying to import redhat's Product Documentation for Migration Toolkit for Applications 6.2 in eclipse
I followed the installation steps on the website below, but encountered an error exception when executing the seventh step. I would like to ask if I did something wrong somewhere.
●website
https://...
0
votes
1
answer
33
views
Mta account char limit
In our Multi Theft Auto server, we want to give each player permission to create one character in the account creation part. We couldn't find any errors in the code we shared. In our SQL table, "...
0
votes
0
answers
32
views
I want to change the hud to the top right corner and have no problem with other resolutions
I would like to place the hud in the top corner and on the right, and that there would be no problem with other resolutions
local circleScale, sizeStroke = 50, 3
local iconScale = 25
local circleLeft, ...
5
votes
1
answer
162
views
If a thread has to be STA in Windows, will it work in Linux or MacOS?
Recently I was upgrading a library to use .NET 6 and .NET 7, and there was some code that was setting the apartment state to STA, but I found out that setting the apartment state is a Windows only ...
1
vote
0
answers
107
views
How to make MTA:SA register pyautogui keystrokes
So, the only problem I have is MTA not registering key presses made by pyautogui, what's worse, it registeres when I'm not in any server, it stops working as soon as I join a server.
I tried different ...
0
votes
0
answers
66
views
Cron job sends output for shell scripts but no for mysqldumps - Via Nullmailer
I currently have two cron jobs in a server. One for a shell scrpit and another for a mysqldump.
Example:
43 16 * * * /var/backups_scripts/backups
46 16 * * * /usr/bin/mysqldump --login-path=bds-server ...
0
votes
0
answers
280
views
Postfix: Python Milter not able to change email header
I have some servers that create automated emails which all pass through a Postfix MTA. The software that generates the email does not strictly follow RFCs, and sometimes generates emails with ...
1
vote
1
answer
2k
views
Postfix header_checks replace multiple occurrences inside References header
In postfix header_checks can be used to replace any header. This works for example perfectly for the Message-Id header.
Example:
/Message-Id:\s+<(.*?)@domain-a.com>/ REPLACE Message-Id: <$1@...
0
votes
0
answers
110
views
Problem Executing Python in cron to email IDS logs (No MTA installed, discarding output)
I am a novice Python/Linux enthusiast running Suricata on a Linux VM and am trying to execute a Python script to email myself the fast.log logs every morning.
What I first want to happen is a list of ...
1
vote
2
answers
1k
views
How to upload copy of sent with smtp email
I use go-mail library to send emails with smtp. But I faced common issue that sent emails won't appear in sent folder. Googling I found that the only way to solve it is to upload sent email though ...
1
vote
0
answers
680
views
Postfix server is sending non-delivery notifications with a blank "from" address
I have a Postfix 3.1.0 MTA that sends non-delivery notifications with a blank "from" address, like so:
postfix/bounce[58637]: B85763E70B: sender non-delivery notification: F1F8A3FF94
postfix/...
0
votes
1
answer
1k
views
What is STA/MTA vs apartments/free threads vs UI threads/worker threads? Why the name changes?
I am reading Inside COM by Dale Rogerson, and it uses the terms apartment threads and free threads to describe the different types of COM threads.
He also clarifies that these correspond directly to ...
-5
votes
1
answer
49
views
Which of the following SQL statement should you use? [closed]
I am brand new to C# and to stackoverflow. I am reviewing questions that I got wrong on a prep test for my MTA certification. Can anyone help me understand what the correct answer is and why? Thank ...
8
votes
3
answers
28k
views
What is the MIME type of .eml files in emails
I want to attach a MTA report (not delivered bounce mail) to an email, but what is the correct MIME type?
I fetch the full body of the MTA report with
$body = imap_fetchbody($this->Mailbox->...
-1
votes
1
answer
1k
views
Mta application failing to deploy with conflict error
I had deployed the app last on friday and it got deployed successfully.But since, today morning the deployment is not happening at all.It is checking for conflicting process and failing.
I'm doing ...
0
votes
0
answers
109
views
fetchmail /bin/sh: 0: Can't open date
I was running this from bash shell :
fetchmail -vk
it says in the log
/bin/sh: 0: Can't open date
..and terminated.
1
vote
1
answer
1k
views
VS 2019 Running MSTest in MTA
We have a legacy application with ThreadPool and WaitHandle. We wanted to write Unit-Tests using MSTest against it. We ran into a problem where by default MSTest runs in STA (Single Thread Apartment) ...
0
votes
1
answer
287
views
#MTASA Server Error: Attempt to index a nil value
I really don't know what is wrong here. This is the error I am getting:
s_interior_admin.lua:944: attempt to index local 'interiors'
And here is my code:
local interiors = exports["official-...
1
vote
1
answer
963
views
Pulling Mimecast Logs with Python
I am hoping someone has gone through this and hopefully has a working Python script. I have been trying to pull MTA logs from Mimecast. So far, I have tried the
codes from the below websites:
https:/...
4
votes
2
answers
551
views
Why is Task.Delay breaking the STA state of the thread?
Introduction
This is a lengthy question! You will find some background on the problem at the beginning, then code samples, which have been simplified for representation and the Question after that. ...
-1
votes
1
answer
1k
views
COM thread apartments (STA, MTA) management in C# app process
I'm trying to understand C# thread apartments and have questions:
What exactly apartment is and what it contains?
The Apartment and the COM Threading Architecture
A process can have zero or more ...
0
votes
2
answers
471
views
How to access C++ COM Object in C# Background worker?
I am developing a common c# COM component (dll) which can be consumed by any COM client. As part of this I m exposing a outgoing interface called ICallback.The client which is using my dll will ...
0
votes
1
answer
483
views
How do I alter email headers using procmail?
We use JIRA Cloud for our ticketing system, which does not support using email aliases. Since we now have two domains in our system, with the second domain added as an alias in G Suite (same usernames ...
0
votes
0
answers
216
views
Sending messages to STA thread
I have read little bit about COM threading model: MTA and STA, for example this SO post:
Difference between MTA and STA
There we can read that to communicate with object within STA we need to pump ...
1
vote
0
answers
167
views
Amavisd error mail_dispatch: no recognized protocol name
OS: FreeBSD-11.1
Name: amavisd-new-2.11.0_2,1
We recently began getting these errors from amavisd reported in our maillog:
. . .
proxy-reject: END-OF-MESSAGE: 451 4.5.0 Error in processing,
...
3
votes
0
answers
395
views
Create sendmail/dovecot email alias username for logging in CENTOS LINUX
I currently use sendmail and dovecot as a email server
each user is also a username on the centos linux user accounts
/etc/mail/virtusertable will contain (john is an example user)
[email protected] ...
-1
votes
1
answer
216
views
Multi Theft Auto HTML Login
I have such a minor problem and I still can not solve it, so I turn around here
function myFunction() {
var checkbox = $.cookie('checkbox');
if (checkbox == 'true')
{
var ...
-2
votes
1
answer
1k
views
LUA|MTASA attempt to index field '?' (a nil value)
I have a problem with my lua script for an MTA Server. When I run the code, I get the following error:
attempt to index field '?' (a nil value)
Here's the code:
addEvent("bank:transfer", true)
...
0
votes
1
answer
440
views
How to change powershell "pwsh" to STA ApartmentState
I'm trying to port some scripts from poweshell 5.0 to the new pwsh powershell 6 and i've noticed that there is no -sta parameter anymore. How can I set the ApartmentState of pwsh? I can;t find ...
15
votes
4
answers
6k
views
Set ApartmentState for async void main
I have a Windows Forms app.
Now I want to use an async method.
Since C# 7.1 I can use an async Main method:
https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-7-1
However, now my ...
0
votes
0
answers
230
views
Method call on a STA COM component is hung
we have an .NET application which uses a COM dll, the ThreadingModel of this component is "Appartment"
The Application always hangs calling a COM interface method.
the DebugDiag analysis says the ...
-2
votes
1
answer
614
views
How to configure Send-Only mail server in Linux which will accept and perform email delivery for multiple application/web servers in same network
I've one Web server, one Middleware server and one backend application server in same subnet/network. All these three servers needs to send notification alert emails to multiple email IDs like GMAIL, ...
0
votes
3
answers
1k
views
MTA & HTML Login & Remember Me
I'm trying to solve one HTML input bar so I can remember the MTA server
username and password
Login is available here: http://ru1n.eu/index.php?/topic/3-rel-login-panel/
and I found some javascript ...
3
votes
0
answers
211
views
Registration-Free COM not playing nice with single threaded objects. Activation context dropped during marshaling
I'm working on integrating a COM/CLI based library into a Java based application through JNI (yeah, it's a bit of a mess). For the most part it's working, but I've hit a bit of a snag when it comes ...
0
votes
3
answers
97
views
Getting value from nested JSON
I am attempting to parse through the following JSON data and console.log all the times for stop_ids of a specific value. So when I would select the stop ID "L26S", the console would log each instance ...
1
vote
3
answers
1k
views
C# Inheritance Discussion from MTA
A question on a C# MTA exam I've done recently that has caused a large amount of discussion:
You have a class named Glass that inherits from a base class named Window. The Window class includes a ...
1
vote
1
answer
1k
views
CoInitializeEx(COINIT_MULTITHREADED) and Goroutines using WMI
We have a monitoring agent written in Go that uses a number of goroutines to gather system metrics from WMI. We recently discovered the program was leaking memory when the go binary is run on Server ...
3
votes
1
answer
2k
views
How to understand MTA's real-time gtfs data feeds
So far I've filled out the MTA online registration form for a Developer's API Key. Then in my android project, I implemented the gtfs realtime bindings dependecy from one of Google's github ...
2
votes
1
answer
591
views
Calling STA COM object from WebApi
Is C#'s Runtime Callable Wrapper around a STA remote application type library safe (from the thread model and apartments perspective) to be called from a MTA thread context (.Net WebApi request)?
...
0
votes
1
answer
558
views
Visual Studio 2015: Run tests using MSTest in a Multi Threaded Apartment
I cannot find a way to do this for MSTest in Visual Studio 2015. How do you specify the apartment state to be MTA for all running tests?
-1
votes
1
answer
2k
views
How to apply anvil ratelimit on postfix mynetworks host?
We are using Postfix MTA as smarthost relay for our application servers. We are maintaining the access through "Mynetworks". We have list of IP addresses which are map to "Mynetworks".
Now days we ...
-1
votes
1
answer
105
views
public/private key cryptography ( MTA Mobility )
I have a question in MTA (Microsoft Technology Associate) Mobility and I want the answer to it please
The Question :
a client/server application is designed to use public/private key cryptography ...
0
votes
0
answers
126
views
MTA and TPL in .Net
I have a two fold question.
1.) I am using a third party library to build an application and it is all based in .NET so I am forced to use this(I usually develop in native C++). One of the methods ...
-1
votes
1
answer
523
views
Need help getting access to Clipboard to work from MTA application
I just am changing a GUI application from STAThread to MTAThread as it does some parallel background work. Now I encountered the issue of accessing the Clipboard from within a MTAThread application.
...
0
votes
2
answers
4k
views
Dovecot Object Storage Plugin [closed]
I know this isn't a very technical question; but where can I find the high-latency object storage addon for amazon s3? The official Open-Xchange site link gives a 404 to the 'Dovecot Store'.
I've ...
0
votes
1
answer
3k
views
postfix: automatically save emails as eml or msg in a separate folder
For my business activity I have a very simple Debian + Postfix + Dovecot mail server.
Mails are saved under /var/mail/ in an MBox file.
procmail is not installed.
For spam filtering I have a mail ...
0
votes
1
answer
667
views
Who is responsible for storing emails to the filesystem IMAP or SMTP?
I was studying about MTA and came through SMTP & IMAP, and read that SMTP is responsible for delivering email across the servers, and client uses IMAP/POP3 to read the emails from server.
So IMAP/...
1
vote
2
answers
183
views
PHP + Postfix MTA: Do NOT use TLS
I've installed Postfix and PHP on one of my servers (Debian)
TLS in Postfix' configuration is enabled:
smtp_use_tls = yes
smtp_tls_security_level = may
Regularly I need to send out a newsletter ...