Re: [exim] Synchronising Authentication Between Servers

Etusivu
Poista viesti
Vastaa
Lähettäjä: Colin
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Synchronising Authentication Between Servers

On 11/10/2011 19:06, Colin wrote:
> I'm going to go and check the collection script again to make sure
> there's no errors in it because that seems the best candidate for now..


Bingo.

The script was in Perl, it loaded the usernames into an array and the
shadows into a hash. It then built the output file by using the array
value to call as a key for the hash.

The problem? When the hash is loaded it has no knowledge of the domain
name therefore when an email address exists under more than one domain
name only the last password gets stored and it gets written as the
password for all email addresses with the same bit before the @

Got there in the end and nice to know that its a problem with coding
rather than an annoying untraceable bug in the software. I'm off to make
the script aware of the domain names earlier on which should be fun..

Thanks for the help folks.
Regards,
Colin.