FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-08-2010, 07:59 PM
Stan Hoeppner
 
Default Dovecot- WAS Movemail not getting emails

Paul Cartwright put forth on 11/8/2010 1:26 PM:
> On 11/08/2010 01:50 PM, Stan Hoeppner wrote:
>> elsif header :contains "List-Id" "dovecot.dovecot.org" {
>> fileinto "1-Dovecot";
>> stop;
>> }
>
> I tried apt-cache sieve * apt-cache dovecot, but I don't see a package..
> is this a ./configure source app??

You apparently don't enjoy reading .conf files. Sieve is a Dovecot
plugin that you enable in dovecot.conf. It's not a package.

You need to read your /etc/dovecot/dovecot.conf, in fact print it and
sit down with it for a few nights to familiarize yourself with it. Any
time you need clarification, visit the Dovecot wiki. The files should
already be on your system. Look for

/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.la
/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so


> I see you subscribe to dovecot, do you also use the dovecot-antispam
> package?

It's not a package. It's another plugin.

Fighting spam is properly done with your MTA, Postfix in your case, and
mine. It's better to reject spam during the delivery attempt than to
eat it and then analyze it and delete it with a content filter such as
SpamAssassin. So, no, I don't use Dovecot anti-spam to train a content
filter. I don't use a content filter. I use this for killing spam and
whitelisting:

header_checks = pcre:/etc/postfix/header_checks,
regexp:/etc/postfix/phish419.regexp, tcp:[127.0.0.1]:2526

smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
check_sender_access hash:/etc/postfix/blacklist
check_recipient_access hash:/etc/postfix/whitelist
check_sender_access hash:/etc/postfix/whitelist
check_client_access hash:/etc/postfix/whitelist
check_sender_access hash:/etc/postfix/auto-whtlst
check_client_access proxy:${cidr}/dnswl

reject_unknown_reverse_client_hostname
reject_non_fqdn_sender
reject_non_fqdn_helo_hostname
reject_invalid_helo_hostname
reject_unknown_helo_hostname
reject_unlisted_recipient

check_client_access hash:/etc/postfix/blacklist
check_client_access proxycre:/etc/postfix/fqrdns.pcre
check_client_access proxycre:/etc/postfix/ptr-tld.pcre
check_client_access proxy:${cidr}/countries
check_client_access proxy:${cidr}/spammer
check_client_access proxy:${cidr}/misc-spam-srcs

reject_rbl_client zen.spamhaus.org
reject_rbl_client psbl.surriel.com
reject_rhsbl_client dbl.spamhaus.org
reject_rhsbl_sender dbl.spamhaus.org
reject_rhsbl_helo dbl.spamhaus.org
check_policy_service inet:127.0.0.1:60000


Currently I'm averaging about 3-5 spams per week making it into my
inbox. Installing that resource hog known as SpamAssassin might cut it
down to 0-2 per week, if that. However, installing amavisd-new and
spamd on my server will likely double the current memory usage and eat a
lot of CPU, just for the sake of catching that last 1% or less of spam
which is easily dealt with via the DEL key. Remember, the goal of an
antispam solution is not to eliminate _all_ spam from your inbox, but to
make the amount of spam easily manageable. I think I've achieved that
here. YMMV.

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CD864A6.4020904@hardwarefreak.com">http://lists.debian.org/4CD864A6.4020904@hardwarefreak.com
 
Old 11-08-2010, 08:16 PM
Paul Cartwright
 
Default Dovecot- WAS Movemail not getting emails

On 11/08/2010 03:59 PM, Stan Hoeppner wrote:


I tried apt-cache sieve * apt-cache dovecot, but I don't see a package..
> is this a ./configure source app??


You apparently don't enjoy reading .conf files. Sieve is a Dovecot
plugin that you enable in dovecot.conf. It's not a package.


well, I went HERE:

http://wiki1.dovecot.org/LDA/Sieve

and it references downloading "the package" here:

http://wiki1.dovecot.org/LDA/Sieve/Dovecot




Getting the sources

You can get the Dovecot Sieve plugin at this*web page.

http://www.rename-it.nl/dovecot/1.2/



so.. I guess I was misled







You need to read your /etc/dovecot/dovecot.conf, in fact print it and
sit down with it for a few nights to familiarize yourself with it. Any
time you need clarification, visit the Dovecot wiki. The files should
already be on your system. Look for

/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.la
/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so



thanks, I love wikis





> I see you subscribe to dovecot, do you also use the dovecot-antispam
> package?


It's not a package. It's another plugin.

Fighting spam is properly done with your MTA, Postfix in your case, and
mine. It's better to reject spam during the delivery attempt than to
eat it and then analyze it and delete it with a content filter such as
SpamAssassin. So, no, I don't use Dovecot anti-spam to train a content
filter. I don't use a content filter. I use this for killing spam and
whitelisting:

header_checks = pcre:/etc/postfix/header_checks,
regexp:/etc/postfix/phish419.regexp, tcp:[127.0.0.1]:2526




I'll look into THAT later... sieve first!

I don't think I have a /etc/postfix/phish419.regexp...

--
Paul Cartwright
Registered Linux user # 367800
 
Old 11-08-2010, 09:21 PM
Stan Hoeppner
 
Default Dovecot- WAS Movemail not getting emails

Paul Cartwright put forth on 11/8/2010 3:16 PM:

>> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.la
>> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so

Well? Did you find the two files above already on your system? They
should be there. They're installed with dovecot-common or dovecot-imapd.

Type:

/# locate sieve_plugin

> I'll look into THAT later... sieve first!
> I don't think I have a /etc/postfix/phish419.regexp...

No, you wouldn't. I run a lot of custom Postfix A/S filters.

That one doesn't stop many overall, but it does stop pesky phish and 419
spam. Every little bit of spam killed adds up to alot.

Since you're going to be hosting your own MX mail host now, you should
subscribe to the dovecot and postfix mailing lists.

--
Stan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CD877E4.3080900@hardwarefreak.com">http://lists.debian.org/4CD877E4.3080900@hardwarefreak.com
 
Old 11-08-2010, 09:33 PM
Paul Cartwright
 
Default Dovecot- WAS Movemail not getting emails

On 11/08/2010 05:21 PM, Stan Hoeppner wrote:
> Paul Cartwright put forth on 11/8/2010 3:16 PM:
>
>>> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.la
>>> /usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so
> Well? Did you find the two files above already on your system? They
> should be there. They're installed with dovecot-common or dovecot-imapd.
>
> Type:
>
> /# locate sieve_plugin
-rw-r--r-- 1 root root 1016 Oct 13 03:40
/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.la/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.la
/usr/lib/dovecot/modules/lda/lib90_sieve_plugin.so
yes, found them both!

>> I'll look into THAT later... sieve first!
>> I don't think I have a /etc/postfix/phish419.regexp...
> No, you wouldn't. I run a lot of custom Postfix A/S filters.
>
> That one doesn't stop many overall, but it does stop pesky phish and 419
> spam. Every little bit of spam killed adds up to alot.
>
> Since you're going to be hosting your own MX mail host now, you should
> subscribe to the dovecot and postfix mailing lists.
already subscribed to dovecot.. didn't think about postfix.. thanks!



--
Paul Cartwright
Registered Linux user # 367800



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4CD87ACD.30802@pcartwright.com">http://lists.debian.org/4CD87ACD.30802@pcartwright.com
 

Thread Tools




All times are GMT. The time now is 09:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org