Re: sendmail + spamassassin

2006-10-09 Thread dick hoogendijk
On 08 Oct jdow wrote:
 From: dick hoogendijk [EMAIL PROTECTED]
 
 What is the best way to integrate spamassasin with sendmail?
 MIMEDefang?
 
 Best is horridly subjective. I use procmail here with considerable
 success. However, what works for me is not necessarily ideal for you.
 Maybe a better description of the intended use would help.

You're right. 'Best' is subjective.
I want a quick and well documented way of installing 'some' util that
interacts with sendmail, so I can use spamd. I have things running pretty
slick with the courier package (mailfilter) on one server, but I want to
change to sendmail on another and simply *need* spamassassin to run.
I don't use procmail(!) otherwise the question was not asked.
A .procmailrc file would take care of this quite as easy as my mailfilter
file does now. But as said, I run sendmail with lmpt to cyrus.
Spam_milter is mentioned; I guess this is just for spamassassin, while
MIMEDefang can also integrate a (future) use of virus filtering.
I'll study some more..

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ Solaris 10 6/06 ++
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail + spamassassin

2006-10-09 Thread Robert Huff

dick hoogendijk writes:

  Spam_milter is mentioned; I guess this is just for spamassassin,
  while MIMEDefang can also integrate a (future) use of virus
  filtering.

Unless you are majorly committed to a generalized solution, I
found integrating clamav no harder than integrating spamass_milter.


Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail + spamassassin

2006-10-09 Thread Dave McCammon


--- dick hoogendijk [EMAIL PROTECTED] wrote:

 What is the best way to integrate spamassasin with
 sendmail?
 MIMEDefang?
 
 -- 

I use XamimeLT used with sendmail, clamav and
spamassassin. My mail server isn't very busy, about
2000 messages a day pass(or attempt to) through it and
I haven't had a problem with it.
It's no longer a port(used to be called inflex). But
the install is relatively easy.
XamimeLT's web site is http://pldaniels.com/xamimelt/.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail + spamassassin

2006-10-08 Thread dick hoogendijk
What is the best way to integrate spamassasin with sendmail?
MIMEDefang?

-- 
dick -- http://nagual.nl/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 +++ Solaris 10 6/06 ++

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail + spamassassin

2006-10-08 Thread Robert Huff

dick hoogendijk writes:

  What is the best way to integrate spamassasin with sendmail?
  MIMEDefang?

Short answer: mail/spamass-milter?
Real answer: depends on the rest of your mail set-up, and what
your goals and constraints are.


Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail + spamassassin

2006-10-08 Thread Jonathan Horne
On Sunday 08 October 2006 15:52, dick hoogendijk wrote:
 What is the best way to integrate spamassasin with sendmail?
 MIMEDefang?

i do this:

add this to /etc/make.conf:
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

cd /usr/ports/security/cyrus-sasl2-saslauthd; make install clean

cd /usr/src/lib/libsm; make clean; make obj; make depend; make
cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make
cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make 
install

cd /usr/ports/mail/dovecot; make install clean

cd /usr/ports/mail/spamass-milter; make install clean


the last part there, will install spamassassin as well as spamass-milter.  
along with settings things to be able to start in /etc/rc.conf (and 
configuring other .conf files as necessary), this will get you everything you 
need for a mail service (of course, if you already have a favorite pop3/imap 
solution in place, omit the dovecot sugesstion).

if you do end up interested in seeing how i set my server up, line by line, i 
have a document here that you might like:

http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services

cheers,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail + spamassassin

2006-10-08 Thread jdow

From: dick hoogendijk [EMAIL PROTECTED]


What is the best way to integrate spamassasin with sendmail?
MIMEDefang?


Best is horridly subjective. I use procmail here with considerable
success. However, what works for me is not necessarily ideal for
you. Maybe a better description of the intended use would help.

{^_^}   Joanne, who is getting scared - I almost understand procmail
   syntax. That must mean I am going insane.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Jail and spammass-milter (sendmail/spamassassin)

2004-04-24 Thread Harald Schmalzbauer
Am Sonntag, 25. April 2004 04:30 schrieb Harald Schmalzbauer:
 Am Sonntag, 25. April 2004 04:21 schrieben Sie:
[...]
   jail and so they should see the same socket?
 
  Yes, in that case, both sendmail and spamass-milter should see the same
  socket.

 Hmm, any idea why it doesn't work (tm)?
 Anyway, I'll try to connect via IP on Monday.

I found the problem. It's not the socket but the IP-handling in jails. When I 
connect to 127.0.0.1 inside a jail the source-IP is not 127.0.0.1 but the IP 
you assigned the jail when starting.
So I had to add -A 192.168.0.2 to spamd to allow connections from the jail 
localhost! (the header shows now the jail does spam check)

[...]

 Btw: I'd highly recommed using /usr/ports/sysutils/jailer. It's really nice
 to have reboot working in a jail :)) IMO this should be made a part of
 the base system! I have little problems with the artificial console but
 that's also a _very_ nice feature for jails!

I haven't solved that one yet. I found commented code in the /etc/rc.d/jail 
which indicates IMO the developer also had problems utilizing ln to /dev in 
jails. But I haven't found a workarround yet :(
Perhaps somebody who's very familar with devfs and jails could have a look at 
this? *please*

-Harry


pgp0.pgp
Description: signature


Jail and spammass-milter (sendmail/spamassassin)

2004-04-23 Thread Harald Schmalzbauer
Dear all,

is it possible that spamass-milter doesn't work in a jail?
I have sendmail running, spamassassin running (both working fine) and the 
following line in my hostname.mc file:

INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, 
T=C:15m;S:4m;R:4m;E:10m')

But no mail is checked. I don't see any X-SPAM in the header. I use this MTA 
not for local delivery instead I use a virtuser table but I don't think this 
should prevent spamass-milter from working.

Thanks,

-Harry

-- 
Please never add my reply address to CC nor to the recipient list!
If you make answers to all please remove my address!
I'll complain if I see my reply address on any mailinglist


pgp0.pgp
Description: signature


Re: Jail and spammass-milter (sendmail/spamassassin)

2004-04-23 Thread Harald Schmalzbauer
Am Freitag, 23. April 2004 11:27 schrieb Harald Schmalzbauer:
 Dear all,

 is it possible that spamass-milter doesn't work in a jail?

Ok, I verified that it's working with the same configuration under -stabel 
outside a jail, but not on -current inside a jail.

Is there any way I can make it work? I think the problem is with the local 
socket between sendmail and spamass-milter.

Is there a sysctl to allow local sockets or is it possible to tell sendmail to 
connect via localhost (127.0.0.1)?

Thanks,

-Harry

 I have sendmail running, spamassassin running (both working fine) and the
 following line in my hostname.mc file:

 INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock,
 F=, T=C:15m;S:4m;R:4m;E:10m')

 But no mail is checked. I don't see any X-SPAM in the header. I use this
 MTA not for local delivery instead I use a virtuser table but I don't think
 this should prevent spamass-milter from working.

 Thanks,

 -Harry

-- 
Please never add my reply address to CC nor to the recipient list!
If you make answers to all please remove my address!
I'll complain if I see my reply address on any mailinglist


pgp0.pgp
Description: signature


Re: Jail and spammass-milter (sendmail/spamassassin)

2004-04-23 Thread Dan Nelson
In the last episode (Apr 23), Harald Schmalzbauer said:
 Am Freitag, 23. April 2004 11:27 schrieb Harald Schmalzbauer:
  Dear all,
 
  is it possible that spamass-milter doesn't work in a jail?
 
 Ok, I verified that it's working with the same configuration under
 -stabel outside a jail, but not on -current inside a jail.
 
 Is there any way I can make it work? I think the problem is with the
 local socket between sendmail and spamass-milter.
 
 Is there a sysctl to allow local sockets or is it possible to tell
 sendmail to connect via localhost (127.0.0.1)?

If your jail is not chrooted at /, /var/run/spamass-milter.sock will
point to different locations inside and outside the jail, so you'll
have to use inet sockets to communicate.  

Actually if you have a single jail, you can configure the outer
processes to use /usr/myjail/var/run/spamass-milter.sock and the jailed
processes to use /var/run/spamass-milter.sock, but that won't work if
you have multiple jails.
 
The sendmail syntax is inet:[EMAIL PROTECTED]|ip-address}, so you can do
something like this in your .mc file:

INPUT_MAIL_FILTER(`spamassassin',`S=inet:[EMAIL PROTECTED], F=, 
T=C:15m;S:4m;R:4m;E:10m')dnl 

and then run spamass-milter with -p inet:[EMAIL PROTECTED].

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail + spamassassin on FreeBSD 5.2

2004-01-28 Thread RJ45

Hello,
I am running latest sendmail + latest spamassassing thru the
spamass-milter mechanism on FreeBSD.
When users send mail it keeps like 10-15 seconds before the mail is sent
and this is annoyign for users.
I inspected the sendmail logs and I saw that spamassassin keeps mroe than
10 second to process a single message for spam.
My machine is a Dell poweredge 2650 with dual xeon 2.4GHz.
I disabled rbl checks in spamassassin.
Anyoien noticed this problem ?
I don;t know how to increase spamassassin log level, anyway I would like
to disable SPAM checks for mails which originate from my LAN, but I can;t
figure out how to do it.
Anyone had tried it before?
thanks

Rick


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]