Configure SMTP Server to send mails through different other SMTPs [closed]

i’m tring to install a smtp server which uses randomly other smtp-servers to send emails. Here is an example setup:

if a email is send using smtp1.domain.de the smtp server will look in a list or something and select one of the smtps provided there with domain email and password. For example:

smtp2.domain.de smtp3.domain.de

It would be nice if the select process is scriptable with python or something or may be completly random.

Thanks for your help.

How do I configure the Calculator web service sample code in netbeans to use x509 certificates for authentication?

I have successfully followed the steps outlined here: https://netbeans.org/kb/docs/websvc/jax-ws.html

Everything works correctly (i.e. I can run a client jar file from terminal and have it send two numbers to add; the calculator web service receives them and returns the correct sum in the SOAP response).

I now wish to add authentication using x509 certificates, but I am unable to find specific documentation on how to do so. The closest link I found is a secure calculator here:

https://netbeans.org/kb/docs/websvc/wsit.html#Exercise_2_2

But this appears to be using “Username Authentication with Symmetric Keys”, which is not what I am looking for.

I am looking for the calculator client to send its x509 certificate over to the calculator web service. The calculator web service authenticates the x509 certificate it just received from the client. If authentication is successful, it will proceed to add the two numbers sent by the client. Otherwise it returns “invalid cert”.

This seems like a simple thing to do, but I am not able to find any documentation or a sample netbeans project that does this.

This website seems promising: https://docs.oracle.com/cd/E17802_01/webservices/webservices/reference/tutorials/wsit/doc/WSIT_Security9.html#wp162511

Specifically the Example: Mutual Certificates Security (MCS) . However, when I get to the step in the “Securing the Example Web Service Client Application (MCS) section that says:

Select the WSIT Configuration tab of the CalculatorWSService dialog.

Netbeans does not have a WSIT Configuration tab. So this appears to be outdated since I am running Netbeans 8.2.

Would appreciate all / any help from the community.

How to configure a VM to protect all my hardware fingerprint from guest OS and softwares?

This question was originally Does Firefox in VM have a common enough fingerprint so I don’t need tor browser? in Tor community.

I want to know about what a web browser’s fingerprint like in a VM, if VM runs a common OS and have default system settings. Can VM be configured to not have any of host machine’s fingerprint?

(Here I just want to ask about fingerprint, ignoring IP addresses, web scripts and tracking cookies)

Here the VM software we discuss would better be FOSS, like Virtualbox or qemu.

That question could be on not just web browser, but also other kind of softwares.

How do I configure Azure Web Apps so that the only access is via CloudFlare?

I have a Web Apps (Linux) application on Azure, and I added a custom domain which I have protected with CloudFlare.

I added Azure Security Center to my subscription.

At the moment one can access the application either

  1. directly via example.azurewebsites.net or
  2. via www.example.com which is protected by CloudFlare

How do I configure the Azure portal so that the only access to my web application is via CloudFlare?

One idea I had is to add an Azure Firewall, and set it to white list the CloudFlare IP Addresses, but I wondered if there is an easier way (and anyway I am not sure how to configure it)

Configure a Google Analytics filter for blog posts when URLs are mixed with other content

I have a WordPress site with a blog section but also a lot of other content, that is not directly related to the blog. Now I want to use Google Analytics and only see the blog traffic, meaning users that click on blog posts.

I know there are ways to filter this, if the blog posts reside in a subfolder, like example.com/blog/my-blog-post, but on my site the link structure doesn’t have that. It’s like this: example.com/my-blog-post

What would be a good way to filter that traffic in Google Analytics? It should also work for any future published posts. I have the Google Tag Manager connected, maybe that might provide a viable option?

How to configure sharepoint search for specific lists etc

I have a requirement where they just want sharepoint search to return results from specific lists etc..(and some specific content only compared to the OOTB search result that returns everything)

Some of my ideas below

  1. I was thinking configure out of the box search and setup some scope with specific result source and then use the webpart to display the search result. is this ideal?

  2. use Search API. Will this require a lot of using scripts etc..

    Anyone done something similar and if yes any tips or ideas would be appreciated

How can I configure static IP on ubuntu server 18.04

Have 2 Ubuntu Servers. Tried to configure static IP on both of them. Server 1 everything is working file. Server 2 giving error:

/etc/netplan/50-cloud-init.yaml:10:18: Invalid YAML: inconsistent
indentation:
dhcp4: false
^

file /etc/netplan/50-cloud-init.yaml:

network:
ethernets:
eno1:
addresses:[10.0.0.2/24]
dhcp4: false
gateway4: 10.0.0.1
nameservers:
addresses: [8.8.8.8,1.1.1.1]
version: 2

Error “nothing to be done for x86_64_def” when trying to configure kernel

I am learning device drivers development from the book by John Madieu. The book tells me to enter in the command “make x86_64_def” to configure the kernel, but when I enter that in to the terminal, an error message shows, saying “nothing to be done for x86_64_def”. The “x86_64_def” file is located in linux/arch/x86/config

How to configure MySQL Router on two application servers?

I have three MySQL servers running with group replication and inside a InnoDB Cluster. I have two app servers that will be connecting to the cluster and I need to configure mysql router on both app servers. When I run router on server1 I use the –bootstrap option. When I try to do it on server2 with –bootstrap I get an error “a router instance named has been previously configured on this host”. My question is do I need to start mysql router with –bootstrap option? Or since it will be configured on two servers –bootstrap option is not required? Do I need to start mysql router with a personalized conf file?

Configure App using CSOM c#

I am able to install/deploy an app to a sharepoint site using the code below

var appManager = new AppManager(context); var apps = appManager.GetAvailable(); var foundApp = apps.Where(a => a.Id == FeatureId).FirstOrDefault(); var installAppAsync = await appManager.InstallAsync(foundApp); 

However, one particular app needs to be tied to a specific document library when added to a site, how can I specify these parameters when installing the app?