The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
18 views

Custom headers (mod_headers) not showing in combination with mod_rewrite

I have a vhost with multiple domainnames linked to it. I'm trying to send additional headers when a request is made to one particular domainname. Here's what I'm doing (tried both in the vhost as in ...
2
votes
2answers
181 views

last modification date of web page unknown

I would like to check the age of the document in the webpage but it does not show! here is the result of a telnet to the server: telnet av.hostoi.com 80 Connected to av.hostoi.com. HEAD / HTTP/1.0 ...
20
votes
5answers
25k views

How to dump entire HTTP requests with apache

Is it possible to dump entire HTTP requests by apache? I need to track all HTTP headers of incomming requests. How to do that?
0
votes
0answers
123 views

Haproxy don't capture added header

I can add new header in haproxy with the "http response add-header" function and it's done successfully because i can see those added headers in my http packet when i use Wireshark. The problem is ...
1
vote
2answers
243 views

How to replace the host variable in a header in nginx

I am trying to replace the host variable in the header in nginx configuration, such that some.random.sub.example.net becomes net-some.random.sub.example.com. i have tried the following : if ($host ~* ...
4
votes
1answer
100 views

Why is sendmail adding an extra carriage return in headers?

I've got SendMail 8.14.4 running on a CentOS 5 server. A user in Japan is sending a message and when it gets processed by the server, SendMail is adding an extra carriage return for some reason. ...
0
votes
1answer
642 views

Why does my apache refuse the “Content-Security-Policy” headers?

I'm currently in the process of implementing Content-Security-Policies. But my apache refused to accept the config settings. The apache2 versions I am currently using are: 2.2.22 and 2.4.7. Neither ...
0
votes
1answer
594 views

max-age=0 sent by browsers despite headers modified everywhere

I have a headers/cache issue in my lamp [centos] website. Config: [root@localhost httpd]# httpd -v Server version: Apache/2.2.23 (Unix) Server built: Nov 25 2012 15:03:00 [root@localhost httpd]# ...
1
vote
0answers
27 views

How can I dump email headers to plaintext files?

I have a .pst for which I would like to extract header information for all emails and dump it to one file per email. How would I go about doing this?
2
votes
2answers
132 views

Postfix header stating wrong IP

I am using Postfix 2.11.3 on Debian 8.0 I configured Postfix to run multiple instances (3), one for each public IP connected to our server in order to balance outgoing traffic depending on the ...
1
vote
0answers
505 views

How to override “Content-Type” header with PHP script on Nginx

I have some php script which returns jpeg image(1x1 pixel) with content type "image/jpeg": // return image $image_name = 'img/pixel.jpg'; $image = fopen($image_name, 'rb'); header('Content-Length: ' ...
2
votes
5answers
4k views

Rewriting from headers in Postfix

I want to configure Postfix to replace the 'From' header in all forwarded/aliased messages with a custom email address, and the 'Reply-To' header with the original sender's address. Is that something ...
0
votes
1answer
860 views

multiple post requests using wget and same base-url

wget has nice option that lets you allow downloading multiple files from same location (I mean combination of --base and --input-file) Advantage of this, is that if possible wget tries to reuse ...
1
vote
0answers
72 views

Emails keep going to Gmail spam folder - DKIM, SPF, are set up - Very perplexing [duplicate]

Note: This is NOT a duplicate question, there are no questions that address the very specific details of headers as far as whether the inclusion of multiple DKIM entries will result in landing in the ...
1
vote
1answer
869 views

Forwarding email with postfix via AWS SES

I have a server with postfix MTA installed that accepts mail for my domain, hereinafter @example.com. I need to setup forwarding for certain emails@example.com to other emails . e.g. @gmail.com and ...
5
votes
1answer
380 views

Postfix: selecting relay host based on From: mail header rather than envelope sender

I've successfully set Postfix to relay emails via Mandrill using SASL and sender_dependent_relayhost_maps with a MySQL table so that different senders connect to Mandrill using their own Mandrill ...
0
votes
1answer
374 views

postfix header_checks - regex spanning multiple lines

I would like to create a spam filter that spans multiple lines in headers. This is my /etc/postfix/header_checks file: /^From:.*name[0-9]+@.+[\r\n]+To:.*name@domain\.com/ REJECT It's a valid ...
0
votes
1answer
323 views

Can't find received_header_text in exim.config file

I would like to modify received_header_text to add additional "Received: ..." header for authenticated mails - so gmail import will check SPF against our server, not client IP. But my exim.conf does ...
7
votes
4answers
2k views

“Delivered-To” Header in Exchange

In some SMTP server implementations (i.e. Postfix) you can enable Delivered-To and X-Original-To headers that will be added to your email. (or [X-]Envelope-To) This is very helpful with distribution ...
0
votes
1answer
326 views

Postfix: how to redirect a single email address depending on the sender

I'm trying to add a rule to Postfix. My goal is as follows: when anyone EXCEPT (server@example.com) sends an email to (info@example.com) forward it to (sales@example.com). If server@example.com is ...
1
vote
1answer
3k views

Nginx not processing proxy hide header and proxy ignore headers

I have trouble trying to make Nginx ignore and hide some headers from a proxied server. I want Nginx to hide and ignore "Cache Control" and "Server" headers but it didn't work, I don't know why. My ...
1
vote
1answer
260 views

Postfix bad notify parameter syntax

Please bear with me as I'm not an expert admin I have a linux mail server that has been running for a couple of years and now all of a sudden a certain user is unable to send emails. They immediately ...
10
votes
4answers
9k views

Referer is passed from HTTPS to HTTP in some cases… How?

In theory browsers do not pass on referer information from HTTPS to HTTP sites. And in my experience this has always been true. But I just found an exception, and I want to understand why it works so ...
0
votes
2answers
456 views

Having trouble removing HTTP header “Cache-control”

I'm trying to get my assets cached using Cloudflare Cloudflare states here that "CloudFlare will not cache your site or static content if you have no-cache and private headers coming from your ...
2
votes
3answers
4k views

IIS cache control header settings

I'm currently working on a website that is accessed over https. We have recently come across a problem where we are unable to view .pdf files or any other type of file that is sent as an attachment ...
1
vote
3answers
11k views

Remove X-Forwarded-For header in Squid 3.0

Some months ago I was working with Squid 3.0 and managed to get rid of the X-Forwarded-For header completely. Now I am trying to do the same thing but I do not seem to hit the nail. I have tried ...
14
votes
3answers
23k views

How can I make nginx support @font-face formats and allow access-control-allow-origin?

I've added these rules to mime.types: application/x-font-ttf ttf; font/opentype otf; application/vnd.ms-fontobject eot; font/x-woff ...
1
vote
2answers
1k views

NGINX Pass-through server header

How do I get NGINX to pass through the 'server' header of upstream servers? Like, if NGINX is proxying to an Apache server with the Server header 'Apache2.2 (CentOS)', it strips it out and replaces ...
1
vote
3answers
208 views

Is TCP header the same as TCP segment?

So, is a TCP header actually the same thing as a TCP segment? I was reading this page, where it reads near the end that: Even though it might seem they are, in most cases, when referring to the ...
3
votes
1answer
92 views

Is there a legitimate reason to use an encoded word in any header other than the subject?

Encoded words allow non-US-ASCII characters to be encoded as US-ASCII and thus placed into email headers. http://en.wikipedia.org/wiki/MIME#Encoded-Word Encoded words are often used in the Subject ...
1
vote
1answer
2k views

Should I use Expires headers, Cache-Control headers, or both?

Just trying to do a bit of performance tuning on a client's site. I don't want to set far future expiries yet, because we are still changing a lot of stuff regularly, but I'd like to give everything ...
6
votes
2answers
435 views

IIS sets http header Expires to -1, how do I override this with mod_expires

I'm using an IIS website with a Apache HTTP reverse proxy (mod_proxy with ProxyRequests Off). I want to control the expires headers in apache (don't ask), but IIS is setting the header Expires: -1. ...
2
votes
2answers
3k views

Sending machine hostname as a header in Apache

I have a group of linux apache 1.3 servers behind a load balancer, and I want to be able to, at a glance, determine which server I'm hitting. The load balancer is severely limited in its monitoring ...
2
votes
2answers
2k views

What does the email header “X-CAA-SPAM” refer to?

I've got an application that sends out notification emails to users of the application (this is not spam; the information in these emails is solicited and useful, and is also a feature turned off by ...
2
votes
3answers
1k views

SPARC T4, Solaris 11, no access to internet, how to install system headers (or a working compiler)

I need to compile a C program on SPARC T4-1 (Solaris 11) machine that has been deployed to customer network, and it no longer has access to the Internet. Originally during the setup, compilation ...
-1
votes
2answers
3k views

Exchange2010 has Private Machine Name and IP in outbound SMTP - How to remove?

We have a domain (domain.local) that has IP Addresses in the 10.10.10.* range. In the outbound SMTP server traffic, I see the internal machine name (exchange.domain.local), and the internal ip ...
2
votes
1answer
40 views

postfix HOLD Recieved non authenticated

i'm wondering if is possibile to put on hold emails that not have authenticated in Recieved header . i've tryed with a simple negate operazione with pcre !/^Received:.*Authenticated*/ HOLD but ...
1
vote
1answer
192 views

Spam avoidance issue

I'm working on a project right now that sends email as confirmation of purchase. Some emails are still being received as spam. I have signed the domain up for google apps for business & am using ...
0
votes
2answers
3k views

Gzip compression with nginx

In my nginx.conf I have: gzip on; gzip_static on; gzip_buffers 16 8k; gzip_comp_level 9; gzip_http_version 1.0; gzip_min_length 1000; gzip_types text/plain text/css ...
1
vote
2answers
3k views

What does this Received email header line mean?

I'm a little paranoid that my new mail server might not be configured right, and I'm wondering if I made a mistake somewhere. Or maybe it's just the way Yahoo does things with their mail service. To ...
0
votes
2answers
268 views

Postfix FROM header defaults

I have tried and tried to google my way out of this. This definitely has to be a very common problem because I am half-way intermediate at Linux and etI am complaining about default settings and how ...
2
votes
2answers
121 views

Minimal size of TCP communication

I am sending small amounts of data (up to 100 bytes) every 10 minutes from devices to TCP server. In my case overhead seems to be huge (we pay for each byte). I found that I have at least 7-10 packets ...
3
votes
2answers
1k views

postfix - different header checks for incoming and outgoing mail

How can I apply different header_checks for incoming and outoing mail using postfix? By default, all header_checks are applied to both incoming and outgoing.
-2
votes
1answer
344 views

Cross-Compiling on x86 for Solaris SPARC [closed]

I've looked at a few sources on how to go about cross-compiling, and from what I understand, I need the header files for the system I am compiling for. Some background info: The school I am a student ...
2
votes
1answer
1k views

Hide/Replace Nginx Location Header?

I am trying to pass a PCI compliance test, and I'm getting a single "high risk vulnerability". The problem is described as: Information on the machine which a web server is located is sometimes ...
0
votes
1answer
2k views

Content disposition header on Nginx

I am doing a setup where Apache runs the web application and NginX serves files that users download. The files should be downloaded with their real names instead of the names their are being stored ...
2
votes
2answers
2k views

nginx: Specify custom headers in rewritten location blocks

I'm trying to set some headers only for specific location blocks in nginx. The problem I have is that those location blocks contain rewrite statements, which apparently seem to drop the custom ...
0
votes
1answer
2k views

Hide server ip from email header

I use ddos mitigation services on my server and due to this it is very important that my server ip stays hidden. I own two servers, the primary server houses my website and the secondary server is ...
0
votes
2answers
265 views

Postfix Header Filter

I have set up a header filter in postfix to discard messages from Russia and Romania because of the volume of spam coming from those and we do not currently do business in those countries. My regex ...
8
votes
4answers
11k views

RequestHeader with Apache environment variable

I have Apache set up as a load balancer. I wanted to make apache set the X-Forwarded-Proto header, but this doesn't work: RequestHeader set X-Forwarded-Proto "%{SERVER_PROTOCOL}e" The header gets ...