Re: error about TLS when sending mail
- To: mutt-users@xxxxxxxx
- Subject: Re: error about TLS when sending mail
- From: "Chengqi(Lars) Song" <songcq@xxxxxxxxx>
- Date: Fri, 1 May 2009 00:21:54 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=5zP8VM2P0YOUPblLtE2NbodhLNNqUIpg3WXO72G2twE=; b=g+p5ETE3gVs58RL8UsWngmgUlOR7m2omfAhqu48P22N0vvJBnX4bVa1IH1O78s8ph8 XKeQGj0FwmKk1/0n4KrmQ/P8b1sXzjNPMWjkgCg1Ef7/xNYNcNUfsrktuKfL/JoIZEMR 9NDCvmbYouZ39HFhZJ7BrnIH5gcRHxCYQYNxI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=cR55gy3GwjMTaH6edR3bR6scZRVgx1AMaIZihN2wn6RMsMfj4okA5oyc9BGIqOaG9t 88AyUO8+OH/XTzY59wO50tUCBgkDLtzj0KoMI+ch07MEytDKaIcTfPx3hcJXl7NTvs1v VwYCNwCkCmFIg4aibkNvo46k3/QrGbS7E1Wrg=
- In-reply-to: <20090430144311.GJ43935@xxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <20090430131212.GA7490@lars-x200s> <20090430144311.GJ43935@xxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-05-17)
it works, great!
thanks
lars
On Thu, 30 Apr 2009, Christian Ebert wrote:
> * Chengqi(Lars) Song on Thursday, April 30, 2009 at 21:12:12 +0800
> > I always get this message when sending mail:
> >
> > Apr 30 20:24:19 host=smtp.abc.com tls=on auth=on user=lars
> > from=lars@xxxxxxx recipients=larsGG.tospace@xxxxxxx errormsg='TLS handshake
> > failed: The Diffie Hellman prime sent by the server is not acceptable (not
> > long enough).' exitcode=EX_PROTOCOL
> >
> > the domain name is substituded to abc.com for privacy.
> >
> > When I use other msmtp servers there is nothing wrong. only the 'abc.om'
> > has this problem. How can I fix it?
> ^^^^^
> In case this means that you're using msmtp, this is an msmtp and
> not a mutt question ;-) I seem to remember encountering something
> similar when using msmtp though.
>
> From man msmtp:
>
> --tls-min-dh-prime-bits=[bits]
> Set or unset minimum bit size of the Diffie-Hellman (DH) prime. See the
> tls_min_dh_prime_bits command below.
>
> [...]
>
>
> tls_min_dh_prime_bits [bits]
> Set or unset the minimum number of Diffie-Hellman (DH) prime bits that
> msmtp will accept for
> TLS sessions. The default is set by the TLS library and can be selected
> by using an empty
> argument to this command. Only lower the default (for example to 512
> bits) if there is no
> other way to make TLS work with the remote server.
>
>
> Setting
>
> tls_min_dh_prime_bits 512
>
> in my msmtprc helped me overcome the problem, perhaps the same
> holds true for you.
>
> c
> --
> Was hei?t hier Dogma, ich bin Underdogma!
> [ What the hell do you mean dogma, I am underdogma. ]
> _F R E E_ _V I D E O S_ http://www.blacktrash.org/underdogma/
> http://www.blacktrash.org/underdogma/index-en.html