Re: [Mimedefang] Bare returns in message body

2005-11-10 Thread David F. Skoll
David F. Skoll wrote: > The bigger question: Do we want to convert bare LF and bare CR to > (the equivalent of) CRLF? That is, treat CR, LF and CRLF as UNIX > line endings, so MIMEDefang sees them as LF, and when (if) we modify > the message bodies, we convert all the LFs to CRLF? Sigh. When y

Re: [Mimedefang] Bare returns in message body

2005-11-10 Thread Tomasz Ostrowski
On Wed, 09 Nov 2005, Jan Pieter Cornet wrote: > However, you're ALSO removing lone CRs in the process, CR characters > that a MUA will see, and might react upon (it might even trigger > a bug in the MUA... a bug which is scanned for in some virus scanner, > but that fails to detect it because the

Re: [Mimedefang] Bare returns in message body

2005-11-10 Thread David F. Skoll
Tomasz Ostrowski wrote: > It would be nice for mimedefang to follow this second approach - > every message violating should be converted before checking > attachment names, using virus scanners or spamassassin and should be > returned to sendmail also converted. You can ensure that Sendmail and

Re: [Mimedefang] MD logging to wrong host

2005-11-10 Thread Jan Pieter Cornet
On Thu, Nov 10, 2005 at 08:41:03AM -0600, Jim McCullars wrote: > On Wed, 9 Nov 2005, David F. Skoll wrote: > > > Did you restart MIMEDefang? > >Yes, but it appears that sometime last night the problem stopped. It's > now logging to its own host. Must be DNS-cache related, who knows. Probab

Re: [Mimedefang] MD logging to wrong host

2005-11-10 Thread Jim McCullars
On Wed, 9 Nov 2005, David F. Skoll wrote: > Did you restart MIMEDefang? Yes, but it appears that sometime last night the problem stopped. It's now logging to its own host. Must be DNS-cache related, who knows. Jim ___ Visit http://www.mimedefa

RE: [Mimedefang] perl problem

2005-11-10 Thread Mark
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mack > Sent: donderdag 10 november 2005 13:59 > To: mimedefang@lists.roaringpenguin.com > Subject: RE: [Mimedefang] perl problem > > > my $newrecip =$recip; > $newrecip =~ s/'/''/gi; > $sth1

RE: [Mimedefang] perl problem

2005-11-10 Thread Mack
my $newrecip =$recip; $newrecip =~ s/'/''/gi; $sth1 = $dbh->prepare("SELECT value FROM userpref WHERE username = '$recip' && preference='whitelist_from'"); that will fix it, (replacing the ' with '') be carefull of \' as well if you are using mysql Mack -Original Message- From

RE: [Mimedefang] perl problem

2005-11-10 Thread Mark
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of B. Tolka > Sent: donderdag 10 november 2005 13:47 > To: mimedefang@lists.roaringpenguin.com > Subject: [Mimedefang] perl problem > $sth1 = $dbh->prepare("SELECT value FROM userpref WHERE username

[Mimedefang] perl problem

2005-11-10 Thread B. Tolka
I my milter I have a mysql call below. $sth1 = $dbh->prepare("SELECT value FROM userpref WHERE username = '$recip' && preference='whitelist_from'"); My slave is always getting killed because of an aprostophe in an email address. It fails at '$recip'. Is there another way to code the abo

Re: [Mimedefang] Suggestions please ... ;)

2005-11-10 Thread alan premselaar
Garry Glendown wrote: Oh how easy life would be if customers just bought services and stopped complaining about missing features ... ;) OK, here we go ... after some advice from the list, I installed MD to add special filtering capabilities to a customer mailserver. So far so good ... working

[Mimedefang] Suggestions please ... ;)

2005-11-10 Thread Garry Glendown
Oh how easy life would be if customers just bought services and stopped complaining about missing features ... ;) OK, here we go ... after some advice from the list, I installed MD to add special filtering capabilities to a customer mailserver. So far so good ... working as originally intended

Re: [Mimedefang] Bare returns in message body

2005-11-10 Thread Steffen Kaiser
On Wed, 9 Nov 2005, Jan Pieter Cornet wrote: Here's (imo) the fundamental problem here: the mimedefang filter is not given the same message that end user sees... lone CR characters will be removed from it (line ending CRLF will also be converted by sendmail or the local delivery agent to just LF