[Mimedefang] MD-Quarantine and received by headers

2007-02-03 Thread Yizhar Hurwitz
HI. Currently I'm using a spamdrop mailbox for probable spam, and I'm testing the alternative of using action_quarantine_entire_message instead. One thing that I found, is that all the received by headers are stripped out and not stored in the quarantine directory. But I would like to have

[Mimedefang] Re: MD-Quarantine and received by headers

2007-02-03 Thread Yizhar Hurwitz
Yizhar Hurwitz wrote: One thing that I found, is that all the received by headers are stripped out and not stored in the quarantine directory. But I would like to have that information for diagnostics. Me again - same issue, more details. After further investigation of quarantine messages, I

Re: [Mimedefang] BAYES not working with Mimedefang

2007-02-03 Thread Oliver Schulze L.
I suggest using a directory that is readable by the defang user. By defang, only root can access files inside /root So, here is the my recomended setup: in sa-mimedefang.conf put this lines: bayes_path /var/db/spamassassin/bayes/bayes bayes_file_mode 664 Then, create the directory mkdir -p

[Mimedefang] Blocking .exe file

2007-02-03 Thread An.H.Nguyen
I am unable to block exe attachment file. Here's the code I started in mimedefang-filter. What else do I need to do? md_graphdefang_log_enable('mail', 1); # This procedure returns true for entities with bad filenames. sub filter_bad_filename ($) { my($entity) = @_; my($bad_exts, $re);

[Mimedefang] Mimedefang bayes problem

2007-02-03 Thread Pierre Forget
Hi, I am resending this messaeg. It didn't seem to go the first time. I already had two servers configured the same way with Mimedefang and BAYES is working with those two servers. I have a third one, which I think is a similar setup, but I can't make BAYES to work. If I use sa-learn to

[Mimedefang] RE: BAYES not working with Mimedefang (Pierre Forget)

2007-02-03 Thread Pierre Forget
Hi Oliver, Well, your solution worked perfectly. Probably that I had installed the Bayes files in another directory on the other servers. I cannot check, because I don't have access anymore to those servers. I was banging my head for a few weeks with that problem. I don't include the

RE: [Mimedefang] Re: MD-Quarantine and received by headers

2007-02-03 Thread Damrose, Mark
-Original Message- From: Yizhar Hurwitz So I would still like to know if/how I can preserve this information in the quarantine directory, and try to do it efficiently as well by minimizing system calls from my custom filter. Here's what I do.

Re: [Mimedefang] Re: MD-Quarantine and received by headers

2007-02-03 Thread David F. Skoll
Damrose, Mark wrote: From: Yizhar Hurwitz So I would still like to know if/how I can preserve this information in the quarantine directory, and try to do it efficiently as well by minimizing system calls from my custom filter. MIMEDefang has a synthesize_received_header function that

Re: [Mimedefang] FW: sendmail 8.14.0 available

2007-02-03 Thread Jan-Pieter Cornet
On Fri, Feb 02, 2007 at 09:50:06AM -0500, Kevin A. McGrail wrote: See the $rcpt_mailer, $rcpt_host, $rcpt_addr arguments to filter_recipient ($rcpt_addr contains the mailbox if $rcpt_mailer eq local). Wow, very cool. I never knew this and I've usually been shelling and [...] However, my

[Mimedefang] Problems with mimedefang and sendmail 8.14.0

2007-02-03 Thread Jeff Grossman
I am still having some problems with mimedefang and sendmail 8.14.0. If I run mimedefang 2.60 and sendmail 8.14.0, after an hour or so I get the following errors: Feb 3 04:02:42 mail sm-mta[12023]: l13C2g8C012023: Milter (mimedefang): error connecting to filter: Connection refused by

RE: [Mimedefang] Bounce Address Tag Validation (BATV)

2007-02-03 Thread Jeff Rife
On 2 Feb 2007 at 10:36, Cormack, Ken wrote: Now if I could just figure out why sendmail is logging can't attach to shared memory, key=-1: Invalid argument in reference to the new features of define(`confSHARED_MEMORY_KEY', `-1') and define(`confSHARED_MEMORY_KEY_FILE',

[Mimedefang] Greylisting netmask

2007-02-03 Thread Jeff Rife
I'm starting down the roll my own greylisting track, and I'm curious what other people use for a netmask in comparing IP addresses in the list. Currently, I use milter-greylist (which is an excellent product...I just want more integration with my other policy), and its default is to use a /24

Re: [Mimedefang] Greylisting netmask

2007-02-03 Thread Richard Laager
On Sat, 2007-02-03 at 21:48 -0500, Jeff Rife wrote: Of course, I do use a whitelist for the well-known large providers (Yahoo, AOL, MSN, etc.). Would you be willing to share this whitelist? Richard signature.asc Description: This is a digitally signed message part

Re: [Mimedefang] Greylisting netmask

2007-02-03 Thread Jeff Rife
On 3 Feb 2007 at 21:49, Richard Laager wrote: On Sat, 2007-02-03 at 21:48 -0500, Jeff Rife wrote: Of course, I do use a whitelist for the well-known large providers (Yahoo, AOL, MSN, etc.). Would you be willing to share this whitelist? Sure, it's mostly just the one that came with

[Mimedefang] how to simulate spamassassin -D in mimedefang

2007-02-03 Thread alex
hi, my spam scores when I run spamassassin -t mailmessage are different than when run through mimedefang, is there a way to run spamassassin in debug within mimedefang so I can see exactly what spamassassin is doing? thx ___ NOTE: If there is a