In the FIX transport implementation, If synapse acts as an initiator, it first sends logon message to the acceptor..If the acceptor requires username/password for logon message, is there a way to provide that configuration in initiator.cfg file?
In the logon message it has two tags for username and password. So, acceptor might require these fields for logon purpose.
You can add fields to the cfg file if you wish but quickfix will not automatically read them and put them into the logon message as it does with things like TargetCompID. The result is you need to read them and add them in toAdmin.
Personally I have another config file anyway so I add usernames and password to that and add them to the message in toAdmin.
Related
I have to research the user reactions to an incoming phishing mail.
Therefore i'm trying to track if a user opened an e-mail. I'm using an Exchange Server and have complete access to the logfiles. I want to use the imap flags (/Seen, /Answered etc.) to get this information.
My problem is, that i can't connect my imap log to a message-id or something different unique identifier.
Here an example of the imap log
2019-07-26T19:01:47.641Z,000000000000001B,15,[fe80::1435:3fe7:d31e:230f%14]:1993,[fe80::1435:3fe7:d31e:230f%14]:22505,alicetracker,1,24,57,uid+fetch,fetch 2:* (FLAGS),"R=OK;Rows=1;UidValidity=14;UidNext=2;ActivityContextData=Dbl:BudgUse.T[]=0.945299983024597;Budget=""Owner:Sid~S-1-5-21-2443813523-3910580689-2609561915-1147~Imap~false,Conn:1,MaxConn:Unlimited,MaxBurst:3600000,Balance:3600000,Cutoff:Unlimited,RechargeRate:600000,Policy:GlobalThrottlingPolicy_6ead7ca9-720e-4f9c-8a7c-eaaf9fd5866e,IsServiceAccount:False,LiveTime:00:07:08.8466978""",
Is there any way to manipulate the Exchange-Server that i can use the imap-logs for that issue?
Thanks!
I am using WPS, a diluted version of SAS, and I cannot send emails through the SMTP server using the normal (and fairly well documented) config flags.
I keep receiving the error message:
SSL exception: Could not initialise security context [80090322]
Having found some forum posts, the description for this issue is that the SMTP server is expecting authentication using a certificate. When I mentioned this to the IT team, nothing came from it. Having used SAS for a significant period, you would normally and quite simply apply some very basic information into the config file (see below).
I've been given the admin username and password, I've used an array of different ports, but still the same error message persists.
Does anyone have any ideas on how to make SAS/WPS connect to a secure SMTP? Config file is:
-emailsys SMTP
-emailhost 10.0.x.x
-emailport 23 (Port 23 was opened for my use, we are not able to use port 25).
The error message persists even if I force the credentials via -emailid and -emailpw.
Thanks in advance,
Dan
The fix for this is to utilise a fully qualified domain name, rather than an IP address or other method.
I know this is very old, but I had a really bad time trying to figure this same problem out and I'd like to post my solution here for people who might need it in the future.
Basically, this problem happens because SAS/WPS is trying to validate the certificate he has gotten from the smtp server when trying to interact with it (ie.: send an e-mail).
There are 2 solutions:
You can define the location were the trusted certificators are stored for the system to validate it.
You can define the server option TLS_HOSTVALIDATION to NONE by doing something like OPTIONS TLS_HOSTVALIDATION=NONE
I hope this helps.
I need to send via agent some emails and I want to track the responses to these emails with an agent on the mailbox of the user.
Is there any field I can use to set/read to achieve this?
The flow:
1) the user create a document in a database (on the web);
2) the WebQuerySave agent creates the email, saves it in a mail-in db and sends it to the recipient;
3) the recipent sends a reply;
4) an agent on the mail-in db should read this reply and write some data back to the original document made by the user... and that's what I'm trying to do and I can't rely on the subject because it's all on the final users hands...
Is there any way I can do it?
Thanks for any advice.
Since you are dealing with outside recipients and can't control the software that they use or how they use it, it is going to be difficult to handle 100% of cases. You are going to need to build a mechanism into your solution for marking exception cases where automatic matching fails so that someone can handle them manually.
That said, you can set a special flag in your outgoing mail. Assuming that your webQuerySave agent uses mailDoc as the object name for the NotesDocument that it is going to mail, just do this:
mailDoc.ReplaceItemValue("mySpecialFlag",evaluate("#unique"))
In order to get this value to go out in the email, you are going to have to make sure that the Domino server that performs the conversion from Notes format to SMTP is configured with the outbound MIME option to "send Notes private items", which is described here. This will create a custom x-notes-item header in the outbound message, and as long as the receiving email system preserves it and copies it into the end-user's reply message, that header will be received back by Domino and converted into an ordinary NotesItem that your agent in the mail-in database can look for. I think that most ordinary mail software will preserve this header for you in replies, but you will need to be handle cases where the haeder doesn't come back either because the outside mail system's software doesn't preserve it or because the user creates a new message and copies the old one into it instead of doing a normal reply.
Im using Strophe attach method to connect to ejabberd (2.1.6) with external authentication. Everything works fine after attaching, but when I'm trying to send a message stanza to some user, that user does not recieve his message. Message stanza is stored in spool table in database. I don't know why the message isnt delivered directly to the user.
The only thing I see in ejabberd log is that after sending message ejabberd is testing user to whom I sent the message with external isuser call, and after that ejabberd reauthenticates me.
I don't know if that reauthentication is normal thing or there's something out there that I do wrong.
Do any of you had this type of problem before? If so, how did you managed to solve it?
Is it the sender that is getting reauthenticated? If so, it's possible that you're sending XML that is not well-formed, and the server is disconnecting you.
It appears that there was a problem with my app and htaccess file which sent all requests to index.php if the resource was not a directory or a file, which caused my app to once again run GET request if there was an image that did not exist on server, but was included in html.
And because I was connecting to ejabberd on every request (except for ajax) reauthentication was taking place.
Than you for your interest.
Just using the standard cfmail tag, is there a way we can confirm that the email has been sent?
I tried cftry/cfcatch but that only confirms that there were no errors in processing the tag, if I put in an invalid mail server, it passes (but mail obviously doesnt send)
One hackish way, if do not have access to the logs, is to bcc an alternate address.
If it is not in the spool folder, and not in the error log, it has been sent.
see: Using ColdFusion with mail servers
You can always write a routine to check the mail log. That requires you to have access to the log files.
If you turn off spooling the messages to disk, they'll attempt to be sent immediately. Then you can trap with try/catch which should let you log any SMTP errors. If you don't get an error then you are reasonably assured that the message was sent successfully.
This may have negative ramifications for performance under load. It will also negatively impact the user experience as the user will be waiting for the SMTP negotiation that usually takes place in the background. You might then consider using CFTHREAD, but then why not just use the native spooling?