I am using postfix, opendkim, and opendmarc. Everything seems to be working well except the Authentication-Results header is not being added. I am only getting this header:
DMARC-Filter: OpenDMARC Filter v1.3.1 mydomain.com 9CAD616400E
Is there some setting that I missed?
I found my own answer. Hopefully this will help someone.
I was also running amavis and amavis was somehow controlling the Authentication-Results header. I fixed this by changing this setting from 1 to 0 in the amavis.conf
$enable_dkim_verification = 0
Now opendmarc is posting 3 Authentication-Results headers as expected, One for dkim, one for spf, and one for dmarc
Related
Using Drupal 8
I need to override the default DS "One Column Layout".To do that I use the suggested template name: ds-1col--tools-tools.html.twig . I have placed that file in various locations and then cleared cache but Drupal never picks up on it:
mytheme/templates/ds
mytheme/ds_layouts/templates/
mytheme/templates/ds_layouts/
mytheme/templates/
None of this places work, what could I possibly be doing wrong?
Through a comment from #Matoeil , I looked through Twig Debug's suggestions and they suggested a different kind of name for the file. When using Twig debugs suggestion, it recognized it right away.
So I suppose the suggestions made by Display Suite don't seem to work very well.
document_name ='TestDoc'
document_path = ("/Users/Me/QA/Project/Documents/#{document_name}")
File.new ("/Users/Me/QA/Project/Documents/#{document_name}") # => File is created
filename_field.send_keys("#{document_path}")
filename_field.send_keys :tab # => To Trigger event but where error occurs
filename_field = browser.file_field(:name, 'file') declared in a module elsewhere.
As far as I can tell, I have provided an absolute path for the filename to upload the file but when the tab key is sent, an error occurs of:
Selenium::WebDriver::Error::UnknownError: unknown error: path is not absolute:
With an odd squiggly symbol in RubyMine that I've never seen before. Any ideas?
Update:
I added
puts filename_field.value
# => C:\fakepath\TestDoc
Spoke to one of the developers and she said "Browser does it to fake things out, so the filesystem isn't exposed". Not sure if that helps solve my issue or I'm SOL?
That error comes from Chromedriver, and comes from sending an incorrect path string to a file element. Since :tab is not a path, it is correctly raising an error.
You shouldn't need to send a tab; just sending the path of the file should accomplish what you need.
I see many small strange things in your code.
Why
document_path = ("/Users/Me/QA/Project/Documents/#{document_name}")
Not
document_path = "/Users/Me/QA/Project/Documents/#{document_name}"
Why
filename_field.send_keys("#{document_path}")
Not
filename_field.send_keys(document_path)
But the main question is why you are using send_keys instead of set?
I failed to reproduce your problem. Maybe it will be possible if you will provide your html. But i suggest you to try:
filename_field.set(document_path)
Because you can easily check it even with irb send_keys is acting differently in firefox and in chrome for example. So maybe problem with it.
Another suggestion
That is a much more weak idea. But...
Try to clear value before changing it. You can do it with javascript:
b.execute_script("arguments[0].value=''", field)
I had the same issue with Chromedriver 2.26.436421 and it was solved when I removed the code which was sending the tab key.
With previous Chromedriver sending tab key was required to trigger the change event on the file input but with latest one it seems like it is only causing issues and the change event gets triggered without it.
I created a layout module 7m (layouts). Each layout has about 15-20 fields (including eating and one repeater with fields). There comes a moment when I can not create more fields. And nothing else is stored. A begins to persist if you remove one field. Then another one I can keep.
How can I fix this problem?
Change (screen http://awesomescreenshot.com/08835dz3eb )
But dont work
This is a complete number of fields that can be added (if you add one more), nothing happens. New fields do not appear.
http://awesomescreenshot.com/0f635h2s43
44 filds (all including repeater ) in 7 Layout
I really need to solve this problem. I need at least another 10 fields.
Few solutions you can try..
Increase max_input_vars value from 3000 to 5000 or more.. (it worked for me after increasing value)
This method is if increasing max_input_vars does not help..
Quoted from ACF forum :
“I had the same problem and it turned out that because the server was using the Suhosin patch I also needed to set the following my .htaccess file:
suhosin.post.max_vars = 20000
suhosin.request.max_vars = 20000″
As mentioned by Rahul, 'max_input_vars' and suhosin settings in php.ini are the solution.
But what I would like to add to make this solution complete. You could get into case when migrating to other server or vps, where default setting for "max_input_vars" is 1000 or less and then You try to add new field which will result in all fields that was not in limit to disappear as from AFC administration or from POSTS also! .
So even if you fix the php.ini that leaves you with broken db.
Anyways solution is simple after setting 'max_input_vars' move that ACF field group to Trash, and restore it fields will be back ...
I hope it will save time to someone sometime.
I have the same problem yesterday. I solve this by increasing value of Blog pages show at most and Syndication feeds show the most recent in Setting -> Reading -> Heres the option.
In my WP dashboard, the default is 10.
I'm using the default comments template, on my own self-built theme. When I send a comment I get the following error message:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_set_comment_cookies' not found or invalid function name in /home/mattator/public_html/wp-includes/plugin.php on line 403
Warning: Cannot modify header information - headers already sent by (output started at /home/mattator/public_html/wp-includes/plugin.php:403) in /home/mattator/public_html/wp-includes/pluggable.php on line 881
couldn't find a call to the funciton 'wp_set_comment_cookies' anywhere in the code. It is noteworthy that despite the error message the comment is being sent properly. I also tried to disable all plugins but the problem persists.
Any ideas would be appreciated.
May be you have some extra white space before
<?php
tag in starting of a theme file
Thanks
Well, I experimented a little bit, and as turns out the problem was a call to the function "nocache_headers()", in Line 18 of the file "wp-comments-post.php" which lies at WP root directory.
I deleted it, and voila, everything works. Not sure why though.
For one of my projects, I made a QWebView. Everything is working fine, but when I use it at school, I get an error because the proxy is not defined. How would I make it possible to auto detect the proxy, like in Firefox and IE?
I've found this in QNetworkProxyFactory:
setUseSystemConfiguration(bool enable)
But I can't find how to use it.
Since setUseSystemConfiguration is a static method, the following might do what you need:
QNetworkProxyFactory::setUseSystemConfiguration(true);
Here is a working example of using the system defined proxy:
QNetworkProxyQuery npq(QUrl("http://www.google.com"));
QList<QNetworkProxy> listOfProxies = QNetworkProxyFactory::systemProxyForQuery(npq);
if (listOfProxies.size())
QNetworkProxy::setApplicationProxy(listOfProxies[0]);