Questions tagged [mta]

Multiple Threaded Apartment of the Component Object Model (COM), as opposed to STA

MTA refers to the Multiple Threaded Apartment of Microsoft's Component Object Model (COM). Its opposite is the Single-Threaded Apartment (MTA), but there is also a Neutral Apartment.

Related tags:

References:

110 questions
1
vote
2 answers

sending email django with postfix (without an explicit postfix server)

I'd like to emulate the postfix sendmail command in Django where I don't need to explicitly start up a postfix server. For example if I simply enter the following on the command line: sendmail recipient@example.com my message body ^D This will send…
shreddd
  • 10,975
  • 9
  • 33
  • 34
1
vote
1 answer

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@domain-b.com> Any mail which is processed by postfix will…
Linus
  • 41
  • 1
  • 4
1
vote
2 answers

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 imap. The question is how do I obtain copy of sent…
ogbofjnr
  • 1,688
  • 5
  • 19
  • 41
1
vote
0 answers

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/qmgr[1861]: F1F8A3FF94: from=<>, size=41644, nrcpt=1…
1
vote
1 answer

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) mode and the test was throwing the following…
Raajkumar
  • 857
  • 2
  • 13
  • 26
1
vote
1 answer

perl log parser for exim4 mta

im going to write log parser for exim4 MTA, and i have a couple of questions. (i know that there is an exilog program) Question: 1. what is better way to parse a line? (its abbout 5Gb of such lines :D ) ive got this $line: 2011-12-24 12:32:12…
MealstroM
  • 189
  • 1
  • 10
1
vote
1 answer

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…
Infinite_Loop
  • 380
  • 1
  • 7
  • 18
1
vote
0 answers

How to specify default MTA?

i'm trying to use the MAILTO function in crontab on my mybookworld (it's a nas) I've installed a rather unfamiliar(in think) MTA: esmtp With mutt(console based email client) it works perfectly. But in crontab there is no reaction(even if i'm using…
Simon Lenz
  • 2,732
  • 5
  • 33
  • 39
1
vote
0 answers

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, id=29937-07, quar+notif FAILED: mail_dispatch: no…
James B. Byrne
  • 1,048
  • 12
  • 27
1
vote
2 answers

Visual C++ GUI app stuck in MTA mode

I've got a C++ gui project exhibiting some strange behavior. On my machine, the code compiles and runs just fine. However, on another machine, The code compiles but ends up running in MTA somehow. Obviously, being in MTA causes all sorts of…
None
1
vote
1 answer

STA, MTA conflict warning Important?

I recently started writing a C++/CLI wrapper for a native c++ library. I'm now getting this compile warning "warning LNK4249: directive '/CLRTHREADATTRIBUTE:STA' conflicts with command line; ignored" My c++/cli wrapper is set up for MTA in the…
Ian
  • 4,169
  • 3
  • 37
  • 62
1
vote
3 answers

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 protected method named break(). How should you call…
1
vote
1 answer

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 2016 or Windows 10 (also possibly on other OS…
Greg Bray
  • 14,929
  • 12
  • 80
  • 104
1
vote
2 answers

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 Email to ~1,000 addresses. These mails are "send"…
1
vote
1 answer

MTA user controls in STA applications

My project has several hardware components that have to work together. I have as part of my project a BlackMagic Decklink video card which I have successfully accessed via the BlakcMagic SDK. I developed a user control in a separate project and now…