Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix/Cyrus + Spam/ClamAV Scanning?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Wed Sep 21, 2005 10:53 am    Post subject: Postfix/Cyrus + Spam/ClamAV Scanning? Reply with quote

hi,

yesterday i converted my sever from courier-imap -> cyrus-imap. After struggling with the messed ebuild in portaeg ( for others with the problem: change "emake" -> "make", there is already a thread at bugzilla), it already checks for spam transfers mail to the correct mail-folders. And btw: It's so much faster than courier...;))

Fot this i've setup postfix like this:

main.cf
Code:

..
mailbox_transport = spamcyr
..


master.cf
Code:

spamcyr   unix  -       n       n       -       -       pipe
  user=cyrus argv=/usr/bin/spamc -f   -e /usr/lib/cyrus/deliver -r ${sender} -m ${extension} ${user}


But how can i integrate clamassassin? is it possible to run it from sieve-filter-script?
Or do i need to run maildrop and pipe the mail through the filters?
What would be the best way to do this?


Thx!
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Wed Sep 21, 2005 12:30 pm    Post subject: Reply with quote

i use amavis-new for filtering with both clamd & spamassassin and works fine (howto)
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Wed Sep 21, 2005 1:25 pm    Post subject: Reply with quote

thx for your reply,

i couldn't find anything related to cyrus + clam.
I guess my problem is more a problem of a fundamental understanding of how the mail gets router.

Before (with maildrop+courier) i thought incoming mail ( btw does it matter if mail is sent to the machine, or if i fetch it from other accounts like gmx?), goes directly to the mailbox_transport =maildrop, and them gets filtered accordingly.

How will this work now?
My guess: incoming mail get's filtered before sent to the mailbox_transport and the rest as usual?
Am i right?

guess i didn't get to amavis, because i deleted everything unneded from my main.cf (including content_filter), and didn't know about it.;)
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Wed Sep 21, 2005 2:02 pm    Post subject: Reply with quote

Strowi wrote:
How will this work now?
My guess: incoming mail get's filtered before sent to the mailbox_transport and the rest as usual?
Am i right?

don't really know the difference :oops:
Strowi wrote:
guess i didn't get to amavis, because i deleted everything unneded from my main.cf (including content_filter), and didn't know about it.;)

maybe the official documentation will help you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum