From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-132437-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Raa6U-00021W-A6
	for garchives@archives.gentoo.org; Tue, 13 Dec 2011 21:41:38 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4BB7021C1A2;
	Tue, 13 Dec 2011 21:41:24 +0000 (UTC)
Received: from homiemail-a59.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5])
	by pigeon.gentoo.org (Postfix) with ESMTP id D2EA121C048
	for <gentoo-user@lists.gentoo.org>; Tue, 13 Dec 2011 21:40:27 +0000 (UTC)
Received: from homiemail-a59.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a59.g.dreamhost.com (Postfix) with ESMTP id E007F56405C
	for <gentoo-user@lists.gentoo.org>; Tue, 13 Dec 2011 13:40:26 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=libertytrek.org; h=message-id
	:date:from:mime-version:to:subject:content-type:
	content-transfer-encoding; q=dns; s=libertytrek.org; b=hUQ9hzMed
	N3tHacCDjeEoN/P/8lcZf7pAAnBETipS5AWrWpMHD+UnAKg6xF+eJsmt8t7NFFV1
	FlKlwPy2GHkx+wiHXjAOzUl3t68wk3qt+kMJja3VKX6istEodAk3yunLrMDjTRGK
	RB759V7PspBLLwPXJwKEi6HSHTaqeyeuSU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h=
	message-id:date:from:mime-version:to:subject:content-type:
	content-transfer-encoding; s=libertytrek.org; bh=+SsyAwIbREZlsSL
	cN7jowCrUi+8=; b=Vx3kjI0cvJfHup32/ILeo/PJXTDIkn3B1/PxN2BGVBkH1kM
	pVehJTYhn4AC4iCgZWQQ3YaagTpZO3Xa6PH5U9JclXyquZW960LsxZ48NIs3H7c1
	av4wqIfmk+6/Q7mF0uQD9Cz+wLY2admVgrST0vJMeqnGBNyDH7wMTpEYIPoo=
Received: from [127.0.0.1] (smtp.media-brokers.com [70.43.81.99])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: tanstaafl@libertytrek.org)
	by homiemail-a59.g.dreamhost.com (Postfix) with ESMTPSA id 6DEDA564058
	for <gentoo-user@lists.gentoo.org>; Tue, 13 Dec 2011 13:40:26 -0800 (PST)
Message-ID: <4EE7C645.70307@libertytrek.org>
Date: Tue, 13 Dec 2011 16:40:21 -0500
From: Tanstaafl <tanstaafl@libertytrek.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp...
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: ed1039dc-d748-4e3b-932b-b059f1387ffd
X-Archives-Hash: c36986aa8c022b612760cd070e029a01

Hi all,

Ok, this is also on this new hosted VM...

I need help getting portage to email me emerge logs using SASL auth on a 
remote host using ssmtp...

I found this thread that has me almost there (I think):

http://www.gossamer-threads.com/lists/gentoo/user/217567?do=post_view_threaded#217567

But it doesn't seem to be using SASL auth, because the attempt is being 
blocked by my server client_access rule (which comes *after* 
permit_sasl_authenticated)...

Here's what I have in make.conf (after reading the above thread):

PORTAGE_ELOG_MAILURI="root@user:password mail.myserver.com:100587"

and in ssmtpd.conf:

root=postmaster
mailhub=mail.myserver.com:587
AuthUser=<username>
AuthPass=<password>
UseSTARTTLS=YES

And here is the error I'm currently getting:

!!! An error occurred while trying to send logmail:
{'root@username:password': (554, '5.7.1 
<li66-207.members.linode.com[74.207.224.207]>: Client host rejected: 
Access denied')}

Anyone have any ideas?

Thanks,

Charles