LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2009, 09:29 PM   #1
bittus
Member
 
Registered: Aug 2006
Posts: 153

Rep: Reputation: 16
Local user marked as spammer


I am running postfix + amavis + clamav + spamassassin on my mail server. Today I got a complaint from my director asking why a mail sent from one of our employees was marked spam when he received it. I found my log files as :

Quote:
Oct 28 15:11:08 MYHOST amavis[11669]: (11669-14) ESMTP::10024 /var/amavis/tmp/amavis-20091028T144544-11669: <employee@MYDOMAIN.com> -> <director@MYDOMAIN.com> SIZE=2601 Received: from MYHOST.MYDOMAIN.com ([127.0.0.1]) by localhost (MYHOST.MYDOMAIN.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <director@MYDOMAIN.com>; Wed, 28 Oct 2009 15:11:08 -0700 (PDT)
Oct 28 15:11:08 MYHOST amavis[11669]: (11669-14) Checking: JrDsEXHnufSo <employee@MYDOMAIN.com> -> <director@MYDOMAIN.com>
Oct 28 15:11:14 MYHOST amavis[11669]: (11669-14) SPAM-TAG, <employee@MYDOMAIN.com> -> <director@MYDOMAIN.com>, Yes, score=3.582 tagged_above=-999 required=3 tests=[AWL=-1.067, BAYES_00=-2.599, DATE_IN_FUTURE_06_12=1.897, FORGED_MUA_OUTLOOK=3.116, RDNS_NONE=0.1, STOX_REPLY_TYPE=0.001, TVD_FINGER_02=2.134]
Oct 28 15:11:14 MYHOST amavis[11669]: (11669-14) FWD via SMTP: <employee@MYDOMAIN.com> -> <director@MYDOMAIN.com>,BODY=7BIT 250 2.6.0 Ok, id=11669-14, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8190AF78273
Oct 28 15:11:14 MYHOST amavis[11669]: (11669-14) Passed SPAMMY, [aa.bb.cc.dd] <employee@MYDOMAIN.com> -> <director@MYDOMAIN.com>, Message-ID: <6C035AF581F0485A97C2FC1AD1A2F03A@Simi>, mail_id: JrDsEXHnufSo, Hits: 3.582, size: 2601, queued_as: 8190AF78273, 5842 ms
I don't get a clear idea of the logs. Can someone explain why this happened and how can I avoid this to happen in future?

Thanks.
 
Old 10-28-2009, 10:25 PM   #2
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 16
Another thing i found :

If the mail is sent from outlook through our corporate network, it is marked as spam. But a mail sent thru the webmail (we use squrrelmail), it comes without any spam flag !!!!
 
Old 11-10-2009, 12:15 AM   #3
bittus
Member
 
Registered: Aug 2006
Posts: 153

Original Poster
Rep: Reputation: 16
Is there anyway to add my corporate network as trusted in spamassassin, so that it will not flag my local users as spam ?
 
Old 11-10-2009, 12:26 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You can add in local.cf
Code:
trusted_networks 192.168.0.0/24
or whatever your LAN ip range is.

Regards

Last edited by bathory; 11-10-2009 at 12:28 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't add local system user - useradd keeps saying user already exists ADeluiz Linux - Security 5 07-26-2013 03:17 PM
Local root user can su - to nis user haiders Linux - Security 4 12-04-2007 05:38 PM
differentiate between remote user and local user cad Linux - Networking 6 08-26-2007 03:50 AM
Setup local machine to allow lan machines to retrieve its local user mail. Brian1 Linux - Networking 3 03-30-2006 05:04 AM
How to chat with a local user wonderpun Linux - General 6 11-02-2002 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration