Author Topic: Hotmail always gets placed into the junk folder  (Read 7252 times)

Offline desertadmin

  • Jr. Member
  • **
  • Posts: 36
Hotmail always gets placed into the junk folder
« on: August 30, 2006, 03:30:20 AM »
Why is it that all emails that only originate only my emails from the roundcube webmail jets palced into the junk filters on hotmail. I think it is because all emails start with some funny little charcter that is only seen in hotmail emails. It looks like this:


test test test

Notice the chars above the "test test test".

Anyone else notice this problem? I think it is idue to the font type that is used.

Offline mtrojahn

  • Newbie
  • *
  • Posts: 8
Re: Hotmail always gets placed into the junk folder
« Reply #1 on: August 30, 2006, 08:28:33 AM »
Yes, I just tested it and it went to the Junk too...

But we gotta keep in mind that Hotmail filter is a learning filter... So it will have false positives once in a while... But I agree, it's probable something on the source of the message that is triggering the filter... I don't see the strange characters you got on your message though...
Marcelus Trojahn

Offline trolley

  • Jr. Member
  • **
  • Posts: 19
Re: Hotmail always gets placed into the junk folder
« Reply #2 on: August 30, 2006, 11:34:16 AM »
Same problem here. Has anyone logged a bug report for this?

Offline Delta-9

  • Jr. Member
  • **
  • Posts: 35
Re: Hotmail always gets placed into the junk folder
« Reply #3 on: September 04, 2006, 10:19:36 PM »
I have no problem sending to hotmail, in fact I send email to my wife on hotmail all the time. I am using the beta2 version.

Offline desertadmin

  • Jr. Member
  • **
  • Posts: 36
Re: Hotmail always gets placed into the junk folder
« Reply #4 on: September 07, 2006, 03:16:10 AM »
Hmm I still get that funny characters when ever I send an email to hotmail I think it is the UTF-8 charset that is used.

Also in the sendmail.inc there is:

if (!empty($_POST['_receipt']))
 {
 $headers['Return-Receipt-To'] = $identity_arr['string'];
 $headers['Disposition-Notification-To'] = $identity_arr['string'];
 }

I added additional snippets for just the hotmail users..

// added for hotmail emails
if (empty($_POST['_receipt']))
 {
 $headers['Return-Receipt-To'] = $identity_arr['string'];
 $headers['Disposition-Notification-To'] = $identity_arr['string'];
 }



For some reason hotmail will only receive my emails whn it has the return Receipt checked. I don.t even rember how I stumbled onto this. Nonetheless Return Receipt seems to be the only way for me to currently send email to hotmail. I checked all of my logs ont he webmail as well as on our IMAP/SMTP server. Everything is pushed out jsut fine but IT hink soemthing is making this invalid. It could be the weird charset that is received on the emails it looks like this:

 From :
Sent : Thursday, September 7, 2006 6:01 AM
To : removed
Subject : test
 
 
 

test 2 with rr
----------------------------------------------
 


NOTICE the 


I do not understand what this is I thought it was in the compose.inc file but I.m not sure where thouse few funny chars come from.
Can any one help on this?

-Sincerely,
DesertAdmin
 
 

Offline gentoose

  • Newbie
  • *
  • Posts: 2
Re: Hotmail always gets placed into the junk folder
« Reply #5 on: September 07, 2006, 10:15:38 AM »
I had the same problem (email sent from my roundcube webmail to hotmail went in the thrash). I changed the line

$rcmail_config['useragent'] = 'RoundCube Webmail';

in config/main.inc.php to

$rcmail_config['useragent'] = 'SquirrelMail/1.5.1';

...and the problem was gone. If You can live with the fact that the header lies to you, and says that the email is being sent from squirrelmail instead, then this ugly little trick might cover up the problem, at least for the time being. ;)

Offline Guillermolococo

  • Newbie
  • *
  • Posts: 6
Re: Hotmail always gets placed into the junk folder
« Reply #6 on: September 08, 2006, 04:04:06 AM »
I have the same problem.
I changed the agent name and every mail go to trash in hotmail.

No solution. What could be ?

(Yahoo and gmail work good)

Offline gentoose

  • Newbie
  • *
  • Posts: 2
Re: Hotmail always gets placed into the junk folder
« Reply #7 on: September 08, 2006, 11:07:51 AM »
Quote from: Guillermolococo
I have the same problem.
I changed the agent name and every mail go to trash in hotmail.

No solution. What could be ?

(Yahoo and gmail work good)

Did You change the useragent as per my post above? That helped for me anyway. The header contains no other information that seems to be the problem, at least not in the version that i use (latest stable release).

Offline bigfaucet

  • Newbie
  • *
  • Posts: 3
Re: Hotmail always gets placed into the junk folder
« Reply #8 on: September 21, 2006, 03:10:48 AM »
That's very strange how the hotmail filter works.

$rcmail_config['useragent'] = 'SquirrelMail/1.5.1';
is useless for me, instead I change
Code: [Select]
if (!empty($CONFIG['useragent']))
  $headers['User-Agent'] = $CONFIG['useragent'];
to
Code: [Select]
if (!empty($CONFIG['useragent']))
  $headers['X-Mailer'] = $CONFIG['useragent'];

in file program/steps/mail/sendmail.inc .

some mails can be delivered to hotmail's inbox , but some still to the junk folder.

I think that's hotmail filter's problem.

Offline jpweb

  • Jr. Member
  • **
  • Posts: 46
Re: Hotmail always gets placed into the junk folder
« Reply #9 on: March 27, 2007, 02:05:57 PM »
I have tried this and hot does not recieve my mail.

I have spf, PTR and rdns all showing good and hotmail states they are not blocking my server. Any othe suggestions

Offline kali

  • Jr. Member
  • **
  • Posts: 57
Re: Hotmail always gets placed into the junk folder
« Reply #10 on: March 27, 2007, 02:16:22 PM »
Set the user agent to blank. Then that header is not included. Hotmail filters use that header.

Offline jpweb

  • Jr. Member
  • **
  • Posts: 46
Re: Hotmail always gets placed into the junk folder
« Reply #11 on: March 28, 2007, 03:57:46 PM »
Blank like this
if (!empty($CONFIG['']))
  $headers['X-Mailer'] = $CONFIG[''];

Offline jpweb

  • Jr. Member
  • **
  • Posts: 46
Re: Hotmail always gets placed into the junk folder
« Reply #12 on: March 28, 2007, 03:58:44 PM »
This seems to be happening to me with any mail sent from my VPS anyone with any ideas?