BASE64 decoding not working.

Discussion in 'Installation/Configuration' started by beryl, May 22, 2007.

  1. beryl

    beryl Member

    Hi there,

    I have a contact form that sends:
    Content-Transfer-Encoding: BASE64
    ODEuMTcwLjIzNy4xMTcKCnRlc3Q=

    As E-mail, when i use my ISPConfig server.

    It works if i use my local WAMP server.

    What am i missing here?
    Ive enabled the Deflate module on apache.

    Thankx!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a PHP script? If yes, please post the code that sends the mail. You do not have to encode the eader under linux if you use the php mail function.
     
  3. minskog

    minskog New Member

    I have now the same problem, it happen with all php script even oscommerce, drupal, joomla ...

    It's last ispconfig at debian etch.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    What did you do (configure or update) before this started?
     
  5. minskog

    minskog New Member

    It is a new install, only debian security updates :confused:

    i detected that emails have two mime types:

    Code:
    X-Mailer: PHPMailer [version 1.72]
    [FONT="Arial Black"]Mime-Version: 1.0
    Mime-Version: 1.0[/FONT]
    Content-Type: multipart/related; type="text/html"; boundary="b1_af1f07c09fcffa40293f03ce09e5576b"
    Content-Transfer-Encoding: BASE64
    
    Could be spamassasin or clamavd the problem?
     
    Last edited: Dec 7, 2007
  6. falko

    falko Super Moderator Howtoforge Staff

    I think it's a problem with your PHP script somewhere, not ClamAV or SpamAssassin.
     
  7. minskog

    minskog New Member

    But it fails with all scripts in all virtualhosts. Could be then the php configuration?
     
  8. falko

    falko Super Moderator Howtoforge Staff

    I think yxour PHP script is generating wrong headers...
     
  9. minskog

    minskog New Member

    All software scripts send bad headers (drupal, oscommerce, joomla, coppermine, gallery2, wordpress, my own scripts, ...)? If i copy any virtualhost to other server works fine, then I think thas is a misconfiguration but i dont find where is the problem.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/postfix/main.cf?
     

Share This Page