Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: SpamAssassin marking mails as spam Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
penrose.a
Newbie
Newbie


Joined: 15 July 2010
Online Status: Offline
Posts: 12
Posted: 22 July 2010 at 6:58pm | IP Logged Quote penrose.a

Hi Guys,

I have ran some tests, and this is my conclusion :

I send a mail using Roundcube webmail , this is SpamAssassins result :
X-Spam-Status: No, score=-1.4 required=4.5 tests=ALL_TRUSTED autolearn=ham
ok , so we have a MINUS result, impressive, I didn't expect it to be positive because I'm on the auto-whitelist.

Now, using the exact same mail sent in afterlogic, this is the result :
X-Spam-Status: No, score=3.9 required=4.5 tests=AWL,HTML_MESSAGE,
     MIME_HTML_ONLY,RDNS_NONE,TVD_S PACE_RATIO autolearn=no version=3.2.5

wow, 3.9 ? For a message sent by a trusted source. That means that most of my messages going out to a SpamAssassin filter ( 50% of the world ) will be marked as spam because I'm not on their whitelist and thus get a 5 score or higher.

This is a serious issue with Afterlogic and should be on the number 1 priority issue list of development team. I unfortunately have to go back to Roundcube until this major issue is fixed, because most of my outgoing mail will be marked as Spam when I use Webmail Pro.
Back to Top View penrose.a's Profile Search for other posts by penrose.a
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 July 2010 at 1:53am | IP Logged Quote Igor

Can you please confirm that both the mails (from Roundcube, and from AfterLogic WebMail) were sent through the same SMTP server, that both the apps were installed on the same machine, and sender/recipient details were identical?

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
penrose.a
Newbie
Newbie


Joined: 15 July 2010
Online Status: Offline
Posts: 12
Posted: 23 July 2010 at 3:17am | IP Logged Quote penrose.a

yes, the roundcube and the afterlogic webmail are installed on the same system. Both use the same postfix server and same spamassassin ( all runs on 1 server ). The mails never left the server, they just passed through the spamassassin, I sent them to myself as test.
Back to Top View penrose.a's Profile Search for other posts by penrose.a
 
penrose.a
Newbie
Newbie


Joined: 15 July 2010
Online Status: Offline
Posts: 12
Posted: 23 July 2010 at 3:20am | IP Logged Quote penrose.a

This is how I installed SpamAssassin btw, ( postfix is a standard install ) :

# apt-get install spamassassin spamc
# groupadd -g 5001 spamd
# useradd -u 5001 -g spamd -s /sbin/nologin -d /var/lib/spamassassin spamd
# mkdir /var/lib/spamassassin
# chown spamd:spamd /var/lib/spamassassin
# vi /etc/default/spamassassin
ENABLED=1
SAHOME=”/var/lib/spamassassin/”
OPTIONS="--create-prefs --max-children 5 --username spamd --helper-home-dir {SAHOME} -s ${SAHOME}spam.log"
PIDFILE=”${SAHOME}spamd.pid”
# sa-update
# vi /etc/spamassassin/local.cf
Modify this file looks like below
rewrite_header Subject [***** SPAM *****]
required_score 2.0
report_safe 0
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 1
skip_rbl_checks 0
use_razor2 0
use_dcc 0
use_pyzor 0

# /etc/init.d/spamassassin start
# vi /etc/postfix/master.cf
Change
smtp inet n – – – – smtpd
into
smtp inet n – – – – smtpd
-o content_filter=spamassassin

and then, at the end of master.cf file add the following lines

spamassassin   unix    &n bsp;  –       n       n     ;  –      – &nb sp;     pipe
user=spamd argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

# /etc/init.d/postfix reload
Back to Top View penrose.a's Profile Search for other posts by penrose.a
 
penrose.a
Newbie
Newbie


Joined: 15 July 2010
Online Status: Offline
Posts: 12
Posted: 30 July 2010 at 8:19pm | IP Logged Quote penrose.a

Just to make sure that this is not just me, could anyone from this forum who also uses WebMail Pro please go to spamscorechecker.com and test their mails for spam score ? If you get anything more than 5 you can be sure that 90% of your mail will not be read by anyone you're sending mail to. I got a score of 5.2 for sending a normal message. I sent the SAME message using Horde and Roundcube and both messages got a score of 0.
Back to Top View penrose.a's Profile Search for other posts by penrose.a
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 30 July 2010 at 8:25pm | IP Logged Quote Alex

Aren't you sending different messages (e.g. HTML in AfterLogic case and plain-text in RoundCube/Horde case)?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
merc
Newbie
Newbie
Avatar

Joined: 14 April 2010
Location: Netherlands
Online Status: Offline
Posts: 8
Posted: 31 July 2010 at 12:51am | IP Logged Quote merc

My test message got a score of 4.8



SpamAssasin rules broken:

0.0 HTML_MESSAGE            BODY: HTML included in message
2.3 MIME_HTML_ONLY        BODY: Message only has text/html MIME parts
2.5 MIME_QP_LONG_LINE      RAW: Quoted-printable line longer than 76 chars






RAW message received:

X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on SpamScoreChecker.com
X-Spam-Level: ****
X-Spam-Status: No, score=4.8 required=5.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,
     MIME_QP_LONG_LINE autolearn=no version=3.2.5

.....

Spam detection software, running on the system "SpamScoreChecker.com", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.

....

Content analysis details:   (4.8 points, 5.0 required)



Back to Top View merc's Profile Search for other posts by merc
 
penrose.a
Newbie
Newbie


Joined: 15 July 2010
Online Status: Offline
Posts: 12
Posted: 31 July 2010 at 1:09am | IP Logged Quote penrose.a

Thanks Merc,

So it's not just me then. I just tested a HTML mail from Horde ( for Alex from the helpdesk ) and it came back with score 0. X-Spam-Status: No, score=0.0 required=5.0 tests=AWL,HTML_MESSAGE autolearn=ham

Love to see more test results.
Back to Top View penrose.a's Profile Search for other posts by penrose.a
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 31 July 2010 at 6:56am | IP Logged Quote Alex

MIME_QP_LONG_LINE can indeed be a problem. The QP lines may not exceed 76 characters. We'll look into this. However, this has nothing to do with MIME_HTML_ONLY rule which is just silly. It seems that to satisfy the spam filter, you have to make your e-mail twice larger (no good) and include the plain-text part which will be used only by this spam filter but not a single mail reader program in the world (the days of mailers which were capable to read only plain-text have gone ages ago). And considering the fact that most spam mails do include plain-text part, the useful effect of this rule is questionable.

Earlier, we did include the plain-text version in e-mails generated by the WebMail but since many people were asking to make emails smaller (if you check mail with a mobile device, the mail size matters), we removed the plain-text part.

Seems we'll have to make this a setting (whether to include plain-text or not).

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
penrose.a
Newbie
Newbie


Joined: 15 July 2010
Online Status: Offline
Posts: 12
Posted: 31 July 2010 at 6:30pm | IP Logged Quote penrose.a

Thanks Alex for looking into this. It's much appreciated.
Back to Top View penrose.a's Profile Search for other posts by penrose.a
 
lifescale
Newbie
Newbie


Joined: 01 September 2010
Online Status: Offline
Posts: 5
Posted: 01 September 2010 at 7:26am | IP Logged Quote lifescale

Any update on this being added as a feature? A lot of our clients are marking our emails as spam.
Back to Top View lifescale's Profile Search for other posts by lifescale
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 September 2010 at 7:39am | IP Logged Quote Igor

I believe the version which includes the modifications affecting that behavior is on its way and will become available for download within next 24 hours. Just in case, the version number is 5.0.6, be sure to check VERSION file under webmail directory.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
lifescale
Newbie
Newbie


Joined: 01 September 2010
Online Status: Offline
Posts: 5
Posted: 01 September 2010 at 7:48am | IP Logged Quote lifescale

awesome! thanks!
Back to Top View lifescale's Profile Search for other posts by lifescale
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 03 September 2010 at 2:43am | IP Logged Quote Igor

This is to let you know that WebMail Pro (PHP) 5.0.6 is available for download now. Plaintext part of emails is always included, but the HTML composition was rewritten to ensure lower spam score.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide