Author Topic: mails sent with roundcube in spam  (Read 22871 times)

Offline michi123

  • Newbie
  • *
  • Posts: 5
mails sent with roundcube in spam
« on: September 17, 2010, 09:10:21 PM »
hey guys,

im new to roundcube, and i got an issue with it.
i duno why, but all the emails i send thru roundcube end up in the spam folder of the external email addys. the message sender is beeing removed to unkown sender...
its only with webmail (roundcube)! if i send emails with outlook (or any other external email clients), everything works just fine - all the emails end up in inbox.
could you guys pls help me to fix this problem?

thx m8´s

greetz mike

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
mails sent with roundcube in spam
« Reply #1 on: September 17, 2010, 11:15:49 PM »
Make sure you have SMTP setup.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
mails sent with roundcube in spam
« Reply #2 on: September 18, 2010, 01:30:13 AM »
... if you don't use SMTP mails are sent by PHP mail function. Most spam filters consider mails sent by PHP as spam.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline michi123

  • Newbie
  • *
  • Posts: 5
mails sent with roundcube in spam
« Reply #3 on: September 18, 2010, 06:49:35 AM »
i allready have done this!
im using
imap:
$rcmail_config['default_host'] = 'ssl://my-server.my-domain.com'
and for smtp:
$rcmail_config['smtp_server'] = 'tls://my-server.my-domain.com'

so this aint the problem...
« Last Edit: September 18, 2010, 06:52:30 AM by michi123 »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
mails sent with roundcube in spam
« Reply #4 on: September 18, 2010, 06:56:28 AM »
Have you checked if your server IPs are on spam lists?

Offline michi123

  • Newbie
  • *
  • Posts: 5
mails sent with roundcube in spam
« Reply #5 on: September 18, 2010, 07:15:36 AM »
no...
but do i hvae to do this? as said in the upper post, if i send mails with an external mail client (e.g. outlook), it works fine!

Offline michi123

  • Newbie
  • *
  • Posts: 5
mails sent with roundcube in spam
« Reply #6 on: September 19, 2010, 10:02:53 AM »
no ideas?? :(:(

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
mails sent with roundcube in spam
« Reply #7 on: September 19, 2010, 10:23:52 AM »
main.inc.php

change ...

// add this user-agent to message headers when sending
$rcmail_config['useragent'] = 'Roundcube Webmail/'.RCMAIL_VERSION;

... maybe it helps.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
mails sent with roundcube in spam
« Reply #8 on: September 19, 2010, 11:46:43 AM »
Quote
the message sender is beeing removed to unkown sender
are you sure your identity is setup correctly in RC, also may be check in the SMTP server logs and see if there is anything different when RC sends a message and when Outlook does.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline michi123

  • Newbie
  • *
  • Posts: 5
mails sent with roundcube in spam
« Reply #9 on: September 19, 2010, 02:18:56 PM »
yep, im sure its all correctly installed! if not, sending over external email clients wouldnt work too.
but, i got errors now. duno why they didnt get logged in the past! i just deleted all the mail logs and restartet the syslog service, now some errors got logged!

Code: [Select]
Sep 19 19:33:06 postfix/smtp[15316]: warning: 8B72A1F029F:  non-ESMTP response from mail.domain.tld[xx.xx.xx.xx]:25: Your Mail was  rejected because it was recognized as spam!
Sep 19 19:33:06  postfix/smtp[15316]: warning: to prevent loss of mail, turn off command  pipelining for xx.xx.xx.xx with the  smtp_discard_ehlo_keyword_address_maps parameter

im like, wtf! whats the difference between sending over web and sending over external clients???

Offline FreeBSDCuber

  • Newbie
  • *
  • Posts: 4
Outlook Marks RC Mail as Junk
« Reply #10 on: September 24, 2010, 11:15:19 PM »
When I send mail from RC, the mail is filtered into the Junk folder in Outlook. If I send the mail from Outlook or Thunderbird the mail goes into the Inbox in Outlook. When my RC implementation goes live and all my RC users have this problem with their Outlook mail recipients, I'm sure to hear about it. This is a big issue since so many people use Outlook.

This seems like the right thread for this issue; however, I'm not getting the same errors mentioned here. The mail sends clean without errors. Any ideas?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
mails sent with roundcube in spam
« Reply #11 on: September 25, 2010, 04:25:16 AM »
you need to find out why outlook is putting it in the spam folder, what rule is the mail breaking?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline FreeBSDCuber

  • Newbie
  • *
  • Posts: 4
mails sent with roundcube in spam
« Reply #12 on: September 25, 2010, 09:50:58 PM »
Microsoft doesn't document their Junk filter rules as far as I can tell. I think it is a blackbox so as not to help spammers. Correct me if I'm wrong. I may have missed something out there.

I'm hoping someone else resolved this same problem and can shed some light on the subject.

Offline FreeBSDCuber

  • Newbie
  • *
  • Posts: 4
mails sent with roundcube in spam
« Reply #13 on: September 27, 2010, 03:10:22 PM »
After some experimentation, I was able to determine that if I send in plain text the e-mail will go into Outlook's Inbox.

This means that there is a problem with how RoundCube is formatting its html messages. This could be caused by incomplete CSS definitions or other reasons. I don’t know. I think since this is a problem that could potentially cause issues with so many RC users, it should be confirmed with other installations and investigated to determine the root cause. Do I need to report this somewhere?

Note: I also discovered that Outlook does cache the status of a sender for a little time so configuration changes need to be spaced over time.

Is there a way to send a message as both html and plain text?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
mails sent with roundcube in spam
« Reply #14 on: September 27, 2010, 10:49:07 PM »
When you send a html email it include a plain text copy for email clients that don't read html. When I send email from RoundCube to Outlook its goes through just fine.