Articles of dovecot

Postfix中的配额,Maildir中的Dovecot不起作用

Maildir的配额存在一些问题。 如果我在Thunderbird上安装了一个显示Quota的插件,那么它的配额就好像是300%。 但我仍然可以发送和接收邮件。 我没有运行任何sql数据库,我只使用Maildir格式将邮件存储在Linux / Ubuntu的用户主文件夹中。 quota = maildir:User quota quota_rule = *:storage=5M 请让我知道,如果有更多的configuration,你需要能够帮助我。 Postfix Conf。 alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix home_mailbox = Maildir/ inet_interfaces = all inet_protocols = ipv4 mailbox_command = mailbox_size_limit = 0 message_size_limit = 52428800 mydestination = mail.domain.com, domain.com, localhost.localdomain, localhost mydomain […]

为什么Postfix将邮件放在不同于我放在main.cf中的邮件位置?

我试图找出为什么邮件不会去/ home / username / Maildir,而是要去/ var / spool / mail / 我的postfix main.cf有home_mailbox = Maildir/和dovecot 10-mail.conf有mail_location = maildir:~/Maildir 。 我安装了鸽舍核心,dovecot-imapd和dovecot-lmtpd。 lmtpd postfix和dovecot之间的通信是什么? 我在main.cf中看到了这个virtual_transport = lmtp:unix:private/dovecot-lmtp命令,但不确定是否需要它。 更新:已解决。 我有mailbox_command = procmail -a“$ EXTENSION” 评论出来,现在它工作。

OpenDKIM邮件头:temperror

我刚刚安装并configuration了OpenDKIM,在我的服务器上使用Postfix和Dovecot。 我可以发送电子邮件到另一个帐户,但是当我检查标题时,我发现这个: dkim=temperror (no key for signature) 这里是我所做的最重要的configuration(实际上,我遵循DigitalOcean的这个教程 )。 我的服务器正在运行Ubuntu 14.04(x86)。 事实上,我该如何纠正这个错误呢? (该行告诉我,邮件没有被validation)。 文件:/etc/opendkim.conf(fragment) AutoRestart Yes AutoRestartRate 10/1h UMask 002 Syslog yes SyslogSuccess Yes LogWhy Yes Canonicalization relaxed/simple ExternalIgnoreList refile:/etc/opendkim/TrustedHosts InternalHosts refile:/etc/opendkim/TrustedHosts KeyTable refile:/etc/opendkim/KeyTable SigningTable refile:/etc/opendkim/SigningTable Mode sv PidFile /var/run/opendkim/opendkim.pid SignatureAlgorithm rsa-sha256 UserID opendkim:opendkim Socket inet:12301@localhost 文件:/ etc / opendkim / TrustedHosts 127.0.0.1 localhost 192.168.0.1/24 […]

Postfix / Dovecot与MySQL在CentOS 7上没有创build正确的目录结构

我在CentOS机器上使用了Postfix,Dovecot和MySQL来build立一个邮件服务器,为一些虚拟用户提供服务,但由于某种原因,它并没有将电子邮件存储在正确的文件夹中。 Postfix和Dovecot都使用一个叫做vmail的系统用户,它的主目录设置为/ home / vmail 域名及其关联的电子邮件地址存储在MySQL数据库中,Postfix应在/ home / vmail中创build邮箱。 电子邮件应按照以下格式存储在文件夹中: /home/vmail/example.com/sales/Maildir – > [email protected] /home/vmail/example.com/contact/Maildir – > [email protected] 但是无论他们的目标地址是什么,他们都被转储到这个文件夹中: /家庭/ vmail / vmail / Maildir的 因为使用任何电子邮件客户端访问这些邮件是不可能的。 一切(authentication,发送/接收电子邮件)的作品,电子邮件只是不存储他们应该在的地方。 使用Courier而不是Dovecot的类似设置按预期工作,所以我认为这只是与Dovecot相关的事情。 这是我的鸽舍configuration降到最低: protocols = imap pop3 log_timestamp = "%Y-%m-%d %H:%M:%S" mail_location = maildir:/home/vmail/%d/%n/Maildir ssl_cert = </etc/pki/dovecot/certs/dovecot.pem ssl_key = </etc/pki/dovecot/private/dovecot.pem namespace { type = private separator = . prefix […]

postfix允许localhost使用普通login

我有与Dovecot SASL的Debian杰西后缀2.11安装程序,我需要encryption的login机制通过SMTP发送邮件。 为此在main.cf我smtpd_tls_auth_only = yes选项设置。 我对结果很满意,但是我想让本地主机使用纯文本login而不用tlsencryption。 我不知道如何为localhost设置一个例外。 我需要这个,因为当我从本地没有任何授权的方法发送邮件的消息是通过spamassassin垃圾邮件filter生成延迟交付。 这是我的main.cf: smtpd_banner = $myhostname ESMTP 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 smtpd_tls_cert_file=/etc/dovecot/ssl/dovecot_ssl.crt […]

Dovecot错误阅读邮箱:无法展开〜/邮件根目录

我想configurationdovecot使用mysql作为用户数据库。 这是我的configuration: # Authentication for SQL users. Included from 10-auth.conf. # # <doc/wiki/AuthDatabase.SQL.txt> passdb { driver = sql # Path for SQL configuration file, see example-config/dovecot-sql.conf.ext args = /etc/dovecot/dovecot-sql.conf.ext } # "prefetch" user database means that the passdb already provided the # needed information and there's no need to do a separate userdb lookup. # […]

用于从客户端login的Dovecotconfiguration(outlook)

我已经在centos 7中configuration了Sendmail,没有错误,当我开始configurationDovecot(传入服务器)时,我不知道如何configurationIMAP和POP3用户login。 当我与Outlookconfiguration有传入服务器中的错误。 错误图像1在这里 错误图像2在这里

所有用户在mysql表中的别名为postfix / dovecot

我有我的邮件服务器的用户表。 在dovecot中的imapvalidation表: +————-+——————+——————-+——————+——+——+—————————————+——–+———+—————————+ | user_name | domain_name | passwd | pwd_hash | uid | gid | mailbox_basepath | enable | quota | desc_rec | +————-+——————+——————-+——————+——+——+—————————————+——–+———+—————————+ | logistic | piduna.pp.ua | loG-1990M | _no_hash_passwd_ | 2000 | 2000 | /home/maildir/piduna.pp.ua/ | 1 | 2048000 | box for logistic | | 1c | piduna.pp.ua | 1c_user_1c | […]

dovecot共享文件夹(与MySQL的acl)不能被订阅

由于某些原因文件夹项目文件夹不可选。 几乎每个公共或共享文件夹都是不可选的。 电子邮件客户端是雷鸟。 # 2.1.17: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.9 auth_debug_passwords = yes auth_mechanisms = plain digest-md5 cram-md5 login auth_socket_path = /var/run/dovecot/auth-userdb auth_verbose_passwords = plain debug_log_path = /var/log/dovecot/dovecot.debug.log dict { acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } disable_plaintext_auth = no first_valid_gid = 99 first_valid_uid = 99 hostname = smtp.mydomain.com info_log_path = /var/log/mail.info lda_mailbox_autocreate = yes […]

Dovecot仅需要远程连接的客户端证书

经过一番斗争,我已经设法configurationDovecot为用户login需要客户端证书,并且运行良好。 不过,我也想设置一个networking邮件解决scheme(Roundcube),它需要能够通过IMAP进行连接,但似乎无法发送客户端证书。 我将其configuration为使用端口143(未encryption),因为连接通过可信networking进行,考虑到这一点,我已将本地networking添加到Dovecot的login_trusted_networks以便明文validation也能正常工作。 不幸的是,当Roundcube连接时,即使连接没有启用SSL,它仍然被要求提供客户端证书。 我已经限制了客户端证书的要求,以避免与后缀使用下列问题: protocol !smtp { ssl_ca = </etc/dovecot/ca/dovecot-ca.pem ssl_verify_client_cert = yes ssl_cert_username_field = commonName auth_ssl_require_client_cert = yes auth_ssl_username_from_cert = yes } 然而,我不知道如何进一步限制只有encryption的连接? 我不允许远程访问未encryption的协议,除了端口25是在服务器之间发送电子邮件所必需的。 作为一个安全注意事项,保护IMAPS连接的相同证书也被nginx用于客户端authentication,所以webmail已经被证书限制了,虽然我可以换一些其他的第二层authentication来实现移动性(例如,因子API)。