Uebimiau webmail -> Hotmail

Discussion in 'Server Operation' started by Hans, May 29, 2006.

  1. Hans

    Hans Moderator Moderator HowtoForge Supporter ISPConfig Developer

    Dear Falko/Till,

    (This thread is here, because it has something to do with Postfix).

    Sending e-mail to an hotmail.com account with an e-mailclient like Outlook via my Postfix smtp-server has never been a problem. The e-mail is delivered in Hotmail's IN-box.

    When i send an e-mail with Uebimiau webmail the e-mail arrives in Hotmail's bulk box an not in the In-box as it should be.
    The same thing happens when i use RoundCube.

    I have had contact with Microsoft and i answered all the questions as mentioned at at URL http://advertising.msn.com/adproducts/email_bulkdupe.

    They told me that there is no reason to block my e-mail.
    For this reason i think something is wrong within the configuration of my webmail.

    I had a look at file /home/admispconfig/ispconfig/web/webmail/inc/config.php
    Especially here:
    ########################################################################
    # Your local SMTP Server (alias or IP) such as "smtp.yourdomain.com"
    # eg. "server1;server2;server3" -> specify main and backup server
    ########################################################################

    $smtp_server = "localhost"; #YOU NEED CHANGE IT !!

    I tried to change localhost in my hostname or ip-address, but it results in an smtp-error in Uebimiau.
    Has this line something to do with my problem?

    Do you know what can be wrong?
    I try to find a solution, before clients start complaining...


    Hans
     
    Last edited: May 29, 2006
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    No, I dont think so.

    Have you set the sending email address in your UebiMiau settings to your email address?

    Maybe you can try to create an SPF record for your domain?
     
  3. Hans

    Hans Moderator Moderator HowtoForge Supporter ISPConfig Developer

    Till,

    Thank you for your quick reply.
    The senders name in Uebimiau was name.lastname, which did not work. I changed it into name lastname (without the dot). This works fine.

    The problem with RoundCube still exists:
    When i send an e-mail it does not reach Hotmail at all. Not the Bulk-box and not the In-box.:confused:

    Any suggestions?

    Hans
     
    Last edited: May 29, 2006
  4. tr4d3r

    tr4d3r New Member

    Found the solution for miau webmail ...

    Hello, after a lot of research, i found the problem, is like HOTMAIL dosent like the X Verbs (X-Sender, X-Date, X-Priority, etc) so, using the good test and mistake method i get it to work ... i can send mail from the webmail to HOTMAIL ... another rare thing is that HOTMAIL dosent like either too many "RECEIVED FROM" so i comment this part to ... now everything work ok.

    To repair this, you need to modify the class: ./webmail/inc/class.smtp.php

    // $header[] = sprintf("Received: from client %s for SLMHosting; %s %s\r\n", $this->IPAddress, date("D, j M Y G:i:s"), $this->timezone);
    // $header[] = sprintf("Date: %s %s\r\n", date("D, j M Y G:i:s"), $this->timezone);
    $header[] = sprintf("From: \"%s\" <%s>\r\n", $this->FromName, trim($this->From));
    if(count($this->to) > 0)
    $header[] = $this->addr_append("To", $this->to);
    if(count($this->cc) > 0)
    $header[] = $this->addr_append("Cc", $this->cc);
    if(count($this->bcc) > 0 && $use_sendmail)
    $header[] = $this->addr_append("Bcc", $this->bcc);

    if(count($this->ReplyTo) > 0)
    $header[] = $this->addr_append("Reply-to", $this->ReplyTo);
    $header[] = sprintf("Subject: %s\r\n", trim($this->Subject));
    // $header[] = sprintf("X-Priority: %d\r\n", $this->Priority);
    // $header[] = sprintf("X-Mailer: %s\r\n", $this->Version);
    // $header[] = sprintf("X-Original-IP: %s\r\n", $this->IPAddress);
    // $header[] = sprintf("Content-Transfer-Encoding: %s\r\n", $this->Encoding);
    // $header[] = sprintf("Return-Path: %s\r\n", trim($this->From));


    and again:


    // $MSHeader .= sprintf("X-MSMail-Priority: %s\r\n", $MSPriority);

    at last:


    // $header[] = sprintf("X-Original-IP: %s\r\n", $this->IPAddress);


    Thanks, and greetings ...



    Ing. Gonzalo Araujo C
    SLM Sistemas Ltda.
    Bogota, Colombia.
     
  5. Hans

    Hans Moderator Moderator HowtoForge Supporter ISPConfig Developer

    Thanks for your reaction. Actually i do not have problems with Uebimiau anymore after contacting MicroSoft. Have also a look here:
    http://postmaster.msn.com/
     

Share This Page