Tag: email

dpkg:error handling包mail-stack-delivery

在安装这个mail-stack-delivery我想清除配置文件并重新开始,但似乎已经破坏了它: thufir@mordor:~$ thufir@mordor:~$ sudo dpkg –configure -a Setting up mail-stack-delivery (1:2.2.18-2ubuntu2) … grep: /etc/dovecot/conf.d/10-ssl.conf: No such file or directory grep: /etc/dovecot/conf.d/10-ssl.conf: No such file or directory ln: failed to create symbolic link ‘/etc/dovecot/private/dovecot.pem’: No such file or directory dpkg: error processing package mail-stack-delivery (–configure): subprocess installed post-installation script returned error exit status 1 Errors were […]

邮件服务器配置Ubuntu Server 16.04

我有一个配置运行的Web服务器(Ubuntu Server 16.04 LTS)。 我的目的是在它上面安装一个Mailserver,让所有人都拥有它。 WebServer正在VM上运行。 我怎样才能干净地安装这些东西,避免意外情况的系统崩溃? 阅读我要安装一些我已经安装的apt-get存储库,但是一旦我开始基于apache2和php5(已经在运行服务上的服务)启动Postfix和Dovecot安装,我不确定这是否会重叠或产生冲突机)。 是否有一个非常好的讲座/论坛谁已经处理这个? 我在askubuntu上找不到合适的搜索关键字。 如果您可能需要更多信息,请告诉我在终端上执行的命令,我将在此处发布。 更新2017/06/30 配置Postfix / Dovecot时遇到一些错误。 这是我上传的错误信息 /var/log/mail.err … Jun 30 15:50:47 node01-mail postmulti[1484]: fata: /etc/postfix/main.cf, line 52: missing `=` afterattribute name: “permix_sasl_authenticated, permit_mynetworks, reject_unauth_destination” Jun 30 15:59:36 node01-mail dovecot: imap(user.name): Error: file_dotlock_create (/var/mail/username) failed: Permission denied (euid=1002(user.name) egid=1002(user.name) missing +w perm: /var/mail, we’re not in […]

如何在使用vhosts时配置apache / php / postfix网站电子邮件?

我有一个LAMP网络服务器,配置为多个网站服务。 每个虚拟主机都有各种PHP应用程序,主要是Wordpress。 当用户注册Wordpress站点时,PHP会将电子邮件发送到postfix,然后发送到接收者。 问题是postfix使用/ etc / hostname的内容向远程服务器标识自己,而/ etc / hostname不是完全限定的域名。 某些邮件服务器拒绝此邮件并且邮件会被退回。 此外,返回路径被设置为虚拟主机域之一,似乎是随机的。 我可以将/ etc / hostname设置为其中一个网站域名,但是来自其他网站的电子邮件在标头中会有一个错误的服务器,这不会修复返回路径问题。 可能相关,apache2在启动时说“无法确定服务器的完全限定域名”。 如何解决此问题,以便每个网站都可以发送电子邮件而不会泄露服务器上托管的其他网站? 示例错误: Oct 15 20:29:32 Ubuntu-1204-precise-64-minimal postfix/smtp[17214]: CD087E00DF6: to=, relay=spool.mail.gandi.net[217.70.184.6]:25, delay=0.29, delays=0.12/0/0.09/0.07, dsn=5.5.2, status=bounced (host spool.mail.gandi.net[217.70.184.6] said: 504 5.5.2 : Helo command rejected: need fully-qualified hostname (in reply to RCPT TO command)) 我现在已经在/ etc / hosts和/ etc / […]

如何设置Cron发送电子邮件?

我在NAS设备上每天运行一次以下cron job命令: find /nfs/rpiggott/complete -mtime +45 -exec rm {} \; 我想知道是否有办法管道列表,这将导致cron向我发送电子邮件,显示它删除的文件和/或遇到的任何错误。

如何从Cron (每小时)停止电子邮件报告

我正在运行Ubuntu 12.04,我已经使用我的gmail帐户配置了“ssmtp”,现在我每小时收到一封带有报告的电子邮件,这是一个例子: From: root Date: 2012/8/13 Subject: Cron [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) ! -execdir fuser -s {} 2>/dev/null \; -delete To: root Failed loading /usr/lib/php5/20090626/xdebug.so: /usr/lib/php5/20090626/xdebug.so: cannot open shared object file: No such file or directory 更多信息: $ […]

在WinXP上进行双重安装后迁移到完整的Ubuntu

我之前在WinXP上运行了12.04,看看它是如何在我母亲的旧款笔记本上进行的。 我还将她的电子邮件迁移到了Thunderbird。 如果我现在从双WinXP / Ubuntu转换为仅运行Ubuntu将像她的Thunderbird电子邮件一样转移到Ubuntu完整安装的一部分? 或者我必须做点什么吗? 我很懂技术,但不是一个完整的IT棺材!

我可以链接到电子邮件地址打开Gmail而不是Evolution吗?

当我点击Firefox或Google Chrome中的电子邮件地址链接时,会出现“欢迎使用Evolution”屏幕。 我可以改为打开Gmail,或者至少禁止Evolution运行吗?