Re: How a correct mail looks like?
From: Harry Phillips (harry_at_hkjsfh.com)
Date: 05/05/04
- Next message: Roman Khutkyy: "Re: Connecting to internet through ethernet card.."
- Previous message: Roman Khutkyy: "Re: Connecting to internet through ethernet card.."
- In reply to: Ohmster: "Re: How a correct mail looks like?"
- Next in thread: Sybren Stuvel: "Re: How a correct mail looks like?"
- Reply: Sybren Stuvel: "Re: How a correct mail looks like?"
- Reply: Ohmster: "Re: How a correct mail looks like?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 05 May 2004 18:10:53 +1000
Ohmster wrote:
>
>>SpamAssassin is what I use and it just plugs straight in. I have a
>>/etc/procmailrc file which sends all mail to the SA deamon. I do all my
>>configuration of SA with Webmin.
>
>
> Hmmm, I have a sendmail server and I get *killed* by spam and MS viruses on
> it. How do you have yours setup? Do you run sendmail? Does sendmail somehow
> forward the mail to something else, procmail or SA?
>
> Excuse me if these seem like dumb questions, it was hard to get sendmail up
> and running right as a mail server and to use pop 3 to get the mail on my
> LAN.
>
So many questions....
What I have for my setup. I use postfix as my MTA, I use CourierIMAP as
the mailserver, I use SpamAssassin as my spam checker, procmail as my
filter/sorter and fetchmail to collect all the mail from various hosts
scattered around the internet.
The way it works:
Incoming,
1. Fetchmail collects the mail.
2. It passes the mail to Postfix.
3. A global /etc/procmailrc sends it to the SpamAssassin deamon.
4. It comes back from SA with a score and marked as SPAM if over 5.5.
5. The global procmailrc then disgards any mail with a SA score over 12.
6. Then the ~/.procmailrc files sort the mail into the IMAP folders for me.
7. I connect to CourierIMAP using any mail client I want to (usually
Mozilla Mail)
Outgoing,
1. Mozilla Mail sends the mail to the internal mail server.
2. Postfix is configured to forward the mail to my ISP. I do this
because some mail servers are configured to refuse message from dynamic
IP pool.
All of this can be of course done using 127.0.0.1 in your settings.
Using IMAP has several advantages.
1. Each message is stored as an individual file, you could have a cron
script remove files older than X number of days.
2. You are not tied to a mail client, if you want to change there are no
import/export worries.
--
Regards,
Harry Phillips
--- Failure is not an option,
it comes bundled with your Microsoft product.
- Next message: Roman Khutkyy: "Re: Connecting to internet through ethernet card.."
- Previous message: Roman Khutkyy: "Re: Connecting to internet through ethernet card.."
- In reply to: Ohmster: "Re: How a correct mail looks like?"
- Next in thread: Sybren Stuvel: "Re: How a correct mail looks like?"
- Reply: Sybren Stuvel: "Re: How a correct mail looks like?"
- Reply: Ohmster: "Re: How a correct mail looks like?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|