Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] A little OT; ssmtp: Is this correct?
Date: Fri, 17 Jul 2009 14:26:31
Message-Id: 1247840784.14873.7.camel@camille.espersunited.com
1 On my PC (camille.espersunited.com) I have ssmtp installed. It's
2 supposed to send all mail from camille to the exim server on
3 baby.espersunited.com. My ssmpt.conf file looks like this:
4
5 camille log # cat /etc/ssmtp/ssmtp.conf
6 #
7 # /etc/ssmtp.conf -- a config file for sSMTP sendmail.
8 #
9
10 # The person who gets all mail for userids < 1000
11 # Make this empty to disable rewriting.
12 root=postmaster
13
14 # The place where the mail goes. The actual machine name is required
15 # no MX records are consulted. Commonly mailhosts are named
16 mail.domain.com
17 # The example will fit if you are in domain.com and your mailhub is so
18 named.
19 mailhub=baby.espersunited.com
20
21 # Example for SMTP port number 2525
22 # mailhub=mail.your.domain:2525
23 # Example for SMTP port number 25 (Standard/RFC)
24 # mailhub=mail.your.domain
25 # Example for SSL encrypted connection
26 # mailhub=mail.your.domain:465
27
28 # Where will the mail seem to come from?
29 rewriteDomain=root@××××××××××××××××××××.com
30
31 # The full hostname
32
33 # Gentoo bug #47562
34 # Commenting the following line will force ssmtp to figure
35 # out the hostname itself.
36
37 # hostname=_HOSTNAME_
38
39 # Set this to never rewrite the "From:" line (unless not given) and to
40 # use that address in the "from line" of the envelope.
41 #FromLineOverride=YES
42
43 # Use SSL/TLS to send secure messages to server.
44 #UseTLS=YES
45
46 # Use SSL/TLS certificate to authenticate against smtp host.
47 #UseTLSCert=YES
48
49 # Use this RSA certificate.
50 #TLSCert=/etc/ssl/certs/ssmtp.pem
51
52 # Get enhanced (*really* enhanced) debugging information in the logs
53 # If you want to have debugging of the config file parsing, move this
54 option
55 # to the top of the config file and uncomment
56 #Debug=YES
57
58
59 This has worked fine for about a week until yesterday when I rebooted.
60 Now I'm seeing these in my log file:
61
62 Jul 17 00:00:46 camille sSMTP[18912]: Set
63 RewriteDomain="root@××××××××××××××××××××.com" is invalid
64 Jul 17 00:00:46 camille sSMTP[18912]: Set
65 RewriteDomain="camille.espersunited.com" used
66 Jul 17 00:05:16 camille sSMTP[18939]: Set
67 RewriteDomain="root@××××××××××××××××××××.com" is invalid
68 Jul 17 00:05:16 camille sSMTP[18939]: Set
69 RewriteDomain="camille.espersunited.com" used
70 Jul 17 00:33:26 camille sSMTP[20274]: Set
71 RewriteDomain="root@××××××××××××××××××××.com" is invalid
72 Jul 17 00:33:26 camille sSMTP[20274]: Set
73 RewriteDomain="camille.espersunited.com" used
74 Jul 17 00:50:02 camille sSMTP[20338]: Set
75 RewriteDomain="root@××××××××××××××××××××.com" is invalid
76 Jul 17 00:50:02 camille sSMTP[20338]: Set
77 RewriteDomain="camille.espersunited.com" used
78 Jul 17 00:50:06 camille sSMTP[20340]: Set
79 RewriteDomain="root@××××××××××××××××××××.com" is invalid
80 Jul 17 00:50:06 camille sSMTP[20340]: Set
81 RewriteDomain="camille.espersunited.com" used
82 Jul 17 02:59:01 camille sSMTP[20775]: Set
83 RewriteDomain="root@××××××××××××××××××××.com" is invalid
84 Jul 17 02:59:01 camille sSMTP[20775]: Set
85 RewriteDomain="camille.espersunited.com" used
86 Jul 17 02:59:06 camille sSMTP[20776]: Set
87 RewriteDomain="root@××××××××××××××××××××.com" is invalid
88 Jul 17 02:59:06 camille sSMTP[20776]: Set
89 RewriteDomain="camille.espersunited.com" used
90 Jul 17 03:00:03 camille sSMTP[20800]: Set
91 RewriteDomain="root@××××××××××××××××××××.com" is invalid
92 Jul 17 03:00:03 camille sSMTP[20800]: Set
93 RewriteDomain="camille.espersunited.com" used
94 Jul 17 03:00:06 camille sSMTP[20829]: Set
95 RewriteDomain="root@××××××××××××××××××××.com" is invalid
96 Jul 17 03:00:06 camille sSMTP[20829]: Set
97 RewriteDomain="camille.espersunited.com" used
98
99 But the mail that camille tries to send ends up in dead.letter. What's
100 going on here?

Replies

Subject Author
Re: [gentoo-user] A little OT; ssmtp: Is this correct? Michael Higgins <linux@×××××××.org>