Re: [Mimedefang] Case in-sentitive matching

2004-04-14 Thread Kenneth Porter
--On Wednesday, April 14, 2004 7:28 PM -0400 "Kevin A. McGrail" <[EMAIL PROTECTED]> wrote: Just to clarify in case the recipient doesn't know perl, it's uc() not toupper(). Me thinks you are tired and have been fraternizing with the devil aka PHP. Or the other devil, AKA C. (I didn't see that er

Re: [Mimedefang] Case in-sentitive matching

2004-04-14 Thread Kevin A. McGrail
> One simple way would be to force the whole match into upper case. I.e.: > > if (($type eq "text/plain") and > toupper($entity->head->mime_attr("content-type.charset")) eq > "WINDOWS-1251") { Just to clarify in case the recipient doesn't know perl, it's uc() not toupper(). Me thinks you are

RE: [Mimedefang] Case in-sentitive matching

2004-04-14 Thread Roedel, Mark
One simple way would be to force the whole match into upper case. I.e.: if (($type eq "text/plain") and toupper($entity->head->mime_attr("content-type.charset")) eq "WINDOWS-1251") { (Not tested, and I've had a long enough day that I've probably managed to something glitchy there, but at

[Mimedefang] Case in-sentitive matching

2004-04-14 Thread Ashley M. Kirchner
In my sub filter, I have the following three lines: if (($type eq "text/plain") and $entity->head->mime_attr("content-type.charset") eq "Windows-1251") { return action_bounce("Charset Windows-1251 not accepted here"); } ...which successfully bounces anything matching that char

RE: [Mimedefang] Case in-sentitive matching

2004-04-14 Thread Matthew Thomas
-On Behalf Of Ashley M. Kirchner - In my sub filter, I have the following three lines: > > if (($type eq "text/plain") and > $entity->head->mime_attr("content-type.charset") eq "Windows-1251") { > return action_bounce("Charset Windows-1251 not > accepted here"); > } You sh

RE: [Mimedefang] Spam Getting Through

2004-04-14 Thread John Mason
> -Original Message- > From: David Reta [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 14, 2004 12:27 PM > > I have some weird behavior. I was wondering if anyone has > some insight before I start troubleshooting the problem. I am > using spamassassin 2.63 and mimedefang 2.42. It se

RE: [Mimedefang] Counting mail traffic

2004-04-14 Thread Cormack, Ken
> I tried to count mail traffic with MIMEDefang. Everything goes fine but > sometimes i see empty strings in my maillog file, such as: > Tue Apr 13 19:58:54 2004 > 42080 > There is no ip and recipient. > How can i solve this problem? Simply use the "mailstats" command. It will give you output tha

[Mimedefang] Spam Getting Through

2004-04-14 Thread David Reta
I have some weird behavior. I was wondering if anyone has some insight before I start troubleshooting the problem. I am using spamassassin 2.63 and mimedefang 2.42. It seems that some spam mail is getting through the filters. I run the message manually and it scores as spam, but it is still pass

Re: [Mimedefang] MaxRecipientsPerMessage

2004-04-14 Thread Kevin A. McGrail
> Are you saying that you simply forward for these 20 mail servers with no clue as to who is a valid user on those servers? > > If that is the case, you may want to implement some way of dumping user names on each target's LDAP systems and creating a virtusertable to validate email addresses. Could

Re: [Mimedefang] Automatically save spam/ham?

2004-04-14 Thread Jeffrey Goldberg
On Wed, 14 Apr 2004, Ken Morley wrote: > I would like to automatically save samples of spam and ham in a directory on > the SA/MIMEDefang server. > > Specifically, when SA/MIMEDefang encounters a message with a score less than > 0.5, I would like to save a copy in /etc/mail/spamassassin/corpus/ham

RE: [Mimedefang] MaxRecipientsPerMessage

2004-04-14 Thread Jeffrey Goldberg
On Wed, 14 Apr 2004 [EMAIL PROTECTED] wrote: > > > > > What is a good value to use for MaxRecipientsPerMessage > > > > > (MAX_RCPTS_PER_MESSAGE) for sendmail? > > > 100 > > How did you arrive at that number? One interpertation of RFC 2821 would make it a requirement that 100 be the minumum that i

[Mimedefang] Counting mail traffic

2004-04-14 Thread Егор Москвичев
Hello! I tried to count mail traffic with MIMEDefang. Everything goes fine but sometimes i see empty strings in my maillog file, such as: Tue Apr 13 19:58:54 2004 42080 There is no ip and recipient. How can i solve this problem? See my minedefang-filter below. Thanx! Egor Moskvichev $SALocalTests

[Mimedefang] Automatically save spam/ham?

2004-04-14 Thread Ken Morley
Our Spam Assassin/MIMEDefang Linux server "front ends" our Exchange server and is working very well. I would like to automatically save samples of spam and ham in a directory on the SA/MIMEDefang server. Does anyone have any suggested code and placement for doing this? Specifically, when SA/MIME

Re: [Mimedefang] MaxRecipientsPerMessage

2004-04-14 Thread Jon R. Kibler
[EMAIL PROTECTED] wrote: > > The problem is that the system filters for 20+ destination mail servers, > with no common directory. I may try to implement LDAP lookups in sendmail > in the future, but that will be complicated by tryinig to figure out how > to query the right server depending on the

RE: [Mimedefang] surbl

2004-04-14 Thread Stephen Smoogen
On Tue, 13 Apr 2004, David F. Skoll wrote: >On Tue, 13 Apr 2004, Kelson Vibber wrote: > >> Then SURBL should be fine. It's just a RHSBL, built from domains >> advertised in spam rather than domains that (appear to) send it. A client >> using SURBL just parses URLs out of the message and queries

Re: [Mimedefang] MaxRecipientsPerMessage

2004-04-14 Thread WBrown
[EMAIL PROTECTED] wrote on 04/13/2004 03:47:36 PM: > The problem with this option is that if you are using a single host > or configuration for both inbound and outbound mail, then the limit > will also apply to your users. If you use it, 5 is probably as good > of value as any under these cir

RE: [Mimedefang] MaxRecipientsPerMessage

2004-04-14 Thread WBrown
> > > > What is a good value to use for MaxRecipientsPerMessage > > > > (MAX_RCPTS_PER_MESSAGE) for sendmail? > 100 How did you arrive at that number? In my reading of the book _sendmail_ by Eric Allman, any recipients beyond the limit set by this will get tempfailed and mail system following

Re: [Mimedefang] Trend Anti-Virus question

2004-04-14 Thread Stephen Smoogen
On Mon, 12 Apr 2004, David F. Skoll wrote: >On Mon, 12 Apr 2004, Stephen Smoogen wrote: > >> 1) It is ssloww. Since it isnt run milterized/daemonized.. you are >> basically asking mimedefang to exec a new copy of it each time. > >There is a package called "Trophie" which supposedly allows you >to

RE: [Mimedefang] MaxRecipientsPerMessage

2004-04-14 Thread Joseph Brennan
> > What is a good value to use for MaxRecipientsPerMessage > > (MAX_RCPTS_PER_MESSAGE) for sendmail? 100 We set it to 50 about a year ago to make some other host on campus happy. Put it this way- I have not thought about it since. Joseph Brennan Academic Technologies Group, Academic Informatio

Re: [Mimedefang] New .mail domain designed to slow spam (fwd)

2004-04-14 Thread Stephen Smoogen
___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang