Articles of dovecot

Dovecot安装:这个错误是什么意思?

我和MySQL一起安装了CentOS 6(linode)上的postfix和dovecot。 表和用户已经设置好了,postfix安装好了,但是dovecot在邮件日志中给我这个错误: Warning: Killed with signal 15 (by pid=9415 uid=0 code=kill) 接下来的几行说这个: Apr 7 16:13:35 dovecot: master: Dovecot v2.0.9 starting up (core dumps disabled) Apr 7 16:13:35 dovecot: config: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf Apr 7 16:13:35 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1: […]

我无法使用NIS用户帐户login到邮件服务器

以下是我的configuration # 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 3.0.0-17-server x86_64 Ubuntu 11.10 auth_mechanisms = plain login mail_location = maildir:/nfs/users/%u/Maildir passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/users driver = passwd-file } protocols = " imap pop3" service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } service imap-login { inet_listener […]

Postfix没有收到非本地邮件

根据本指南 ,我在Linode / Ubuntu 10.04上设置了Postfix / Dovecot服务器,但是我从来没有这样做过。 本地邮件工作正常,但试图从外部地址发送电子邮件导致这样的错误: Delivery to the following recipient failed permanently: <address>@ni-mate.com Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the […]

筛子:将邮件放入子文件夹中

有没有可能写一个像Sieve规则 if envelope :detail "to" "$x" { fileinto "inbox.$x"; } 但所有可能的$x ? 也就是说,如果用户创build了一个文件夹inbox.foo我想邮件发送到user+foo@domain自动登陆那里。 规范似乎不支持这一点。

德韦科特筛和超过配额

有以下的麻烦:当用户超过配额在exim日志中有一个错误消息: $2012-11-06 14:22:38 1TVfxZ-00086u-U1 == username@domain R=localuser T=dovecot_delivery defer (0): Child process of dovecot_delivery transport returned 75 (could mean temporary error) from command: /usr/libexec/dovecot/dovecot-lda 此外,maillog中有一个错误消息: Nov 6 13:33:32 mx2 dovecot: lda(username@domain): Error: sieve: msgid=<[email protected]>: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full) Nov 6 13:33:32 mx2 dovecot: lda(username@domain): Error: sieve: […]

procmail将邮件传递到2个maildir位置

现在我有Postifx – > procmailrc —> maildire —> dovecot,我需要另一个maildir在/ root的另一个文件夹作为备份,同时拥有/ $ home / maildir? 第一和第二都应该有maildir格式的邮件。 我如何指示procmail在另一个位置/根有第二个maildir? 如果这第二个位置需要另一个服务器,我怎样才能发送邮件到那里? 我目前的procmailrc文件是在/ etc和这是—> :0fw: spamassassin.lock * < 256000 | /usr/bin/spamassassin :0 * ^X-Spam-Status: Yes /home/spammail/Maildir/ LOGFILE="/var/log/procmail.log" DEFAULT="$HOME/Maildir/" MAILDIR="$HOME/Maildir/" 期待您的帮助。 谢谢, lasantha

设置邮件服务器的问题:中继访问被拒绝,邮件循环回到我自己

我有一个Debian服务器,configuration了sasl和tls的postfix,以及作为邮件服务器的dovecot。 我有两个单独的问题发送邮件到我的帐户在服务器上。 首先,当我从我的Gmail帐户发送邮件,我得到 Jan 4 23:35:50 avalon postfix/smtpd[2599]: NOQUEUE: reject: RCPT from mail-pb0-f43.google.com[209.85.160.43]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-pb0-f43.google.com> 做一些研究,看来问题是以下两行 smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 我是一个新手,但从我所获得的,后缀是作为一个中继服务器中继来自另一个MTA邮件dovecot,只有我的mynetworks被允许发送中继请求。 它是否正确? 如果是这样,我将如何解决这个问题? 我希望任何人都能够发送电子邮件到这台服务器,但也想防止滥用(例如,垃圾邮件)。 第二个问题是当我试图发送电子邮件给自己,我明白了 Jan 4 23:53:22 avalon postfix/smtp[2679]: 227D638C7857: to=<[email protected]>, relay=none, delay=0.32, delays=0.09/0/0.23/0, dsn=5.4.6, status=bounced (mail for b.com loops […]

ssl与dovecot的问题

我有一个,显然是经常发生但未解决的问题,通过Gmail从外部邮箱中检索邮件时,Gmail。 看看错误的详细信息,它说: 服务器回应:“身份validation失败”。 这个邮件服务器是我自己的服务器,当我从terminal连接: ~$ telnet mail.mydomain.com:995 我得到以下内容: Trying xx.xx.xxx.xx… Connected to mail.mydomain.com. Escape character is '^]'. 然后在尝试login时: user myuser Connection closed by foreign host. 在我的邮件日志中: Mar 26 18:22:42 www dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Mar 26 18:22:42 www dovecot: auth: Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so Mar 26 18:22:42 www dovecot: auth: Debug: […]

将Maildir目录移出/ home

我有一台带有Ubuntu 13.04的电脑,带有一个本地IMAP服务器,用于通过局域网共享电子邮件。 我将此计算机设置为具有encryption的/ home,但是这意味着除非本地用户也login,否则login到服务器的任何人都将无法查看IMAP文件夹。因此,我想将邮件移动到/var/mail/Maildir/%u 。 我在/etc/dovecot/conf.d/01-mail-stack-delivery.conf有以下/etc/dovecot/conf.d/01-mail-stack-delivery.conf mail_location = maildir:/var/mail/Maildir/%u 而我的/etc/postfix/main.cf有: home_mailbox = Maildir/ 但是,当我通过IMAP在本地使用邮件客户端login时,它将重新创build~/Maildir目录,而不是使用/var/mail/ 。 我错过了什么? 编辑: 这是我的postconf -n在应用shutupsquare的答案之后: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes config_directory = /etc/postfix inet_interfaces = all mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot.conf -m "${EXTENSION}" mailbox_size_limit = 0 mailbox_transport = dovecot mydestination = […]

升级旧的Ubuntu Server 11.04部署

我已经负责将Ubuntu Server 11.04升级到其中一个版本,因为它支持去年的Natty生命周期结束 。 我不知道他们是如何得到了近12个月,没有注意到存储库不再完全工作,但除此之外.. 我最初的想法是从12.04或12.10彻底重build,然后build立顶级的服务,但我被告知服务器的停机时间应该保持在最低限度。 为此,我正在寻找从11.04到12.04 / 12.10的就地升级。 据我所知, Ubuntu的升级应该是“交错的” – 即11.04> 11.10> 12.04> 12.10 – 但是我对这样的执行还是比较谨慎的。 我很乐意分阶段完成,validation所有服务和stream程在升级的每个阶段开始和执行,但对我来说,这似乎只是一个不明智的想法。 我可能是错的,但是如何保证服务在升级过程中保持稳定呢? 你有什么想法和经验? 我会非常感激你的build议或指针。 提前致谢。