Re: spam and mail forwarding

2007-03-19 Thread Moshe Gorohovsky
Hi Ori,

You can install a sendmail milter.

Try http://dag.wieers.com/rpm/packages/spamass-milter/

Another possibility is MIMEDefang: it runs spamassassin and can run
clamav and other mail filtering software. Get MIMEDefang from
http://dag.wieers.com/rpm/packages/mimedefang/.
You will need to fine-tune MIMEDefang perl code for your needs.

Add

INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:5m;R:5m')

line to your sendmail.mc, regenerate sendmail.cf and reload sendmail.

 - Moshe Gorohovsky

Ori Idan wrote:
 Hello list,
 I assume some people here have more experience then me with sendmail...
 
 I have a Linux server running sendmail.
 The server itself does not store mail for users, it only forwards mail  to
 their addresses.
 It is done by adding their name in /etc/mail/virtusertable
 
 Is there a simple way to run spam filters before forwarding the mail?
 

-- 
Moshe Gorohovsky

A6 CC A7 E1 C2 BD 8C 1B  30 8E A4 C3 4C 09 88 47   Tk Open Systems Ltd.
---
   - Tel: +972.2.679.5364, http://www.tkos.co.il -

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: spam and mail forwarding

2007-03-18 Thread Ira Abramov
Quoting Ori Idan, from the post of Sun, 18 Mar:
 Hello list,
 I assume some people here have more experience then me with sendmail...

I think it's that RPM you need to remove before you install an MTA
because of some conflict. I donno, I use Debian.

 Is there a simple way to run spam filters before forwarding the mail?

There's only one thing that's simple to do with sendmail, that's rpm -e.
Everything is complicated.

Tried googling for sendmail spamassassin howto?

-- 
Weapon of mass distraction
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]