Articles of 后缀

无法在INBOX中通过squirrelmail查看电子邮件,只能在/ var / mail / user中查看

我在Debian Squeeze中安装了postfix + dovecot + squirrelmail + sasl。 我可以通过邮件发送邮件,但不能收到邮件。 我只能通过cat / var / mail / user查看收到的邮件。 还创build/ var / mail / u /用户目录其中ls列表收件箱INBOX INBOX.Drafts INBOX.Sent(其中发送邮件存储在squirrelmail)INBOX.Trash,所以我认为我应该redirect收件箱从/ var / mail / user / var / mail / u / user / inbox。 鸽房中的部分是: mail_location = mbox:/var/mail mail_location = Maildir:/var/mail/%n mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n 我不确定这是否正确,问题在哪里。

后缀 – 阻止来自不存在的本地地址的电子邮件

我的问题是非常相似的,但对于后缀。 我们不断收到来自“[email protected]”地址的电子邮件,并将其发送到我们实际的“@ example.com”地址。 从我的谷歌研究,我知道validation电子邮件来源于我们的IP或VPN可能是不实际的(虽然这将是理想的,所以如果你可以想办法做到这一点,让我知道),但在大多数这些情况下,发件人地址(如“会计”)不是有效的帐户。 我想在发送邮件之前,必须确保本地帐户的存在。

我如何设置Postfix接受所有电子邮件并发送到特定的地址?

我想为我的域名设置一个全面的电子邮件地址。 即(任何发送到[email protected][email protected]将发送到特定的邮箱)。 我有Postfix与本地邮件工作,但它拒绝机器的主机名外部的电子邮件。 我遵循这个configuration让它发送所有传入的邮件到一个特定的帐户: http : //www.cyberciti.biz/faq/howto-setup-postfix-catch-all-email-accounts/ 。 当我在同一台机器上发送电子邮件时,它可以正常工作: paul@server1:~/Maildir/new$ ls -l ~/Maildir/new/ total 0 paul@server1:~/Maildir/new$ echo "test email" | mail -s "test subject" [email protected] paul@server1:~/Maildir/new$ ls -l ~/Maildir/new/ total 4 -rw——- 1 paul paul 2112 Jun 15 19:39 1339774754.V90ceIf21c25M531738.server1 paul@server1:~/Maildir/new$ 但是当我尝试从另一个域发送(我将使用Gmail作为例子),我得到一个未交付的通知。 这里是Gmail和本地电话的mail.log: Jun 15 19:38:40 server1 postfix/pickup[489]: 88ADDF21C35: uid=1000 from=<paul> Jun 15 19:38:40 server1 […]

如何确保邮件是否真的来自发件人,以确保邮件的后缀?

是否有可能以某种方式保护后缀,传入的电子邮件进行检查电子邮件是否真的来自发件人? 有可能写PHP脚本,并select一个发件人,就像邮件真的来自发件人和postfix的可能性来发现,这个邮件实际上不是真的来自真正的发件人? 我发现和激活的是选项 smtpd_sender_restrictions = reject_unknown_sender_domain unknown_address_reject_code = 554 smtpd_client_restrictions = reject_unknown_client unknown_client_reject_code = 554 请提一下,是否我错过了任何一点!

Postfix SMTP auth不能与虚拟邮箱+ SASL + Courier userdb一起使用

所以我已经阅读了各种教程和方法,我正在努力弄清楚如何在Postfix中使用虚拟邮箱进行SMTPauthentication。 我使用这个Ubuntu教程来设置。 我正在使用Courier-IMAP和POP3阅读邮件,似乎没有问题。 但是,用于读取邮箱的凭据不适用于SMTP。 我可以从/var/log/auth.log中看到正在使用PAM,这是否需要UNIX用户帐户才能工作? 正如我使用虚拟邮箱来避免创build用户帐户。 li305-246 saslauthd[22856]: DEBUG: auth_pam: pam_authenticate failed: Authentication failure li305-246 saslauthd[22856]: do_auth : auth failure: [user=fred] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error] /var/log/mail.log li305-246 postfix/smtpd[27091]: setting up TLS connection from mail-pb0-f43.google.com[209.85.160.43] li305-246 postfix/smtpd[27091]: Anonymous TLS connection established from mail-pb0-f43.google.com[209.85.160.43]: TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits) li305-246 postfix/smtpd[27091]: warning: SASL authentication […]

Maildir和subdirs的权限(.INBOX.Sent等)

什么是正确的? 现在有777个,我知道这很愚蠢,但是如果我改变他们之前问你,以防止发送/接收电子邮件的权限错误。 谢谢。

我的Postfix Dovecot saslconfiguration有什么问题?

我按照http://www.postfix.org/SASL_README.html#server_dovecot_comm描述中的规定configuration了postfix和dovecot以激活sasl身份validation。 不幸的是,postfix拒绝每个连接,并在日志中显示以下错误 postfix/smtpd[5238]: fatal: no SASL authentication mechanisms 我正在使用Ubuntu LTS 10.04。 我看到很多人都在报告这个模糊的错误,但没有描述明确的诊断。 目前还不清楚问题是在鸽子一侧还是后缀一侧。 更新 :使用postconf |获得的postfix saslconfiguration grep -e“^ smtpd。* sasl” smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_client_access hash:/etc/postfix/access, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client korea.services.net smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = no smtpd_sasl_exceptions_networks = smtpd_sasl_local_domain = smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous, noplaintext smtpd_sasl_tls_security_options = noanonymous smtpd_sasl_type […]

队列使用Postfix与SMTP中继反弹电子邮件

我build立了一个使用中继邮件服务器来发送邮件的Postfix邮件服务器。 我遇到的问题是,中继服务器不时发疯,并阻止我的继电器用户名/密码,并且在中继服务器拒绝authentication之后电子邮件反弹时,postfix上的电子邮件将丢失。 这是一个错误的例子: to=<[email protected]>, relay=mail.relay-server.net[0.0.0.0]:587, delay=0.57, delays=0.01/0/0.57/0, dsn=5.7.8, status=bounced (SASL authentication failed; server mail.relay-server.net[0.0.0.0] said: 535 5.7.8 Bad username or password (Authentication failed).) 所以,我的问题是,如果中继服务器开始发出这些消息,我有什么办法可以让Postfix将消息保存在队列中? 谢谢。

Dovecot / Postfix / SSH / PAM的2因素authentication

我想知道是否有支持PAM的2因素authentication模块的一些kine。 我的dovecot(PAM),postfix(SASL)和openssh通过PAM对系统用户进行身份validation。 我想要做2因素authentication,也许通过yubikey,谷歌authenticator或任何。 而且,我的邮件客户端如何处理呢?

如何使用Postfix来拷贝HP ePrint

我想使用ePrint使用本地电子邮件(或别名)(如[email protected])而不是[email protected]进行打印。 对于我已经使用惠普的ePrint服务的服务,该服务将不会打印任何没有将myprint @ hpeprint作为“to”或“cc”字段的内容,这意味着我第一次尝试简单地创build一个别名表格: [email protected] [email protected] 根本没有工作… Googling和Stackoverflowing带领我尝试使用recipient_bcc_maps指令,我做了: 文件:/ etc / postfix /收件人 _bcc_ 地图 # recipient_bcc map [email protected] [email protected] 和: 文件:/etc/postfix/main.cf recipient_bcc_maps = hash:/etc/postfix/recipient_bcc 但是当我尝试发送任何电子邮件时发生以下错误: SMTP错误:[451] 4.3.0错误:队列文件写入错误 编辑 上面的错误通过使用postmap将文件转换为散列来纠正。 简而言之 ,我实际上需要一种方法,即将任何发送到[email protected]的邮件复制到[email protected],或者将“to”字段replace为[email protected] 。 这可行吗?