[Mimedefang] Try to reject sender
Matt Garretson
mattg at assembly.state.ny.us
Thu Apr 24 11:12:00 EDT 2014
On 4/23/2014 5:43 PM, Ricardson Williams wrote:
> Yes. I tried also with only quote and the messages still pass. :(
> [...]
>>> if ($sender =~ /^<?'"www-data at test"'\@hotmail\.com>?$/i) {
Also, you have to escape the first @ in your regex. Perl should have
warned you about this. And I should have noticed it yesterday! :)
So your regex would be:
/^<?"www-data\@test"\@hotmail\.com>?$/i
That will match your string. If not, then your string is not what you
think it is.
More information about the MIMEDefang
mailing list