AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[exim](ubuntu)

Martin Hope
Example person
Asked: 2020-02-24 08:26:54 +0800 CST

在 Exim 中重新配置 root 和 postmaster 邮件收件人

  • 1

我安装了 Exim 和 mailutils(用于接收)在 Ubuntu 中通过 PHP 发送邮件。安装后,我运行命令dpkg-reconfigure exim4-config,要求我为 root 和 postmaster 设置邮件收件人(我很着急)。我在那里输入了root(不确定我是否打错了)。下次我尝试重新配置 Exim 时,我无法设置该设置。如何重新设置该设置?请告诉我。我自己无法找到解决方案。

dpkg email exim
  • 1 个回答
  • 2110 Views
Martin Hope
nobody
Asked: 2019-11-06 09:43:01 +0800 CST

exim4 没有邮件发送

  • 0

在 ubuntu disco 中,无法通过 exim4 接收任何邮件。通常情况下,我会收到来自 aptlist-cachnges 的电子邮件。

2019-11-05 17:42:24 1iS0af-0001oH-B2 Message is frozen
2019-11-05 17:42:24 1iS1Je-0002HV-Lj == alex@guilmon R=local_user T=mail_spool defer (-52): Retry time not yet reached
2019-11-05 17:42:24 1iS165-0001ya-O5 Message is frozen
2019-11-05 17:42:24 1iRzKT-0003zY-4h == alex@guilmon R=local_user T=mail_spool defer (-52): Retry time not yet reached
2019-11-05 17:42:24 1iS1Du-000211-4c == alex@guilmon R=local_user T=mail_spool defer (-52): Retry time not yet reached
2019-11-05 17:42:24 1iS11A-0001vD-Ao Message is frozen
2019-11-05 17:42:24 End queue run: pid=1264

和

strings /var/spool/exim4/db/retry
mailbox /var/mail/alex has too many links (2)
T:alex@guilmon

Exim ist 配置为仅用于本地交付。我以前从未见过这样的错误。

尝试消除冻结的邮件exim 错误

我不知道错误到底在哪里。

注意 ipv6 被禁用。

netstat -tulpen | grep exim4
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          29826      1261/exim4    
email 19.04 exim
  • 1 个回答
  • 189 Views
Martin Hope
nobody
Asked: 2019-09-22 04:54:13 +0800 CST

apt-listchanges 崩溃。我怎样才能得到电子邮件?

  • 0

我做了一个apt full-upgrade它更新thermald。

通常,我会从 apt-listchanges 通过 exim4 收到一封电子邮件到 localhost。它工作了 2 天。

Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 thermald i386 1.7.0-5ubuntu5 [203 kB]
Fetched 203 kB in 0s (519 kB/s) 
apt-listchanges: Changelogs werden gelesen...
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 281, in <module>
    main(config)
  File "/usr/bin/apt-listchanges", line 145, in main
    _send_email(changes, lambda: _("apt-listchanges: changelogs for %s") % hostname)
  File "/usr/bin/apt-listchanges", line 267, in _send_email
    apt_listchanges.mail_changes(config, changes, subject_getter())
  File "/usr/share/apt-listchanges/apt_listchanges.py", line 65, in mail_changes
    'subject': subject})
  File "/usr/share/apt-listchanges/ALCLog.py", line 36, in info
    print(_("apt-listchanges: %(msg)s") % {'msg': msg}, file=sys.stdout);
UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 73: ordinal not in range(128)
(Reading database ... 381751 files and directories currently installed.)
Preparing to unpack .../thermald_1.7.0-5ubuntu5_i386.deb ...
Unpacking thermald (1.7.0-5ubuntu5) over (1.7.0-5ubuntu2) ...
Setting up thermald (1.7.0-5ubuntu5) ...
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

蟒蛇版本

python --version
Python 2.7.15+

和

python3 --version
Python 3.6.8

我不确定哪些信息很重要。

hostnamectl 
   Static hostname: beelzemon
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: acaecd284840b500117c175c571c9e28
           Boot ID: c583ba22cd6c4abdbf6627d82e26283d
  Operating System: Ubuntu 18.04.3 LTS
            Kernel: Linux 5.0.21-050021-generic
      Architecture: x86

我需要这个 Ukuu-Kernel 进行休眠。这里 如何再次从 apt-listchanges 获取电子邮件?

 head -n36 /usr/share/apt-listchanges/ALCLog.py
# vim:set fileencoding=utf-8 et ts=4 sts=4 sw=4:
#
#   apt-listchanges - Show changelog entries between the installed versions
#                     of a set of packages and the versions contained in
#                     corresponding .deb files
#
#   Copyright (C) 2016       Robert Luberda  <[email protected]>
#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public
#   License along with this program; if not, write to the Free
#   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
#   MA 02111-1307 USA
#

import sys

from ALChacks import _

def error(msg):
    print(_("apt-listchanges: %(msg)s") % {'msg': msg}, file=sys.stderr);

def warning(msg):
    print(_("apt-listchanges warning: %(msg)s") % {'msg': msg}, file=sys.stderr);

def info(msg):
    print(_("apt-listchanges: %(msg)s") % {'msg': msg}, file=sys.stdout);
python apt email exim
  • 1 个回答
  • 445 Views
Martin Hope
Arne
Asked: 2019-06-05 05:15:31 +0800 CST

如何使用 sa-exim 和 exim4 将垃圾邮件移动到用户的垃圾邮件文件夹?

  • 0

我已经在我的 Ubuntu LTS 安装上安装并成功配置了 exim4 和 sa-exim。垃圾邮件已成功标记:

X-SA-Exim-Connect-IP: 89.238.139.198
X-SA-Exim-Mail-From: hertaqcrqsaa@xxx
Subject: =?UTF-8?Q?F=C3=BCr_den_privaten_und_gesch=C3=A4ftlichen_Gebrauch:_=C3=B6konomische_LED-Lampen,_verbilligt?=
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.root42.de
X-Spam-Flag: YES
X-Spam-Level: **********
X-Spam-Status: Yes, score=10.3 required=5.0 tests=BAYES_60,HTML_IMAGE_ONLY_20,
    HTML_MESSAGE,HTML_SHORT_LINK_IMG_3,RCVD_IN_SBL_CSS,SPF_PASS,
    T_DKIM_INVALID,URIBL_ABUSE_SURBL,URIBL_BLOCKED,URIBL_DBL_SPAM
    autolearn=no autolearn_force=no version=3.4.2
X-SA-Exim-Version: 4.2.1 (built Sun, 16 Aug 2015 09:47:16 +0000)
X-SA-Exim-Scanned: Yes (on xxx.xxxxxx.de)

但电子邮件仍会发送到用户的收件箱 Maildir。如何将其更改为转到用户的 .Spam Maildir?

server email spamassassin exim
  • 2 个回答
  • 905 Views
Martin Hope
Artex
Asked: 2018-10-20 01:45:51 +0800 CST

如何在 Exim 邮件服务器的端口 25 上拒绝身份验证

  • 0

我在 exim.cnf 中有以下配置

    daemon_smtp_ports = 25:465
    ######################## Exim TLS
    tls_advertise_hosts = *
    tls_on_connect_ports = 465

    tls_certificate=/opt/ssl/certs/server.crt
    tls_privatekey=/opt/ssl/certs/server.key

如何拒绝 25 端口的身份验证?目前,25 PLAIN 和 465 SSL 端口都允许进行身份验证。

smtp mail-server exim
  • 1 个回答
  • 1449 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve