Re: [Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-19 Thread James Ebright
Yes, you do need Mail::Spamassasin perl libraries installed, but you do not
need spamd. Spamd is the daemon, procmail rules hit the spamassassin script
itself.. not spamd or spamc, at least from what I have seen... (we don't use
procmail here and let end users select ham/spam/whitelist via openwebmail).

:0fw: spamassassin.lock
| /user/bin/spamassassin

:0:
* ^X-Spam-Status: Yes
caughtspam

(Straight fom the wiki)

I don't know.. maybe you would get better performance using spamc/spamd in a
sitewide install using procmail verses  /user/bin/spamassassin (probably
would, but then you woudl need to have spamd running), but I think youd get
even greater performance using mimedefang... esp if you are already using it
anyway.

Also, though I have not tested this as we have not had a need.. I believe
spamassassin will still look for a user_pref file in each users home dir and
append that config to the ones it finds in /etc/mail/spamassassin/*.cf whether
run from mimedefang or seperately... I know it picks up configs in
/etc/mail/spamassassin/*.cf when run from mimedefang.

Jim



On Thu, 18 Nov 2004 21:21:25 -0500, Rich West wrote
> I would like to clarify: You DO need Spamassassin to be installed. 
>  But, the "spamd" process it not used by MimeDefang.
> 
> HOWEVER, if you want the full capabilities of Spamassassin 
> (MimeDefang utilizes a fair amount of spamassassin's features, but 
> not individual user preferences such as whitelists and blacklists 
> per user), you DO need to run "spamd" with either a local 
> .procmailrc file (with procmail installed, of course) or a system-
> wide .procmailrc file.
> #> more /etc/procmailrc
> DROPPRIVS=yes
> 
> :0fw
> * < 256000
> | /usr/bin/spamc
> 

--
EsisNet.com Webmail Client

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-18 Thread Rich West
I would like to clarify: You DO need Spamassassin to be installed.  But, 
the "spamd" process it not used by MimeDefang.

HOWEVER, if you want the full capabilities of Spamassassin (MimeDefang 
utilizes a fair amount of spamassassin's features, but not individual 
user preferences such as whitelists and blacklists per user), you DO 
need to run "spamd" with either a local .procmailrc file (with procmail 
installed, of course) or a system-wide .procmailrc file.
#> more /etc/procmailrc
DROPPRIVS=yes

:0fw
* < 256000
| /usr/bin/spamc
-Rich
James Ebright wrote:
[..snip..]You do NOT need spamd or sa at all.. mimedefang takes care of that. 
[..snip..]
On Mon, 15 Nov 2004 21:40:39 -0500, Jeff Rife wrote
 

You don't need spamd running at all.  SpamAssassin is integrated 
into MIMEDefang through pure Perl.
   

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-16 Thread Damrose, Mark
> -Original Message-
> From: Alexander Dalloz [mailto:[EMAIL PROTECTED]
 
> Am Di, den 16.11.2004 schrieb [EMAIL PROTECTED] um 1:04:
 
> > Hitete wrote:
> > > Or does sendmail rebuild the .mc file at every
> > > "/etc/rc.d/init.d/sendmail start" command ?.
> > No.
 
> Unbelievable, but the Fedora init script for Sendmail does that :)

Redhat too, but only if the sendmail-cf package is installed in 
addition to the sendmail package.
___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-16 Thread James Ebright
You need to look in the redhat dir in the cource dir for mimedefang and grab
the init script for redhat and install and sart it as well.

Even if fedoras sendmail init script makes the cf file I'd do that myself
anyway. You do NOT need spamd or sa at all.. mimedefang takes care of that.

You DO need to make sure you have a milter setup for mimedfang.. but do NOT
want one for spamd (this is in sendmail.mc).

Important config files for a redhat or redhat clone:

/etc/mail/sendmail.mc/cf
/etc/sysconfig/mimedefang
/etc/mail/sa-mimedefang (this is in /etc/mail/spamassasin on older mimedefang
installs)
/etc/mail/mimedefang-filter
/etc/init.d/mimedefang (or mimedefang.init if you didnt rename it)

You should start mimedefang before sendmail (the script is chkconfig compliant)

Jim Ebright
www.esisnet.com
ESISNET, LLC

On Mon, 15 Nov 2004 21:40:39 -0500, Jeff Rife wrote
> On 16 Nov 2004 at 0:38, Hitete wrote:
> 
> > I have fedora core 2 + mimedefang 2.42 + SA 2.64 + Sendmail.
> > 
> > I've installed everything corectly :
> > spamd starts ok,
> > sa starts o
> > dcc starts ok
> 
> You don't need spamd running at all.  SpamAssassin is integrated 
> into MIMEDefang through pure Perl.
> 
> > What kinda logs should I see in maillog if SA worked well with mimedefang
> > and sendmail ?.
> 
> You need to make sure that logging is enabled for MIMEDefang 
> (MX_LOG=yes and SYSLOG_FACILITY=mail in /etc/sysconfig/mimedefang).
> 
> You also need to make sure that any optional function calls are 
> enabled 
> (MX_RELAY_CHECK=yes, MX_SENDER_CHECK=yes, and/or 
> MX_RECIPIENT_CHECK=yes in /etc/sysconfig/mimedefang).
> 
> Then, just add lines like the following to your /etc/mail/mimedefang-
> filter:
> 
> md_syslog('info', "md_info: Got here");
> 
> These will show up in /var/log/maillog.
> 
> --
> Jeff Rife|  
> SPAM bait:   | 
> http://www.nabs.net/Cartoons/OverTheHedge/TiVoForRealLife.gif 
> [EMAIL PROTECTED] |  
> [EMAIL PROTECTED] |
> 
> ___
> Visit http://www.mimedefang.org and http://www.canit.ca
> MIMEDefang mailing list
> [EMAIL PROTECTED]
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


--
EsisNet.com Webmail Client

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-15 Thread Jeff Rife
On 16 Nov 2004 at 0:38, Hitete wrote:

> I have fedora core 2 + mimedefang 2.42 + SA 2.64 + Sendmail.
> 
> I've installed everything corectly :
> spamd starts ok,
> sa starts o
> dcc starts ok

You don't need spamd running at all.  SpamAssassin is integrated into 
MIMEDefang through pure Perl.

> What kinda logs should I see in maillog if SA worked well with mimedefang
> and sendmail ?.

You need to make sure that logging is enabled for MIMEDefang 
(MX_LOG=yes and SYSLOG_FACILITY=mail in /etc/sysconfig/mimedefang).

You also need to make sure that any optional function calls are enabled 
(MX_RELAY_CHECK=yes, MX_SENDER_CHECK=yes, and/or MX_RECIPIENT_CHECK=yes 
in /etc/sysconfig/mimedefang).

Then, just add lines like the following to your /etc/mail/mimedefang-
filter:

md_syslog('info', "md_info: Got here");

These will show up in /var/log/maillog.


--
Jeff Rife|  
SPAM bait:   | 
http://www.nabs.net/Cartoons/OverTheHedge/TiVoForRealLife.gif 
[EMAIL PROTECTED] |  
[EMAIL PROTECTED] |  


___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-15 Thread Alexander Dalloz
Am Di, den 16.11.2004 schrieb [EMAIL PROTECTED] um 1:04:

> Hitete wrote:
> > I haven't compiled sendmail.mc to sendmail.cf.
> > 
> > Is that essential?
> Yup, it sure is.
> 
> > Or does sendmail rebuild the .mc file at every
> > "/etc/rc.d/init.d/sendmail start" command ?.
> No.

Unbelievable, but the Fedora init script for Sendmail does that :)

> Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp 
Serendipity 01:20:36 up 26 days, 23:00, load average: 0.23, 0.20, 0.18 

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


RE: [Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-15 Thread Matthew.van.Eerde
Hitete wrote:
> I haven't compiled sendmail.mc to sendmail.cf.
> 
> Is that essential?
Yup, it sure is.

> Or does sendmail rebuild the .mc file at every
> "/etc/rc.d/init.d/sendmail start" command ?.
No.

Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com Software Engineer
perl -e"map{y/a-z/l-za-k/;print}shift" "Jjhi pcdiwtg Ptga wprztg,"

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


[Mimedefang] STILL : MIMEDEFANG NOT TAGGING

2004-11-15 Thread Hitete
I have fedora core 2 + mimedefang 2.42 + SA 2.64 + Sendmail.

I've installed everything corectly :
spamd starts ok,
sa starts o
dcc starts ok

BUT no filtering occurs ?.

I've modified sa-mimedefang.cf as well as miemdefang-filter,  BUT I haven't
compiled sendmail.mc to sendmail.cf.

Is that essential ? Or does sendmail rebuild the .mc file at every
"/etc/rc.d/init.d/sendmail start" command ?.

What kinda logs should I see in maillog if SA worked well with mimedefang
and sendmail ?.


/Hitete

P.S; I'm on a gateway that can't be an issue can it ?.

___
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang