Problem with to-field in MIME Header
Julian Field
mailscanner at ecs.soton.ac.uk
Tue Sep 2 08:56:44 IST 2003
For reasons best known to Wietse himself, Postfix queue files are binary
and not for human consumption. Bytes must have been *really* expensive when
he designed his queue files.
At 00:46 02/09/2003, you wrote:
>Hi m8
>
>I use Postfix with MySQL/SASL/TSL
>
>Here is a snip from a queue-file:
>
>ESMTPOmichael at domain.comRdomain@mail.domain.comM
>
>Think this is the problem :)
>
>Any ideas?
>
>
>
>Best Regards
>
>Michael
>
>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
>Behalf Of Steve Freegard
>Sent: Monday, September 01, 2003 6:10 PM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Problem with to-field in MIME Header
>
>
>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.
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list