public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] A little OT;  ssmtp:  Is this correct?
@ 2009-07-17 14:26 99% Michael Sullivan
  0 siblings, 0 replies; 1+ results
From: Michael Sullivan @ 2009-07-17 14:26 UTC (permalink / raw
  To: gentoo-user

On my PC (camille.espersunited.com) I have ssmtp installed.  It's
supposed to send all mail from camille to the exim server on
baby.espersunited.com.  My ssmpt.conf file looks like this:

camille log # cat /etc/ssmtp/ssmtp.conf 
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#

# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster

# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named
mail.domain.com
# The example will fit if you are in domain.com and your mailhub is so
named.
mailhub=baby.espersunited.com

# Example for SMTP port number 2525
# mailhub=mail.your.domain:2525
# Example for SMTP port number 25 (Standard/RFC)
# mailhub=mail.your.domain        
# Example for SSL encrypted connection
# mailhub=mail.your.domain:465

# 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_

# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
#FromLineOverride=YES

# Use SSL/TLS to send secure messages to server.
#UseTLS=YES

# Use SSL/TLS certificate to authenticate against smtp host.
#UseTLSCert=YES

# Use this RSA certificate.
#TLSCert=/etc/ssl/certs/ssmtp.pem

# Get enhanced (*really* enhanced) debugging information in the logs
# If you want to have debugging of the config file parsing, move this
option
# to the top of the config file and uncomment
#Debug=YES


This has worked fine for about a week until yesterday when I 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
Jul 17 00:00:46 camille sSMTP[18912]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 00:05:16 camille sSMTP[18939]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 00:05:16 camille sSMTP[18939]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 00:33:26 camille sSMTP[20274]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 00:33:26 camille sSMTP[20274]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 00:50:02 camille sSMTP[20338]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 00:50:02 camille sSMTP[20338]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 00:50:06 camille sSMTP[20340]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 00:50:06 camille sSMTP[20340]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 02:59:01 camille sSMTP[20775]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 02:59:01 camille sSMTP[20775]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 02:59:06 camille sSMTP[20776]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 02:59:06 camille sSMTP[20776]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 03:00:03 camille sSMTP[20800]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 03:00:03 camille sSMTP[20800]: Set
RewriteDomain="camille.espersunited.com" used
Jul 17 03:00:06 camille sSMTP[20829]: Set
RewriteDomain="root@camille.espersunited.com" is invalid
Jul 17 03:00:06 camille sSMTP[20829]: Set
RewriteDomain="camille.espersunited.com" used

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




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-07-17 14:26 99% [gentoo-user] A little OT; ssmtp: Is this correct? Michael Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox