Ubuntu Servers :: Getmail + Dovecot: Filter Spam With Spamassasin?

May 2, 2011

I have a system running at home that uses Getmail to retrieve mail from my ISP's pop server. Dovecot then offers that mail over IMAPs to my desktops running Thunderbird.

The reason I have resorted to using Getmail is because I don't have a static IP (from my ISP) for my server, and thus this server doesn't act as an MX.

I have implemented Spamassassin in my Getmail script as described here.

From further research, I understand that in order to fully utilize Spamassassin 's potential, I have to resort to training it with SA learn.

Currently I still receive spam messages, but 50% of spam is marked as ****SPAM****, and the other half is not marked at all.

My question is this:

1) How do I get getmail to move messages marked as spam by spamassasin to be moved to a JUNK folder within my mailbox automatically?

2) I thought of creating a folder where my users can move messages they deem to be spam, and set up a crontab script to invoke salearn regularly on this folder to get the bayes engine to learn from it. Is this the correct way of doing it?

View 6 Replies


ADVERTISEMENT

Ubuntu :: Do I Need An Antivirus Or Spam / Malware Filter?

Nov 4, 2010

1.Have installed ubuntu 10.04 on 2 pc's both run xp on 1 pc boot up selects xp the other selects ubuntu as the first choice. Why?

2.How do I uninstall ubuntu, and what effect will it have on xp ( both imported xp documents and settings ).

3.Do I need an antivirus or spam/malware filter?

View 4 Replies View Related

Ubuntu :: Need Scanning Of Incoming Emails & Spam Filter

Jun 22, 2011

I want to read my emails locally using Evolution & Thunderbird or some other mail client. I have bought a new domain and would want incoming emails sent to this domain ids to be scanned by a virus scanner & spam filter.I have read that MailScanner + SpamAssasin is a good combination/option. Are there any others for my requirement.I am not a Linux/Ubuntu expert - so a detailed step by step tutorial to set this up is what i am looking for.I am using Ubuntu 10.04 home user.

View 2 Replies View Related

Security :: Spam Filter Software For ISP Environment.

Jan 24, 2011

We operate a small ISP and are currently using a debian distro as our gateway server.Recently we have had an increased number of spam issues with customers (not them sending it directly, rather the customer getting infected with a virus/malware and then their computer becoming a bot).I'd like to set up another gateway of sorts to sit after our authentication gateway but before our backbone to provide spam filtering (and hopefully virus filtering) for any traffic passing through which might be email.I've tried searching for any linux based software which would suit, but I'm coming up empty.

Surely there's something already out there which can perform this task.Finally, just to clarify, I'm not talking about spam filtering for email accounts we host ourselves (this is built into our mail server); I'm talking about spam originating from customers PC's which is passing through our gateway (but not our mail server).

View 1 Replies View Related

Networking :: Implementing The Spam Filter On Mail Server On FreeBsd?

Feb 8, 2010

I am new comer in this forum and the beginner on freeBsdI have a problem on how to implement the spam filter program on mail server, the problem is i have no idea on how to implement and test the spam filter program on the mail server and where should i put the program? is it in pop3?

View 3 Replies View Related

Ubuntu Security :: Add Smtp Authentication To Postfix Installation Used As Spam Filter For Exhange Server

Feb 26, 2010

I followed this How To (https://help.ubuntu.com/community/Postfix) in order to add smtp authentication to my Postfix installation used as spam filter for my exhange server, and it'seem all ok; the only thing that I don't understand is where I list all the users (with passwords) that I authorize to send mail through my server...

View 3 Replies View Related

Fedora Servers :: Setup A Little Mail Ob Private Using Getmail To Get The Mails From Different Pop Accounts?

Aug 17, 2010

i've set up a little mail server ob my private server, using getmail to get the mails from different pop accounts and to send it to maildirs of some virtual users, and i use dovecot as imap server to provide the mails to my clients which are mostly outook 2007. i run getmail as a cronjob which fetches my mails every 2 minutes, anyhow i'd like to run it on demand when a client pushes the send/receive button. is there a way to tell dovecot to run getmail on demand?

View 6 Replies View Related

Ubuntu Servers :: Discard The Spam Mail ?

Aug 11, 2011

I had setup postfix and spam assassin, and in my environment, I forward the incoming email to my exchange server.

Everything works now, in my mail box, I can receive the email with subject ******SPAM*****. but is there a solution, when spam assassin finished the scan and mark spam, if the score is very high, may be stop to forward it to exchange, for example, send it to a special email box?

View 1 Replies View Related

Ubuntu Servers :: Outgoing Mail ALWAYS Flagged As Spam

Mar 2, 2010

I've got a web server that's hosting a few sites, and there are a few WordPress instances with these sites. With Wordpress, whenever a user registers with the site, they receive an email.With my server, it sends mail via Sendmail. This is all fine and good, except no matter what, it's flagged as spam. Is there any way to correct this?Keep in mind that this isn't a mail server, and the only reason the server ever sends mail is for new wordpress users and password resets.

View 8 Replies View Related

Ubuntu Servers :: Postfix Spam 'from' Address Query?

May 17, 2011

Very new to Ubuntu and Linux so this may be a simple one. I've recently setup an Ubuntu Server 10.04 box as a mail relay running Postfix and Amavisd-new (Spamassassin & ClamAV) and this has been working really well. I started to get a few emails through today with the following header[URL]..(removed domain name) The name's always in quotes and random. The fqdn is that which I configured in postfix as $myhostname. I can't figure out how this address is being used. This box is only used for incoming mail and acts as a relay to Exchange. Exchange doesn't send out through it. The only thing that may be going outwards is bounced messages from Exchange which are almost exclusively to linkedin.

The fqdn isn't public. This box isn't even part of our internal domain, it's just named that way with manual DNS added. Anyone seen this before? Will this header have been part of the message when it arrives at postfix or could this have been added by postfix itself?

View 2 Replies View Related

Server :: Sending Spam To The Spam Folder?

Apr 30, 2009

I just setup SpamAssassin and what not following this tutorial

[URL]

I am using CentOS 5.3. I was half way through that and got an email that had ***SPAM*** in the subject. Haven't received any more. First of all I want to know if spam will still get delivered, and just have a modified subject. Second, I want to know how to set it up so Spam goes to a user's spam mailbox (Virtual Users). And third of all, is it possible to disable spam filtering on a user basis, preferably using MySQL tables? Is it possible for users to mark a message as spam, and all further messages sent from that address will be sent to spam folder but only for that user?

EDIT: Yes spam is getting delivered with a modified header, on the server site, how can i deliver to spam folder? how to create IMAP virtual mailboxes on request without having to send an email to them first? Using virtual users with Courier Imap

View 3 Replies View Related

Ubuntu Servers :: Block Spam In Postfix Based On Keywords?

Jun 23, 2011

i keep receiving this damn annoying spam: Quote: No Cost Website Analysis and Ranking Report Rank mysite.com at the top of the 3 major search engines Do you want to know why your competitors are showing up at the top of the three major search engines and how you can rank on top? To increase the number of visitors to your website it is crucial that you have a top search engine position. If you are like most people, you will spend countless hours trying to get traffic to your website.

Our search engine optimization experts will run a detailed website ranking and analysis report showing you exactly where mysite.com currently stands in all the major search engines along with the recommendations of how we can increase your ranking on Google, Yahoo and Bing. For Your No Cost Analysis Report and More Info Please Click Here

[Code]...

i get about 30 of those a day, everyday, for a long time. ive asked the ISP to stop it (theplanet.com) they are not responding and the spam continues. i was thinking is there a way that i can tell postfix to reject emails that contain "No Cost Website Analysis and Ranking Report" in their subject? there must be a way but i dont know how.

View 4 Replies View Related

Fedora Servers :: Catching The Spam At The Sendmail Level

Oct 16, 2009

I'm running FC10, with the sendmail that was part of it in Feb 09. Anyway, Up till now I've been using the user client to do spam filtering, But I'd like to start catching the spam at the sendmail level. What are my options today? I tried searching the forums and found a bunch of threads from 2001-2006, but I figured many of the ideas are now longer vaild.

View 2 Replies View Related

Ubuntu Servers :: Dovecot Won't Show Mail

Jan 15, 2010

I've got the problem that Dovecot won't show me my mail!

I've set up my mail_location to maildir:~/Maildir/, and set up a namespace

Code:
namespace private {
separator = .
prefix = INBOX.
inbox = no

[Code]....

I am able to copy mails from another account to the account on my server. But I've got no clue of where dovecot stores them. Not in /var/mail I've checked..

This happened after I re-installed with a 9.10 Ubuntu Server disc.

View 1 Replies View Related

Ubuntu Servers :: Getting Sieve To Work With Dovecot On 10.04?

Sep 7, 2010

I'm having a problem getting sieve to work with dovecot on 10.04. Even weirder, when I try to compile the following script with sievec

Code:
require ["setflag","fileinto"];
if header :contains "X-DSPAM-Result" "Spam" {
setflag "\Seen";
fileinto "Junk";

[Code]...

edit: found the mistake, should've required imap4flags instead of setflag.

View 1 Replies View Related

Server :: Forwarding Spam To A Spam Box?

Aug 25, 2009

I currently have the following email server set up:

Postfix with mysql backend
Dovecot
clamav
spamassassin
amavisd

And it all works great. However I would like it for amavisd to forward all the marked spam into a folder on each user account, but I cannot figure this out.

View 5 Replies View Related

Fedora Servers :: Postfix : Some Users Considered As Spam By Certain Mail Providers?

May 21, 2010

I have an issue with postfix and my server.One account (mine) is not considered as spam by no one. But all the other users are treated as spam by yahoo, and hotmail. And I can't understand why.Here are the header from one user who sent an email to my yahoo account (treated as spam):

Code:
From userNAme Sat May 22 01:52:27 2010
X-Apparently-To: me@yahoo.ca via 98.136.183.25; Fri, 21 May 2010 14:52:55 -0700

[code]...

View 5 Replies View Related

Ubuntu Servers :: Roundcube Cannot Connect To Imap - Dovecot

Jul 20, 2010

I have a problem connecting my roundcube to my imap server.

So, here it is : I have a working imap server (dovecot), installed following the guide provided here [url]. I can successfully telnet it, or ssl it (from localhost or from another ip of my local network). I can even use my thunderbird from another local computer. Well, for me it is working fine.

Then I installed roundcube (0.3.1-3) with synaptic, but I cannot connect to my localhost imap server.

I have set auth as plain ($rcmail_config['imap_auth_type'] = 'plain';)

Looking in my dovecot log, i see two different behaviour. One is when it seems correct, and roundcube log in imap server, but is disconnect immediately :

Second is when server is refusing the password :

I am working with a plain text passwd, with no encryption at all. Does roundcube encrypt the password I type before to sent it to imap ?

I cannot explain the first behaviour, when roundcube sometimes managed to connect but disconnect immediately. I manage ONE time to reach my mailboxes, but i don't know how, and this never happens again.

View 1 Replies View Related

Ubuntu Servers :: Postfix+dovecot Not Working As Expected?

Nov 9, 2010

I have tried to find solution in existing posts but could not specifically find any with my kind of issues and hence a new post on oft repeated subject !! -- and apologies for a long long post here.Here is where I am ..On a AMD 64bit machine - I have ubuntu 10.10 desktop installed. I want this development machine to support virtual mailboxes so that I can use them from multiple apps and create real life deployment situations.I installed postfix + dovecot following the tutorials available here and current state is - I can send mails using telnet sessions and I see that the mail files are getting created in /Maildir form as I have directed in the conf files. I have configured Thunderbird mail client as well.

Issue #1: Mail sending works from Thunderbird but it always responds back with 'No mail on server' message when I try to receive mails. SMTP is configured with STARTTLS and POP3 with None (i.e. plain text password)Issue #2: Also, while going thru conf, logs and during testing - I found a few things which defer in this installation for authentication. I have given the session transcripts here.Issue #3: That being major issue - I also want to configure my virtual users to use TB client to access their mails - I did not find any tutorials or pointers towards that in my search for past few days. If I send mails to a non-Unix virtual user - the mail gets stored into /home/vmail/<domain>/<user>/new directory.Here are the conf files.main.cf for postfix

Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first

[code]....

View 1 Replies View Related

Ubuntu Servers :: Dovecot - Time Moved Backwards ?

Jan 17, 2011

Dovecot is setup to run on each startup but each time I restart my system, I find that it is not running(killed), when I check my logs it says time moved backwards for x seconds. Essentially, I'm having this problem, [url] what is the solution in ubuntu so that dovecot would not be killed on startup? currently I have to put /etc/init.d/dovecot restart into rc.local to restart it again...

View 1 Replies View Related

Ubuntu Servers :: Shared Mailbox / Folders At Dovecot

Feb 14, 2011

I have made some little mail server (postvix+dovecot+fetchmail) at ubuntu. The mail serve is using system accounts. Now I want to creat Shared mailbox. I have found some information, but I can't understand it correctly. Can U view the below information and correct me.

I have several accounts: Oleg (my account - /home/oleg/Maildir/); pankov (/home/pankov/Maildir); cv ( /home/cv/Maildir/). I want to share the mailbox of CV user:
I have add the follwoing information to dovecot.conf:

# You need to create also a private namespace:
namespace private {
separator = /
prefix =

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Cannot Receive Mail On Dovecot / Postfix

Mar 10, 2011

I do not know why I could send email outside but not receive. I use relay to my ISP that port 25 is blocked by my ISP. What can I doing with configuration when it should be works to receive mail? Okay, I have sent a test e-mail between localhost and it works. I can send from mailserver to my gmail without problem. So why I cannot receive email from gmail?

View 2 Replies View Related

Ubuntu Servers :: Dovecot Binding To LDAP On Reboot?

Jun 9, 2011

Today I'm trying to configure Postfix+Dovecot to use Samba4's LDAP database for authorisation and mail delivery. As I can see from /var/log/mail.log, Dovecot tries to bind to LDAP right after reboot , but fails:

Code:

pdcadmin@PDC1:~$ cat /var/log/mail.log
Jun 9 13:06:46 PDC1 dovecot: auth(default): ldap_bind
Jun 9 13:06:46 PDC1 dovecot: auth(default): ldap_simple_bind

[code].....

Believing this to be a sign of succesfull bind, I couldn't understand the reason behind it. Why do I need to restart or reload dovecot service to make it work (though it fails on the next step with "dict_ldap_lookup: Search error 1: Operations error" and "451 4.3.0 ... Temporary lookup failure")?

View 2 Replies View Related

Ubuntu Servers :: Dovecot Service Stop Automatically?

Jul 1, 2011

i have two ubuntu server the first run on ubuntu 9.10 = ok the second run on 10.10 maverick a have the problem that dovecot service stop automatically

View 1 Replies View Related

Ubuntu Servers :: Dovecot/Postfix Cannot Receive Email Via Client?

Apr 12, 2011

I have a very basic install of dovecot and postfix on the latest version of Ubuntu server. This is an internal only email server with internal only DNS. I can send email via clients and check said emails via the command line when logged in as the appropriate user. I cannot for the life of me check said emails via SquirrelMail on the server nor using IMAP clients. I have no idea where to look and I can't find a basic tutorial for the life of me. Where should I start?

View 9 Replies View Related

Fedora Servers :: Dovecot Stopped To Authenticate / Why Is So?

Jul 13, 2009

This happened during the bump from 1.1.4 to 1.2.0 (in F11), but now nobody can login into the mail server.

The strace of dovecot-auth says that it sends messages over an AF_NETLINK socket before failing. Why in the world would it do that?

View 2 Replies View Related

Ubuntu Servers :: Using Iptables To Get Web Usage Statistics And Filter Urls?

Dec 16, 2010

I'm deploying new ubuntu server which should act as a router. I've already set up the NAT for local network, and also did some shaping for different groups of users, but now I'm facing new problem.I need to make a scheduled URL filter. I know it's not a problem with cron and simple script, but maybe there is existing way to do that? And also, I need to make statistics on web-traffic. I need to have list of URLs visited by users (source ip, destination url). Is it possible with iptables? or with any other software but without using proxy servers.

View 9 Replies View Related

Ubuntu Servers :: Way To Configure Dovecot For Auto-Reply Out Of Office Messages?

Jul 5, 2011

Does anyone know of a way to configure dovecot for Auto-Reply Out of Office messages? Preferably one that clients can do on their own from their PCs.

View 1 Replies View Related

Ubuntu Servers :: Dovecot - Outlook - POP3 - Extremely Slow Receiving?

Jul 11, 2011

recently I've replaced an old windows mailserver with a new one running 10.04 LTS (postfix - dovecot) but I got a strange problem with MS Outlook 2003 and 2007 on Win XP. These MUAs receive new messages extremely slow. Some of messages are received repeatedly. All I found in /var/log/mail.log is login and then (after 1 minute) disconnection for inactivity. No errors.:

Jul 11 10:36:51 dovecot: pop3-login: Login: user=(user@domain.org), method=NTLM, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.xxx Jul 11 10:37:07 dovecot: POP3(user@domain.org): Disconnected for inactivity top=0/0, retr=1/5434, del=0/12, size=954793 nothing more. And outlooks wait and wait reporting "receiving". What they are waiting for? Is there something dovecot should send them?

At the same time Mozilla Thunderbird and Opera Mail on the same network with the same setup don't have any problems. I just don't get it. Does anyone know what to do to get it work please?

[Code]...

View 4 Replies View Related

Fedora Servers :: Dovecot Stopped Getting Localhost Mail?

Oct 23, 2010

Last time I rebooted, sendmail & dovecot started from init and everything worked. I needed to reboot this weekend [new videocard] & yum had given me a new kernel etc.Now.2.6.34.7-56.fc13.i686 running Thunderbird - with 2 accounts chuck@otherserver.com and chuck@localhost.
The "otherserver" account works fine. Localhost won't pull in the mail.

/var/log/maillog says
dovecot: pop3-login: Login: user=<chuck>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
dovecot: POP3(chuck): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

[code]....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved