1 |
I've had this problem for awhile (actually since I got this computer |
2 |
back in October), but I haven't done anything about it until now. It |
3 |
has to do with my ssmtp configuration. On my HP (the computer before |
4 |
this one) ssmtp worked correctly out of the box, so I figured it would |
5 |
be the same with this one, but it wasn't. My cron jobs on my client PC |
6 |
(camille) send out cron reports, and while I know I could just redirect |
7 |
them into /dev/null, I'd like to be able to look over them. They are |
8 |
supposed to send the reports via ssmtp to my server box (bullet), but |
9 |
instead I get error emails from bullet: |
10 |
|
11 |
|
12 |
The original message was received at Fri, 23 Dec 2005 23:29:48 -0600 |
13 |
from camille.espersunited.com [192.168.1.3] |
14 |
|
15 |
----- The following addresses had permanent fatal errors ----- |
16 |
<postmaster@camille> |
17 |
(reason: 553 5.3.5 system config error) |
18 |
|
19 |
----- Transcript of session follows ----- |
20 |
553 5.3.5 camille.espersunited.com. config error: mail loops back to me |
21 |
(MX problem?) |
22 |
554 5.3.5 Local configuration error |
23 |
|
24 |
Reporting-MTA: dns; bullet.espersunited.com |
25 |
Arrival-Date: Fri, 23 Dec 2005 23:29:48 -0600 |
26 |
|
27 |
Final-Recipient: RFC822; postmaster@××××××××××××××××××××.com |
28 |
Action: failed |
29 |
Status: 5.3.5 |
30 |
Diagnostic-Code: SMTP; 553 5.3.5 system config error |
31 |
Last-Attempt-Date: Sat, 24 Dec 2005 12:04:51 -0600 |
32 |
|
33 |
And: |
34 |
|
35 |
The original message was received at Fri, 23 Dec 2005 23:29:48 -0600 |
36 |
from camille.espersunited.com [192.168.1.3] |
37 |
|
38 |
----- The following addresses had permanent fatal errors ----- |
39 |
<postmaster@camille> |
40 |
(reason: 553 5.3.5 system config error) |
41 |
|
42 |
----- Transcript of session follows ----- |
43 |
553 5.3.5 camille.espersunited.com. config error: mail loops back to me |
44 |
(MX problem?) |
45 |
554 5.3.5 Local configuration error |
46 |
|
47 |
Reporting-MTA: dns; bullet.espersunited.com |
48 |
Arrival-Date: Sat, 24 Dec 2005 12:04:51 -0600 |
49 |
|
50 |
Final-Recipient: RFC822; root@××××××××××××××××××××.com |
51 |
Action: failed |
52 |
Status: 5.3.5 |
53 |
Diagnostic-Code: SMTP; 553 5.3.5 system config error |
54 |
Last-Attempt-Date: Sat, 24 Dec 2005 12:04:51 -0600 |
55 |
|
56 |
Here are the files in camille's /etc/ssmtp directory: |
57 |
|
58 |
camille ssmtp # cat revaliases |
59 |
# sSMTP aliases |
60 |
# |
61 |
# Format: local_account:outgoing_address:mailhub |
62 |
# |
63 |
# Example: root:your_login@××××.domain:mailhub.your.domain[:port] |
64 |
# where [:port] is an optional port number that defaults to 25. |
65 |
|
66 |
root@××××××××××××××××××××.com:root@×××××××××××××××××××.com:bullet.espersunited.com |
67 |
postmaster@××××××××××××××××××××.com:root@×××××××××××××××××××.com:bullet.espersunited.com |
68 |
michael@××××××××××××××××××××.com:michael@×××××××××××××××××××.com:bullet.espersunited.com |
69 |
amy@××××××××××××××××××××.com:amy@×××××××××××××××××××.com:bullet.espersunited.com |
70 |
postmaster@camille:postmaster@bullet:bullet.espersunited.com |
71 |
|
72 |
|
73 |
camille ssmtp # cat ssmtp.conf |
74 |
# |
75 |
# /etc/ssmtp.conf -- a config file for sSMTP sendmail. |
76 |
# |
77 |
|
78 |
# The person who gets all mail for userids < 1000 |
79 |
# Make this empty to disable rewriting. |
80 |
root=postmaster |
81 |
|
82 |
# The place where the mail goes. The actual machine name is required |
83 |
# no MX records are consulted. Commonly mailhosts are named |
84 |
mail.domain.com |
85 |
# The example will fit if you are in domain.com and your mailhub is so |
86 |
named. |
87 |
mailhub=bullet.espersunited.com |
88 |
|
89 |
# Example for SMTP port number 2525 |
90 |
# mailhub=mail.your.domain:2525 |
91 |
# Example for SMTP port number 25 (Standard/RFC) |
92 |
# mailhub=mail.your.domain |
93 |
# Example for SSL encrypted connection |
94 |
# mailhub=mail.your.domain:465 |
95 |
|
96 |
# Where will the mail seem to come from? |
97 |
rewriteDomain=camille |
98 |
|
99 |
# The full hostname |
100 |
|
101 |
# Gentoo bug #47562 |
102 |
# Commenting the following line will force ssmtp to figure |
103 |
# out the hostname itself. |
104 |
|
105 |
# hostname=_HOSTNAME_ |
106 |
|
107 |
# Set this to never rewrite the "From:" line (unless not given) and to |
108 |
# use that address in the "from line" of the envelope. |
109 |
#FromLineOverride=YES |
110 |
|
111 |
# Use SSL/TLS to send secure messages to server. |
112 |
#UseTLS=YES |
113 |
|
114 |
# Use SSL/TLS certificate to authenticate against smtp host. |
115 |
#UseTLSCert=YES |
116 |
|
117 |
# Use this RSA certificate. |
118 |
#TLSCert=/etc/ssl/certs/ssmtp.pem |
119 |
|
120 |
|
121 |
I'm not even sure where exactly the problem is (on bullet or on |
122 |
camille), but these error messages every day are really annoying... |
123 |
|
124 |
-- |
125 |
gentoo-user@g.o mailing list |