[Mimedefang] Testing for the existence of a header

Joseph Brennan brennan at columbia.edu
Thu Oct 2 08:50:23 EDT 2008



--On Thursday, October 2, 2008 11:50 +1000 Nigel Allen <dna at edrs.com.au> 
wrote:

> When I tried to send a piece of email later in the day that definitely
> did NOT have the X-Header that I look for in mdf, I got the same error
> message again (as if the X-Header were in there).


The perl processes handle many messages, so make sure variable
assignments don't persist from one message to the next.  Use 'my'
to limit scope, or undefine the variables before assigning, etc.


Joseph Brennan
Lead Email Systems Engineer
Columbia University Information Technology




More information about the MIMEDefang mailing list