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
    • 最新
    • 标签
主页 / user-645800

Etienne Charland's questions

Martin Hope
Etienne Charland
Asked: 2018-01-24 16:43:05 +0800 CST

Postfix 中继访问被拒绝

  • 1

我的服务器上的交付问题已经有一段时间了,但只有在发送到外部地址时,转发到我自己的电子邮件地址才有效。这个问题已经困扰很久了,必须解决它。一直在网上搜索“Postfix Relay Access Denied”,但没有一个解决方案为我修复它,尽管我确实做了一些更改。

我在 Linode 上托管。这是我的 main.cf 文件

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination
myhostname = mail.emergenceguardian.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = spiritualselftransformation.com, www.spiritualselftransformation.com, localhost, localhost.spiritualselftransformation.com, localhost
relayhost = 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

virtual_alias_domains = emergenceguardian.com shamanicattraction.com satrimono.com
virtual_alias_maps = hash:/etc/postfix/virtual
home_mailbox = mail/

我错过了什么?

该服务器应该 1. 将特定域的电子邮件转发到我在其他地方托管的电子邮件帐户 2. 允许从我的网站发送电子邮件

另外,如果我写的是spiritualselftransformation.com 或emergeguardian.com,对mydestination 有什么影响?我不知道这是否重要,但 EmergenceGuardian 电子邮件的 DNS 已链接到 ProtonMail。

你还有什么建议调整的吗?

谢谢

networking
  • 1 个回答
  • 1626 Views
Martin Hope
Etienne Charland
Asked: 2017-02-08 08:06:19 +0800 CST

Ubuntu 16.04.1 mod_mono 无法安装

  • 0

我的服务器出现了一些问题,所以我决定完全卸载 Mono 并重新安装它。大错误。在我修复它之前,它不会重新安装并且服务器已损坏。

首先,我卸载了所有与单声道相关的东西。

然后,我按照这些说明在 Ubuntu 16.04.1 http://www.mono-project.com/docs/getting-started/install/linux/上安装

我确认文件 /etc/apt/sources.list.d/mono-xamarin.list 包含

deb http://download.mono-project.com/repo/debian wheezy main
deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main

然后我输入“apt-get install mono-complete”

然后apache2无法重新加载。挖掘之后,很明显没有 mod_mono 的踪迹。如果我查看 /etc/apache2/mods-available/,mod_mono 不存在。

为什么 mod_mono 无法安装,我该如何安装?谢谢!

作为旁注,我还尝试重新安装没有 Xamarin 存储库的默认 Ubuntu 版本,它也无法安装 mod_mono。

c#
  • 1 个回答
  • 879 Views
Martin Hope
Etienne Charland
Asked: 2017-01-24 07:44:12 +0800 CST

在 Ubuntu 上使用最新的 Mono (4.9) 而不是 3.2.8

  • 0

我有一个运行 Mono v3.2.8 的 Ubuntu VPS。我正在尝试使用这些说明将其升级到最新的 mono v4.9。 http://www.mono-project.com/docs/getting-started/install/linux/ci-packages/

我安装了最新的快照。然后呢?

v3.2.8 仍然安装,两个版本之间可能存在冲突。网站仍然使用 v3.2.8。我尝试卸载它,但显然我还没有完全成功,因为网站仍在使用它运行。

如果我尝试使用“.mono-snapshot mono”切换到最新版本,它只是在命令行开头添加“[mono-2017.01.22+16.25.00]”。那是什么?

/etc/apache2/sites-available/ 中的网站配置文件包含此内容。这需要改变吗?

<IfModule mod_mono.c>
  MonoServerPath mydomain.com "/usr/bin/mod-mono-server4"
  MonoApplications mydomain.com "/:/var/www/mydomain"
</IfModule>

那么... 启动并运行 v4.9 的下一步是什么?

编辑:我刚刚发现它安装在 /opt/mono-2017.01.23+22.17.42/ 并且配置文件在这个文件夹中 /usr/share/mono-snapshot/packages.d/mono 现在......怎么办我将服务器配置为使用该版本?

software-installation
  • 1 个回答
  • 3177 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