处理时遇到错误:ssmtp

时间:2019-12-27 17:40:31

标签: linux ubuntu installation smtp ssmtp

所以我试图在服务器上使用ssmtp,但是当我安装ssmtp时出现此错误。

Preparing to unpack .../ssmtp_2.64-8ubuntu2_amd64.deb ...
Unpacking ssmtp (2.64-8ubuntu2) ...
Setting up ssmtp (2.64-8ubuntu2) ...
sed: -e expression #1, char 69: unknown option to `s'
dpkg: error processing package ssmtp (--configure):
 installed ssmtp package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.7-3) ...
Errors were encountered while processing:
 ssmtp
E: Sub-process /usr/bin/dpkg returned an error code (1)

我检查了一下,发现这些文件不匹配可能是一个问题。 但是我的文件确实匹配。

admin@myhostname:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 myhostname

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

admin@myhostname:~$ cat /etc/hostname
127.0.0.1 localhost
127.0.0.1 myhostname

关于可能会出现什么问题的任何想法?

0 个答案:

没有答案