Sender address rejected: Domain not found [closed] - google-app-engine

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm getting the error below when sending mail via smtp through google apps mail. Can anyone see why I get this error? As far as I can tell my domain exists!
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipient has been delayed:
a.kozikowski#tutek.pl
Message will be retried for 2 more day(s)
Technical details of temporary failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain tutek.pl by mx.maxus.pl. [213.241.89.166].
The error that the other server returned was:
450 4.1.8 <aquarius#aquariusprams.co.uk>: Sender address rejected: Domain not found

this error means that the recipient mail server can not resolve the MX (and A) records of aquariusprams.co.uk. It works fine here, so its probably a generic dns problem on the recipient side or a routing issue between the recipient and your nameservers ns1.console-covers.com / ns2.console-covers.com.

Related

Azure Sing in logs (Interrupted, Failure) [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 months ago.
Improve this question
I cannot find any explanation to following situation. I can see 2 sign-in logs in Azure. First one has status Interrupted and the second one Failure see picture1 (in some cases I see first Failure and after several Interrupted logs).
But if I check authentication details of the first interrupted log, there is a detail Password Hash Sync - Succeeded - true (see the picture2). Should I think that the attacker knows the password of the user? Log after is Failure with Password Hash Sync False - Invalid username or pass...(picture3)
Can someone explain me the flow and why I can see Passw Hash Sync true?
picture1 picture2 picture3
checked other situations and it is still not clear, same occurrence in the logs

How could we deal with user's input in case no internet connection [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I think that we all deal comfortably with programming in case there is an Internet connection, especially if we are dealing with a server , But gentlemen, there are terrifying and disturbing results in the event that the user does not have an Internet connection , Imagine that there is a server connected to the Internet that interacts with the user's input , I often wonder what is the global applications use in such a case
I'm going to make it simple what is the problem I'm facing
i am building flutter app using dart and Firebase ..
well lets say user sent data to firestore Let's say it's a message for example
int count ;
FirebaseFirestore.instance.collection(widget.documentUid).doc(currentUser.uid).set({
"timestamp": DateTime.now(),
"name": currentUser.name,
"receiverUid": widget.documentUid,
"countM" : count++
});
well everything going to be perfect here If the user has an internet connection .
What I noticed is that the same process in the event that there is no internet connection is that the data sent will not wait for the connection again and therefore the process will be canceled .. This is a shame :( .. user will never accept like this app .. and it is only a example from many like count messages and delete messages and read messages which i developed them to be Responsive with the server how could i deal with this problem ..
and please no one tell me to chick internet state before , because this process it self will never make data to wait ,
Is there a data caching control?
Is there a library that handles this?
Is there a way to control the user's input in in case no Internet connection and make it wait until the connection again and execute without losing anything?
Is there anything important that I missed?
This process is not automated. You will have to handle offline/online cases yourself.
This package allows you to stream the connectivity status:
https://pub.dev/packages/connectivity_plus
You can use this with provider to rebuild UI whenever the stream changes.
Also, firebase itself has some level of caching, but I would recommend using an offline database like hive to sync with your online data incase internet connection is lost. You can also store the state of your navigator in the database when connection is lost and switch to the offline database. When connection is back, reload the state and continue. If only online data is to be shown, make a page which shows internet connectivity lost and switch the UI using the connectivity stream.
As for messages, don't use async on your firestore writes and it will automatically write to the database when internet connection is back on. But again, if the app was closed when internet was lost, this won't happen. To enable this, when internet goes offline, store the messages in the hive db and then when its back online or the user starts the app with internet, it will push the messages with the relevant timestamps.

Datastore: DatastoreFailureException: Unable to fetch global config [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 2 years ago.
Improve this question
Has anyone ever had this error before? I can't find a single shred of evidence on google that this has ever happened to anyone.
Here is the stacktrace which starts from a .delete() call on the datastore.
com.google.appengine.api.datastore.DatastoreFailureException: Unable to fetch global config
at com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:71)
at com.google.appengine.api.datastore.DatastoreApiHelper$1.convertException(DatastoreApiHelper.java:129)
at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:97)
at com.google.appengine.api.datastore.AsyncDatastoreServiceImpl$7.get(AsyncDatastoreServiceImpl.java:406)
at com.google.appengine.api.datastore.AsyncDatastoreServiceImpl$7.get(AsyncDatastoreServiceImpl.java:402)
at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:89)
at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:89)
at com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java:76)
at com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java:36)
at com.google.appengine.api.datastore.DatastoreServiceImpl.delete(DatastoreServiceImpl.java:76)
at com.universeprojects.cacheddatastore.CachedDatastoreService.delete(CachedDatastoreService.java:929)
We recently identified an issue with a bad instance in our infrastructure which caused timeouts for a limited number of configuration requests from AppEngine applications. The issue was resolved when the faulty instance was restarted ~6:00 AM Pacific Time 9/20/2016.
To prevent these errors in the future we are taking the following actions:
Modifying the retry behavior for configuration requests to better
handle individual bad instances.
Implementing stricter monitoring
policies around these instances to better detect these errors.
Check that the Key.getAppId portion of the key you are trying to delete is set identically to any Key.getAppId that you have read from Datastore.
I'm having this error suddenly without changes to code or models, it happens in three different apps.
As this error happens to many users, in Python and in Java, I think is due to internal google's datastore code or updates.
InternalError: Unable to fetch global config
at check_rpc_success (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py:1373)
at __query_result_hook (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py:2906)
at get_result (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py:613)
at _on_rpc_completion (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:513)
at _run_to_list (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:995)
at _help_tasklet_along (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:427)
at get_result (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py:383)
at fetch (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py:1218)
at positional_wrapper (/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/utils.py:160)
I raised this error to Google Cloud Platform support team, when I have news I will post them here.

Mapping Active Directory Users with Postfix [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I created an smtp mail server and it was successfully configured using postfix, dovecot, and roundcube.
Wanting to add functionality and to get active directory users to authenticate, I chose to use pbis (http://download1.beyondtrust.com/Technical-Support/Downloads/PowerBroker-Identity-Services-Open-Edition/?Pass=True) and found that I was able to easily add to the Active Directory domain ultimately using this command after install and completing a few prerequisites:
$ ./domainjoin-cli join TEST.LOCAL testuser
where "TEST.LOCAL" is the domain in active directory and "testuser" is a user account I set up in the active directory domain.
When logging into the account on roundcube:
I use: TEST\testuser and I am able to successfully login
This required a slight change to the dovecot configuration file /etc/dovecot/conf.d/10-auth.conf and adding the "\" to the list of characters under "auth_username_chars"
I can send an e-mail to a system linux account "user" and verify receipt of that e-mail. I have to change the outgoing e-mail address from TEST\testuser#test.local to testuser#test.local because of incorrect syntax.
What I can't seem to do is send mail to the active directory account "testuser"
I get the following error when attempting this:
SMTP Error (550): Failed to add recipient "testuser#test.local" (5.1.1 <testuser#test.local>: Recipient address rejected: User unknown in local recipient table).
This seems to correspond to alias mapping but I don't know how to do that and the guides I am finding online don't seem to quite fit what I am looking to do. No, I do not have virtual mapping. The user accounts I am trying to map to are all under this directory:
/home/local/TEST/
My question is basically this: How do I map "testuser#test.local" to "TEST\testuser#test.local" in postfix?
Actually submitted this a bit prematurely because I found my answer but had to alter it to my environment to get it to work.
Following the directions on: www.electrictoolbox.com/update-postfix-virtual-alias-map was incredibly helpful.
The exception was the /etc/postfix/virtual file had to have the windows slashes in it.
Basically what I did was
Add a line to /etc/postfix/main.cf
virtual_alias_maps = hash:/etc/postfix/virtual
Created a /etc/postfix/virtual file with the following contents:
testuser#test.local TEST\\testuser
Applied the settings:
postmap /etc/postfix/virtual

How to get notified of a new lead in SalesForce? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
The community reviewed whether to reopen this question last year and left it closed:
Original close reason(s) were not resolved
Improve this question
I want to get notified when a new lead is created in Salesforce. Is there something like webhook in Salesforce or some other way to achieve this?
Yes, plenty of options :)
For Salesforce as actor:
Workflow rule that would fire on insert of Lead and send you an email (or if it's for system integration - outbound message).
You can always write an "after insert" Apex trigger and have in it a callout to external system (SOAP and RESTful APIs are supported). Although you'll need a #future annotation because the triggers by default aren't supposed to send callouts (the database commit/rollback shouldn't depend on whether the external system has accepted the message or not).
For external system as actor:
Simply poll every once in a while for something like [SELECT Id FROM Lead WHERE CreatedDate > :lastTimeIhaveChecked]
Or there's fairly recent addition called Streaming API. Basically you define a PushTopic (query that interests you). Salesforce peeks at the current results returned by it and whenever the results change you'll get a notification. I haven't played with it yet but seems from the docs you can set event type to show "created" events only. This might be closest to a webhook.
I hate to self-promote but since some might fine this as a useful answer... I built a Webhook creator for Salesforce. It is open source: https://github.com/jamesward/salesforce-webhook-creator
This usually involves writing your own code to "subscribe to" events, construct a message and send it to an external endpoint. I have written quite extensively on this topic at: http://beachmonks.com/posts/integrations/salesforce/practical-guide.html. The source code is at: http://github.com/beachmonks/choir-salesforce.
Salesforce does support webhooks, but they are just called by a different name - Callouts.
Here's a link to the Developer documentation on the topic:
Invoking Callouts Using Apex
Here's a description of the feature taken directly from the link above:
An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending a HTTP request from Apex code and then receiving the response. Apex provides integration with Web services that utilize SOAP and WSDL, or HTTP services (RESTful services).
(emphasis added)
This is basically a webhook, commonly defined as "a user-defined callback over HTTP" 2
There is another way. Use RoundRobin logic to assign new incoming leads. Then create a new WF rule to send notification to new owners plus Admin or who ever else wanted to be notified.

Resources