我试图在本地安装一个postfix邮件服务器,只在Linux 16上发送邮件。我成功地将邮件发送到非TLS MTA,但没有发送到gmail。后来,我发现我需要配置后缀以支持TLS和SASL身份验证方法。
我遵循了https://help.ubuntu.com/community/Postfix的本教程来设置邮件服务器。我的邮件服务器目前没有打开TLS连接。
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 Ganesha ESMTP Post
我的邮件服务器有问题。我有后缀和dovecot当前配置:/etc/后缀/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
sm
我已经安装了(今天更新,2012年12月2日)。它与Oracle一起使用。这个虚拟服务器有linux、apache、php、mysql和Postfix MTA (绑定到localhost),允许从web应用程序发送电子邮件。
问题是我不能使用Postfix发送邮件,因为我不知道使用哪个用户名、密码或端口。
我用来发送邮件的,带有PHP代码。我已经成功地使用我的网站服务器之一发送邮件:
// Create the Transport
$transport = Swift_SmtpTransport::newInstance('localhost', 465, 'ssl
前几天,我在华硕x201e上做了一个新的安装,直到17.04。我只是试着安装电池节能型应用程序TLP,但当我安装时,我得到了以下响应:
Reading package lists...
Done Building dependency tree
Reading state information... Done
The following additional packages will be installed:
guile-2.0-libs libgc1c2 libgsasl7 libkyotocabinet16v5 libmailutils5 libntlm0
系统:
后缀3.1.2
CentOS 6.8
x86_64上的内核和CPU Linux2.6.32-642.2.el6.centos.plus.x86_64
Dovecot,PostGrey,Amavis
启动后缀后给出警告消息。
[root@sun etc]# postfix start
postfix/postfix-script: warning: group or other writable: /etc/postfix/./master.cf
postfix/postfix-script: starting the Postfix mail system
更新1:
我找到了原因。给出
我在Squirrelmail Linux上安装了后缀.
我经营的服务包括:
service httpd
service ssl
service mysql
service postfix
service saslauthd
service dovecot
我已经在centOS服务器上安装了后缀。我想知道当我发送电子邮件时,如何禁用后缀上的所有日志?日志存在于服务器上,甚至存在于我来自SquirrelMail的邮箱中。
我怎么才能发邮件,却什么都不去我的信箱?
谢谢
我正在尝试pkgng安装postfix。
# pkg install postfix
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
pkg: Package 'postfix' was not found in the repositories
但是,默认配置似乎不会在FreeBSD站点上搜索预编译端口集合。如何从远程站点安装?
我正在使用FreeBSD 9。
如何配置我的linux机器从终端发送电子邮件。
我尝试了以下方法
apt-get install postfix mailutils
sudo systemctl start postfix
echo "Email Text" | mail -s "Subject" "user@address.com"
但邮件没有寄出。
我还检查了后缀状态,在指南中出现了一些错误。
sudo systemctl status postfix
...
Our system has detected that 550-5.7.1 this message does
我在一个单独的分区上安装了/var,并安装了noexec,nodev,nosuid。通过postfix发送电子邮件不起作用,我的日志中有以下错误:
postfix: fatal: unknown service: smtp/tcp
postfix: warning: private/smtp socket: malformed response
postfix: warning: process /usr/lib/postfix/smtp pid 6569 exit status 1
postfix: warning: transport smtp failure -- see a p