View previous topic :: View next topic |
Author |
Message |
Strowi l33t


Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Wed Sep 21, 2005 10:53 am Post subject: Postfix/Cyrus + Spam/ClamAV Scanning? |
|
|
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 |
|
 |
skunk l33t


Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Wed Sep 21, 2005 12:30 pm Post subject: |
|
|
i use amavis-new for filtering with both clamd & spamassassin and works fine (howto) |
|
Back to top |
|
 |
Strowi l33t


Joined: 19 Aug 2003 Posts: 656 Location: Bonn
|
Posted: Wed Sep 21, 2005 1:25 pm Post subject: |
|
|
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 |
|
 |
skunk l33t


Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Wed Sep 21, 2005 2:02 pm Post subject: |
|
|
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
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 |
|
 |
|