Problem with to-field in MIME Header
Steve Freegard
steve.freegard at LBSLTD.CO.UK
Mon Sep 1 17:09:53 IST 2003
Hi Michael,
Looks like a problem specific to Sendmail - all the SQL logging routines do
is use the $message->{to} variable set by MailScanner - I've just looked at
the MailScanner code and it reads the 'R' line directly from the qf* file
stripping off the RFC822: and <> from the addresses and isn't interested in
any other headers, so Sendmail/something else must be changing the 'R'
field.
Regards,
Steve.
-----Original Message-----
From: Michael Svendsen [mailto:michael at NSEC.DK]
Sent: 01 September 2003 15:48
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Problem with to-field in MIME Header
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
--
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender and delete the message from your mailbox.
This footnote also confirms that this email message has been swept by
MailScanner (www.mailscanner.info) for the presence of computer viruses.
More information about the MailScanner
mailing list