Problem with to-field in MIME Header

Michael Svendsen michael at NSEC.DK
Mon Sep 1 15:47:35 IST 2003


Hey m8

I have a little weird problem with the to-field in the MIME-header.

In my CustomConfig.pm I have following line when using MailWatch:
$tousers = join(',', @{$message->{to}})

The problem seems to be, that it takes following lines as the
"to"-parameter:

X-Original-To: michael at domain.com
Delivered-To: domain at mail.domain.com

Cause my $tousers now becomes:  "michael at domain.com,
domain at mailserver.domain.com"


in my virtusertable I have:

@domain.com             domain

that's why the Delivered-To is domain at ....


I've also tried with:           $tousers = join(',', @{$message->{touser}})

Then I get $tousers to be:      "michael, domain"


Any ideas?


Hope to hear from you soon.




Best Regards


Michael



More information about the MailScanner mailing list