Problem with to-field in MIME Header

Julian Field mailscanner at ecs.soton.ac.uk
Mon Sep 1 16:40:56 IST 2003


Can I just confirm this is a MailWatch problem.
MailScanner builds the $message->{to} list from the envelope, not the headers.

At 15:47 01/09/2003, you wrote:
>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

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list