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-98057-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1MRsGF-0002N5-AU
	for garchives@archives.gentoo.org; Fri, 17 Jul 2009 18:34:25 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 124AFE065E;
	Fri, 17 Jul 2009 18:34:22 +0000 (UTC)
Received: from lbg2.evolone.org (evolone.org [198.145.28.177])
	by pigeon.gentoo.org (Postfix) with ESMTP id DEF3AE065E
	for <gentoo-user@lists.gentoo.org>; Fri, 17 Jul 2009 18:34:21 +0000 (UTC)
Received: from lappy.evolone.org (unknown [192.168.1.100])
	(Authenticated sender: col)
	by lbg2.evolone.org (Postfix) with ESMTPA id 4872013631C
	for <gentoo-user@lists.gentoo.org>; Fri, 17 Jul 2009 11:34:21 -0700 (PDT)
Date: Fri, 17 Jul 2009 11:33:25 -0700
From: Michael Higgins <linux@evolone.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] A little OT;  ssmtp:  Is this correct?
Message-ID: <20090717113325.0a550d37@lappy.evolone.org>
In-Reply-To: <1247840784.14873.7.camel@camille.espersunited.com>
References: <1247840784.14873.7.camel@camille.espersunited.com>
Organization: Evolone
X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i686-pc-linux-gnu)
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
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Archives-Salt: e7f678d5-5438-4dba-bcef-55c76a575ef0
X-Archives-Hash: 94449b73d6179969fd8cf4ae1b4f6b2d

On Fri, 17 Jul 2009 09:26:24 -0500
Michael Sullivan <msulli1355@gmail.com> wrote:

> mailhub=baby.espersunited.com
> # Where will the mail seem to come from?
> rewriteDomain=root@camille.espersunited.com
> 
> # The full hostname
> 
> # Gentoo bug #47562
> # Commenting the following line will force ssmtp to figure
> # out the hostname itself.
> 
> # hostname=_HOSTNAME_
> 
> 
> This has worked fine for about a week until yesterday when I rebooted.

Is your hostname properly configured on the machine you rebooted?

> Now I'm seeing these in my log file:
> 
> Jul 17 00:00:46 camille sSMTP[18912]: Set
> RewriteDomain="root@camille.espersunited.com" is invalid

http://www.lmgtfy.com/?q=ssmtp+RewriteDomain+%22is+invalid%22

First hit:

    Comment by Alessandro Doro (adoroo) - Monday, 21 July 2008, 15:41 GMT-4
Dawid, your configuration is wrong.
rewriteDomain should only contain the domain name, without the username part.

Which makes some sense, given the name of the config option.

> But the mail that camille tries to send ends up in dead.letter.
> What's going on here?

If it ends up in dead.letter, it seems it's probably *your own* mail server rejecting it..?? Maybe have a look at "the exim server on baby.espersunited.com" to see why?

Anyway, you probably figured this out already.

Cheers,

-- 
 |\  /|        |   |          ~ ~  
 | \/ |        |---|          `|` ?
 |    |ichael  |   |iggins    \^ /
 michael.higgins[at]evolone[dot]org