cool thanks, I'll try that.
----- Original Message ----- From: "Len Conrad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 2:46 PM Subject: [IMGate] Re: header question > > > >I'm wondering if there is a way to hide the IP addresses in the headers of > >all E-mails leaving the IMGATe box. > > man 5 access > > with IGNORE, you can delete any header you want. be careful with the regex > pattern not to be too greedy. > > >Every E-mails shows the external and internal address of the mailserver. I > >think that it could be a security problem. > > exposing your internal ip's can't help, but your firewall is where you > implement security. > > >Can I some how remove that, or am I worrying too much. > > I haven't really seen discussion about Received: header being a big > security hole. > > >I looked thru the archives for the postfix forum, but couldn't find much. > > > >I also have another question. > >the script " spamstat.pl " > >Can it be configure to instead of running a report for only one log file, > >run it for say a week's worth of logfiles. > > I think it accepts stdin, so you could pipe it > > zcat /var/log/maillog[0-9].gz | /usr/local/bin/spam-stats.pl > > /var/tmp/spam-stats-days.rpt > > bourne stops [0-9], but bash can go bigger if you wanted 30 days. > > you can also do similar with pflogsumm, to see just the rejects stats, > including avg per hour: > > zegrep -i "reject" /var/log/maillog[0-9].gz |\ > /usr/local/bin/pflogsumm.pl -i -u 10 -h 20 \ > > /some/file > > Len >
