Recipients addresses appearing since upgrade

Jim Holland mailscanner at mango.zw
Sat Sep 23 17:42:38 IST 2006


> > > >On Sat, 23 Sep 2006, Wayne wrote:
> > > >
> > > > > A serious situation has arisen since upgrading to Mailscanner 4,55
> > > > > the following details are being added
> > > > > to our mailing list postings: Example ....
> > > > >
> > > > > >>X-Balita-MailScanner-To: aalicant at sakentz.com, 
> > acarpio at us.imshealth.com,
> > > > > >>         adangoy at voyageur.ca, alablues at otelco.net, 
> > alingdolly at yahoo.com,
> > > > > >>         almazan at uplink.net, alnoveloso at yahoo.com.au,
> > > > > >>         alophoixus at ukonline.co.uk and so on ........
> > > > >
> > > > > It is obvious the MailScanner upgrade has altered a setting that was
> > > > > not set before.
> > > > >
> > > > > As a matter of urgency can someone tell me what it could be that
> > > > > needs altering back to its original state.
> > > >
> > > >I haven't come across this before, but the obvious place to look is in
> > > >MailScanner.conf:
> > > >
> > > ># Do you want to add the Envelope-To: header?
> > > ># This can be useful for tracking spam destinations, but should be
> > > ># used with care due to possible privacy concerns with the use of
> > > ># Bcc: headers by users.
> > > ># This can also be the filename of a ruleset.
> > > >Add Envelope To Header = no
> > > >
> > > >If you have that set to yes then that might explain your problem.
> > > >
> > > >Regards
> > > >
> > > >Jim Holland
> > > >System Administrator
> > > >MANGO - Zimbabwe's non-profit e-mail service
> >
> >On Sat, 23 Sep 2006, Wayne wrote:
> >
> > > Thanks Jim
> > >
> > > Both the To and From Envelopes are set to no :-( even commenting the
> > > lines out with # seem to make no difference. Don't know if I should
> > > or not but after each alteration in .conf I am restarting MailScanner.
> >
> >Now it gets more difficult.  Is your MailScanner.conf file in the standard
> >place (/etc/MailScanner/MailScanner.conf)?  Could there be another copy in
> >some other place that is being used instead?  Have you changed the type of
> >MailScanner installation between versions (eg using a tarball for one and
> >an rpm or other package for another)?  Perhaps you then have a situation
> >where you have a conflict between the old and new versions.
> >
> >In the meantime, if you are desperate, try stopping MailScanner,
> >commenting out the following section of the Message.pm file which should
> >be in /usr/lib/MailScanner/MailScanner, and then restarting MailScanner:
> >
> >   # Do they all want the To header
> >   if (MailScanner::Config::Value('addenvto', $this) !~ /0/) {
> >     # Get the actual text for the header value
> >     foreach $to (@{$this->{to}}) {
> >       $tolist{$to} = 1;
> >     }
> >     $to = join(', ', sort keys %tolist);
> >
> >     $envtoheader = MailScanner::Config::Value('envtoheader', $this);
> >     # Now reflow the To list in case it is very long
> >     $to = $this->ReflowHeader($envtoheader, $to);
> >
> >     $global::MS->{mta}->ReplaceHeader($this, $envtoheader, $to);
> >   }
> >
> >Clearly the problem is that somehow the value of addenvto (which comes
> >from AddEnvelopeToHeader) is not zero.
> >
> >Regards
> >
> >Jim Holland
> >System Administrator
> >MANGO - Zimbabwe's non-profit e-mail service

On Sat, 23 Sep 2006, Wayne wrote:

> Date: Sat, 23 Sep 2006 15:27:18 +0100
> From: Wayne <wjohns at balita.ph>
> Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info>
> To: MailScanner discussion <mailscanner at lists.mailscanner.info>
> Subject: Re: Recipients addresses appearing since upgrade
> 
> At 15:09 23/09/2006, you wrote:
> 
> Jim
> 
> Commenting out the section in Message.pm has eradicated the from and 
> to envelopes.
> 
> I don't think I have / had two MailScanner.conf files I have always 
> used the RPM releases to upgrade, as far as I know the conf is 
> located at /etc/MailScanner/MailScanner.conf.
> 
> It seems it all started when I was getting double messages and it was 
> suggested I should use flock instead of posix for locking. My 
> Sendmail is 8.12. Could be a coincidence :-)
> 
> Many thanks for your most valued help it is appreciated.
> 
> - Wayne -
 
I am glad to have been able to help, but I think only Julian will be able
to get to the bottom of the original problem so it can be solved properly 
rather than just using this quick and dirty hack.

Regards

Jim Holland
System Administrator
MANGO - Zimbabwe's non-profit e-mail service



More information about the MailScanner mailing list