1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA512 |
3 |
|
4 |
Neil Bothwick wrote: |
5 |
| On Sun, 06 Apr 2008 03:29:08 -0400, Chris Walters wrote: |
6 |
| |
7 |
|> I just noticed in the logs |
8 |
|> that periodically, something tries to send something through |
9 |
|> '(myhost).adelphia.net'. This is a problem, since there is no such |
10 |
|> domain. Now to the reason I think it is sSMTP (a misconfiguration, or |
11 |
|> something): |
12 |
| |
13 |
| It could be, but only you know how ssmtp is configured. What is |
14 |
| in /etc/ssmtp/ssmtp.conf |
15 |
| |
16 |
| Incidentally, why not mention ssmtp in the Subject: it would be a lot |
17 |
| more helpful that what you used and may even increase your chances of a |
18 |
| solution. |
19 |
|
20 |
Here are the contents of my ssmtp.conf file: |
21 |
|
22 |
# |
23 |
# /etc/ssmtp.conf -- a config file for sSMTP sendmail. |
24 |
# |
25 |
|
26 |
# The person who gets all mail for userids < 1000 |
27 |
# Make this empty to disable rewriting. |
28 |
root=postmaster |
29 |
|
30 |
# The place where the mail goes. The actual machine name is required |
31 |
# no MX records are consulted. Commonly mailhosts are named mail.domain.com |
32 |
# The example will fit if you are in domain.com and your mailhub is so named. |
33 |
mailhub=mail |
34 |
|
35 |
# Example for SMTP port number 2525 |
36 |
# mailhub=mail.your.domain:2525 |
37 |
# Example for SMTP port number 25 (Standard/RFC) |
38 |
# mailhub=mail.your.domain |
39 |
# Example for SSL encrypted connection |
40 |
# mailhub=mail.your.domain:465 |
41 |
|
42 |
# Where will the mail seem to come from? |
43 |
rewriteDomain= |
44 |
|
45 |
# The full hostname |
46 |
|
47 |
# Gentoo bug #47562 |
48 |
# Commenting the following line will force ssmtp to figure |
49 |
# out the hostname itself. |
50 |
|
51 |
# hostname=_HOSTNAME_ |
52 |
|
53 |
# Set this to never rewrite the "From:" line (unless not given) and to |
54 |
# use that address in the "from line" of the envelope. |
55 |
#FromLineOverride=YES |
56 |
|
57 |
# Use SSL/TLS to send secure messages to server. |
58 |
#UseTLS=YES |
59 |
|
60 |
# Use SSL/TLS certificate to authenticate against smtp host. |
61 |
#UseTLSCert=YES |
62 |
|
63 |
# Use this RSA certificate. |
64 |
#TLSCert=/etc/ssl/certs/ssmtp.pem |
65 |
|
66 |
** End ssmtp.conf ** |
67 |
|
68 |
And here is the the revaliases file: |
69 |
|
70 |
# sSMTP aliases |
71 |
# |
72 |
# Format: local_account:outgoing_address:mailhub |
73 |
# |
74 |
# Example: root:your_login@××××.domain:mailhub.your.domain[:port] |
75 |
# where [:port] is an optional port number that defaults to 25. |
76 |
|
77 |
** End revaliases ** |
78 |
-----BEGIN PGP SIGNATURE----- |
79 |
|
80 |
iQIcBAEBCgAGBQJH+Qp8AAoJEIAhA8M9p9DAUowP/1oIYlJJVyOigRcLNcY3+M++ |
81 |
EQX65eKh3AewCKaDoHpK4qdNP60TMlK7whle2vMzoAa6Fxtcx5m6f9S9mqu+o/GZ |
82 |
72zLEskXVCc4Z+5awWOZ+oownAQd53T12gRhLf//NqwOp6yoyfW7zKkMIeZK+kF0 |
83 |
g9q2dXZZTcyXFmesYcvZp8Tfg8zrpgs5QlLtmysNkq0Ia6BkJdtv96joa9eaiR1B |
84 |
YIm4mBU3vm56gAhna1gljhwPbDHKhvM2KTLxZhL4vczk4oYYXLJ2o/tE2427PXKH |
85 |
zWxJrv2GH+a8rjHAbpj2SjMKXjMGLwu07Qhwo22KuxzSlGs9lh5n+K3E1uNVXb77 |
86 |
CMNHfvJo22tU8hBe06COJrFQntZvSAD26s2pOPHXKdPIOjZUK1cectW7XaLyI3Pj |
87 |
TwtZEIO2VqDTqIaG/uCVO/uM2Fa9FQ4Fnx9rzGx8EeAxEAVhYYX2h3C2iaaVJfl4 |
88 |
6s9dJUn5OOecwnuj4CptAdNxwEmyHB0SNQFp+LafEj2XzACbadF9IxpsUjGZKi87 |
89 |
q2AXHpvx1uJPEYOgRONvkGY7Icjj/G/uxBlZPt70/TaPDvZm7S6Gr5Sp3g2vMS93 |
90 |
Go7DtFvxC7Uiht9EYtJdTvkq/o/eC2026MgTtDs0TBNpLOg49f9L8UPbsDmBUkx3 |
91 |
PyQHVEybu9vcoc0UNSv4 |
92 |
=Bitk |
93 |
-----END PGP SIGNATURE----- |
94 |
-- |
95 |
gentoo-user@l.g.o mailing list |