OS:namePrefix.nameSuffix\private$\queueName
Will having a . (dot) present in the machine name have an issue when specifying the queue name?
This is not an MSMQ issue.
MSMQ uses standard name resolution to work out the IP address of the host machine.
If you can PING namePrefix.nameSuffix successfully, for example, then MSMQ will be able to send messages to it.
Why do you have a dot in your machine name anyway?
I wouldn't recommend it except to represent the domain name portion.
Cheers
John Breakwell
Related
This is the first time I am trying to understand Zimbra logs. I noticed that every action (like deletion of a mail, addition of an incoming mail etc.) is logged in the mailServer.log file. Since emails can also be deleted (from java code remotely), I wanted to know which IP the command came from. For example, for the below log line (taken from https://wiki.zimbra.com/wiki/Log_Files), what exactly is 'oip' (originating IP).
Is it the IP address of the server from where the command originated ? If yes, then we can find who remotely sent the command (delete/add/expunge etc.). Is that correct ?
2013-08-30 11:19:41,043 INFO [qtp2050551931-94:http://127.0.0.1:8080/service/soap/AuthRequest] [name=user1#example.com;oip=5.6.7.8;ua=zclient/8.0.4_GA_5737;] mbxmgr - Mailbox 3 account abcdef8f-1234-5678-9012-8abcdefe2658 LOADED
Thanks in advance.
Correct, it's the address of the client or, if you have one, the proxy that originated the request
You can log public IP following the steps in this wiki
https://wiki.zimbra.com/wiki/Log_Files#Logging_the_Originating_IP
I got a server that has 64 public IPv4 adresses. Is there any way to set default IP per user on Debian? I don't mean virtual server setup. Or if not, is there any console application to bind other application (that doesn't support IP binding nativly) to selected IP?
Best regards,
FlashT
you could use a crafty firewall that marks packages originating from processes owned by a given user and then rewrites packages accordingly, as described here.
Can anyone tell me how to get the machine name where the server is hosted
i know its IP address.
I know it can be sent from the server itself but still was curious about how it could be done from the Iphone.
Thnks in advance
Regards
Nitesh
I assume you're trying to do a reverse DNS lookup. There are some web-based services which you could use from an iPhone. For example: http://www.ipchecking.com/
However, if the IP address is being used by more than one server, this may not give you helpful results. It's also possible that the service you're looking for on the server could respond only to a name different than the one listed.
I am trying to avoid running through DNS servers to get an email message to an address on one of my hosted virtual accounts.
I know I can surround the IP address with square brackets but how do I designate the mailbox username for the (virtual) hosted account on the server?
In other words,
I have multiple domains hosted on a virtual server -- all sharing the same IP address
obviously, user#domain.com works fine
but how do I send to user#[123.456.78.90]
Is what I want to do, possible?
Thanks.
A virtual host needs a domain name in order to figure out what to do. You want to send it to an IP address instead of a domain name. Thus it is not going to work through normal methods. You might be able to specify a "default" domain if none match Otherwise, your only hope is to manually forge email. By this, I mean:
telnet 123.456.78.9 25
HELO myhostname.mydomain
MAIL From: <myemail#mydomain>
RCPT To: <user#domain.com>
DATA
From: myemail#mydomain
To: user#domain.com
Subject: Testing
This is a test
.
QUIT
What you want to do is possible, and even secure when using Cjdns IPs. Some clients (e.g. mutt) are "broken" and choke on raw ips as domain. (While technically broken, it is an uncommon use case - mutt is a good client.)
You'll need to tell your MTA to accept the raw ip. E.g. on sendmail, add
[123.456.78.9]
to /etc/mail/local-host-names
You'll also have to turn on accept_unresolvable_domains as sendmail doesn't seem to regard already resolved domains as "resolvable". (Other MTAs may require different tweaks.)
I use thunderbird to send to raw ips, and it works just fine. A friend uses claws-mail with no problems.
This question is in terms of a RESTful ROA (Resource-Oriented Architecture). A resource on the Web has a URL (or URI if you prefer), for instance http://myserver.com/me.jpg.
You can get a file on the local (Windows) machine like this: file:///C:/MyPictures/me.jpg. This is not exactly a "Universal" Resource Identifier; it doesn't work right if you try it on a different machine. On your machine this may be a picture of you instead of me.
Suppose I want to design an application where files can be copied to a web service. Other users on other machines can download them from the web service, but if you are using it from the original machine they are fetched from the local file system for speed.
Is there any concept of a URI that refers to a file on a particular machine if it happens to be the local machine? Is there any concept of a URI for a particular machine? IP address isn't enough; my machine's IP address is 192.168.0.102 and yours may be too.
I would like to store a number of locations for the photo as first choice, second choice etc. First choice = file:///C:/MyPictures/me.jpg but only if the local machine is the machine it came from; second choice = http://myserver.com/me.jpg.
Another way of stating the same question: this machine is unique, and the file at C://somedir/somefile.jpg is unique. Does it have a unique address? An address that would yield either "No Route to Host" or the correct file, depending on where you requested it from?
Is there any concept of a URI that
refers to a file on a particular
machine if it happens to be the local
machine?
Let's follow the logic. How is this to be determined? The URI absolutely must contain a name which uniquely identifies the machine.
Hence, your machine must be identified by a publicly registered name. You have clearly identified that a private IP address is insufficient.
So, the answer is:
Your machine must be publicly accessible (via proxy if behind a firewall) by a publicly identified name.
That name must also resolve directly to your machine (not by a firewall) if you want efficiency in the "local running case".
Setting this up is machine dependent. But assuming you're behind a NAT firewall which supports virtual server proxies...
Register the unique name in the appropriate DNS server, have it resolve to the publicly-facing IP.
Set up a virtual server on your firewall proxying back to your internal address.
Set up a web-server on your local machine.
Ensure that your local machine itself is configured (in /etc/hosts or Windows equivalent) to map that public address to your 192.168 address.
That basically does it. Impossible to imagine how anything else would. No, it's not possible for a single URI to be defined as "Try file:// in this case, or default to http://". The very definition of URI is a single scheme, as described here:
http://en.wikipedia.org/wiki/URI_scheme#Generic_syntax
You're both correct and incorrect. While two computers can have the same name or the same ip address within a network segment, they only exist within that network.
If you want to uniquely identify a file and a machine, then file://blackbeauty.mydomain.org/c:\myfile.txt is perfectly acceptable, in the sense that the blackbeauty name is "owned" by mydomain.org.
So you will need a way to address machines in FQDN if you want the URL to be resolvable.