[Mimedefang] Code fragment works only sometimes
Andrea Venturoli
ml.ventu at flashnet.it
Sat Jul 19 09:56:01 EDT 2003
** Reply to note from alan premselaar <alien at 12inch.com> Tue, 15 Jul 2003 11:38:08 +0900
> >> Do chomp($blk) each time to get rid of the newlines.
> >
> > Sorry, I didn't understand this. Which newlines? Why?
> >
> >
> In perl when dealing with text files, every line is separated by a newline
> (\n). chomp() will remove any trailing newline from a string.
Ok, apparently this was the problem and chomp() fixed it.
Now it's working as expected and this saves me about 10-20 spam messages a day!
Thanks to everyone that helped.
bye
av.
More information about the MIMEDefang
mailing list