mail.add_x_header not working?

Discussion in 'Server Operation' started by Ovidiu, Oct 9, 2014.

  1. Ovidiu

    Ovidiu Active Member

    I had these two lines in my php.inis for quite a while and they worked by showing me the originating script in outgoing emails if any.

    BUT I now have a spam email coming through which comes from a website WITHOUT the x-originating header even though it was indeed logged in /var/log/mail.log. I can clearly see which contact form it comes from due to its formatting but why is the header not present?

    I'll attach it here, any ideas what could be wrong? noname.txt was originally noname.eml I renamed it to be able to upload it here.

    (the two lines above are inside every php.ini script on my server!)

    Running Debian Wheezy, latest updates.
    lsb_release -irc
    Distributor ID: Debian
    Release:        7.6
    Codename:       wheezy
    php -v
    PHP 5.4.33-1~dotdeb.1 (cli) (built: Sep 19 2014 12:11:25)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
        with the ionCube PHP Loader v4.4.0, Copyright (c) 2002-2013, by ionCube Ltd.
    1974/16058MB    1.10 1.19 0.86 1/477 903997

    Attached Files:

Share This Page