Hi Gerald,
> The problem appears to be that we are getting two entries on the bad
> ones;
> For example;
> [root (at mark) msi1 mail]# cat virtusertable | grep %1 (at mark) | grep doman1.tld
> (at mark) domain1.tld %1 (at mark) domain1.tld
> (at mark) domain1.tld %1 (at mark) www.domain1.tld
Yeah, that is indeed bad. After all, the righthand side of that equations
should always be %1 (at mark) host.domain.tld and the hostname part should NOT be
missing there.
Both scripts polls CCE for the data and regenerates the virtusertable based on
the information stored in CCE. Any output they generate will only be as good
as the source of the data. Try it again with Brian's script and let us know
if you get the same results.
If you do get the same results, then it will be necessary to dive into CODB
and to remove or fix the records which don't have the fully qualified host
and domain name.
I may have a script somewhere that does the exact opposite as the first ones
mentioned to you: It takes a good virtusertable and shoves its contends back
into CCE, fixing broken email related CODB entries. That could possibly help.
--
With best regards,
Michael Stauber