Re: [Exim] Released: SpamAssassin at SMTP time in local_scan

Pàgina inicial
Delete this message
Reply to this message
Autor: Frank Heydlauf
Data:  
A: exim-users
Assumpte: Re: [Exim] Released: SpamAssassin at SMTP time in local_scan
On Tue, May 07, 2002 at 12:15:30AM -0700, Marc MERLIN wrote:
>
> If so, do you mind looking at my code and suggesting a spiffy way of doing
> $header ~= /^Message-Id:/ in C?
> (i.e. caseless string matching, strstr won't do that obviously)


convert to lowercase before comparing.
tolower(3)               - upper case to lower case letter conversion
toupper(3)               - lower case to upper case letter conversion


regards
Frank Heydlauf
--
_
  | |____   LF.net Netzwerksysteme GmbH
  | |____>  Ruppmannstrasse 27    Heydlauf at LF.net

  |____>    D-70565  Stuttgart  fon +49 711 90074-37
    |_|     http://www.LF.net/  fax +49 711 90074-33