OpenSSL error: data too large for key size
Mark.Martinec+amavis at ijs.si
Mon Oct 10 18:02:20 CEST 2011
> Sep 30 13:43:18 mail amavis: (11001-11)
> dkim: FAILED Author+Sender+MailFrom signature
> by d=galahotels.com, From: <promotions at galahotels.com>,
> a=rsa-sha1, c=simple, s=mail, i=promotions at galahotels.com, ...
> fail (OpenSSL error: data too large for key size)
> Sep 30 14:02:00 mail amavis: (17575-10)
> dkim: FAILED Author+Sender+MailFrom signature by d=jobmensa.de,
> From: <Jobvorschlag at jobmensa.de>, a=rsa-sha256, c=relaxed/relaxed,
> s=mail, email@example.com, invalid (public key: OpenSSL error: too long)
> What are those errors?
> sender has a borked dkim public key.
> put in 'mail' for selector
> put in jobmensa.de for domain.
Indeed. This typically happens if a private key is associated
with a public key belonging to another key of different size.
More information about the amavis-users