Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Spamassassin & procmail install question
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
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Thu Apr 06, 2006 5:19 am    Post subject: Spamassassin & procmail install question Reply with quote

Hi,

I run gentoo and kde 3.5.1 with kmail application for mail. My pc is a workstation and wish to implement spamassassin to interface it with kmail. Later on when I learned how to properly use it I will create a dedicated PC with SPTP and spamassassin where all my incoming mail will be filtered.

I wish to ask if someone who has already installed this can give me some tips on how to set it up. So far I still have to emerge spamassassin (and all its dependencies). I do not have procmail installed.

Do I just emerge spamassassing procmail and then create filters with kmail?
Is it possible to have a sequence for install and also some links to howto for proper installation?

Keep in mind I already have my SMTP server (hosted by my ISP). I would use spamassassin on my local PC to filter my incoming mail and also to learn how to use it in order to later on setup my own SMTP.

I thank you for your help,
Spiro
Back to top
View user's profile Send private message
djay
Apprentice
Apprentice


Joined: 18 Apr 2005
Posts: 188
Location: Israel

PostPosted: Thu Apr 06, 2006 12:49 pm    Post subject: Reply with quote

In general, there are these tips , but it based on configured spamassassin.

For spamassassin configuration, you can read this or in general there's a lot info about installing smapassassin with postfix on Gentoo Wiki in a "Services" section
Back to top
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Fri Apr 07, 2006 5:50 am    Post subject: Reply with quote

Hi and thanks for your reply.

Looking at some documents, I see that spamassassin is not the only application I need to install. Do I already have an SMTP installed per Gentoo install?
What is postfix, amavisd-new?

I need to understand before I proceed with installation.
I have spamassassin that handles filtering. I assume I also need procmail, correct?
Do I have to configure an SMTP or is not needed?

As for now, I understand I have to emrge spamassassin and procmail. But I am mostly sure that I need an SMTP or send mail or so.
So, is it possible with few lines to explain an overall picture of a functioning system so that I understand which components are needed, what interracts with what and the sequence an email takes till it arrives to kmail?

I am reading around but fail to understand clearly.

Also, is it a good idea to also implement clamassassin? Does it coexist with spamassassin or they do the same work?

Thank you,
Spiro
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Fri Apr 07, 2006 6:31 am    Post subject: Reply with quote

Spamassassin (SA) can be called by various methods. A common way is to take a working mail set-up and invoke SA using Procmail. Most HOWTOs will assume a working MTA.

I'd say emerge Postfix as an MTA and get that fully working. You might need Fetchmail to get email from your POP account into Postfix.

Emerge SA.

Use SA as a content_filter under Postfix.

Then Fetchmail brings the mail and passes to Postfix. Postfix hands off to SA and then SA filters and hands back. Postfix continues and drops into the local mailbox. No sign of Procmail as not essential there.

I'd avoid amavisd as complex and resource hungry.
Back to top
View user's profile Send private message
djay
Apprentice
Apprentice


Joined: 18 Apr 2005
Posts: 188
Location: Israel

PostPosted: Sat Apr 08, 2006 12:53 pm    Post subject: Reply with quote

magic919 wrote:
Spamassassin (SA) can be called by various methods. A common way is to take a working mail set-up and invoke SA using Procmail. Most HOWTOs will assume a working MTA.

I'd say emerge Postfix as an MTA and get that fully working. You might need Fetchmail to get email from your POP account into Postfix.

Emerge SA.

Use SA as a content_filter under Postfix.

Then Fetchmail brings the mail and passes to Postfix. Postfix hands off to SA and then SA filters and hands back. Postfix continues and drops into the local mailbox. No sign of Procmail as not essential there.

I'd avoid amavisd as complex and resource hungry.


I suppose its a good way to do it. Most "home mail servers" do work that way.

But the original purpose was to do it without any MTA installation (at least at first) and here's why you invoke SA from Kmail, as plugin.
Back to top
View user's profile Send private message
SAngeli
l33t
l33t


Joined: 16 Apr 2004
Posts: 904
Location: Italy

PostPosted: Sat Apr 08, 2006 2:13 pm    Post subject: Reply with quote

Could you please elaborate a bit more about plugin?
I am interested in both ways.

I thank you for the explanations.
Spiro
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