Articles of 后缀

Redmine的 – 如何configuration邮件发送与后缀?

我安装了postfix作为我的smtp服务器,它工作正常,因为我可以发送电子邮件,例如通过input: sendmail [email protected] 和电子邮件交付正确。 但是现在我想让redmine发送通知给用户。 这是我的redmine安装信息: Environment: Redmine version 2.5.2.stable Ruby version 1.9.3-p547 (2014-05-14) [x86_64-linux] Rails version 3.2.19 Environment production Database adapter Mysql2 SCM: Subversion 1.8.8 Git 1.9.1 Filesystem Redmine plugins: no plugin installed 和configuration.yml: default: # Outgoing emails configuration (see examples above) email_delivery: delivery_method: :sendmail smtp_settings: address: 127.0.0.1 port: 25 domain: dev.my-domain.org authentication: :login […]

限制数字唯一到:和CC:域

我需要反弹通过我的Postfix服务器在“收件人”和“抄送”字段中具有太多独特域名的邮件。 Postfix有没有简单的方法? (我是Postfix的新手,通常是sendmail用户)。 添加/编辑 To / CC:[email protected][email protected][email protected][email protected][email protected][email protected][email protected],User8 @ exampleH。 com,[email protected][email protected][email protected] 应该反弹给用户。 To / CC:[email protected][email protected][email protected][email protected][email protected][email protected][email protected],User8 @ exampleA。 com,[email protected][email protected][email protected][email protected] 应该通过。

Postfix拒绝所有传入的邮件(拒绝客户端主机:访问被拒绝)

我已经build立了一个工作的postfix服务器,除了所有传入的邮件被拒绝。 当我尝试通过telnet发送邮件时: MAIL FROM: <[email protected]> 250 2.1.0 Ok RCPT TO: <[email protected]> 554 5.7.1 <my.host.name[1.2.3.4]>: Client host rejected: Access denied 我的postconf -n alias_database = hash:/ etc / postfix / aliases alias_maps = hash:/ etc / postfix / aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = no config_directory = / etc / postfix delay_warning_time = 4h […]

为SASLauthentication用户启用后缀DSN?

我似乎可以为所有用户或本地networking上的用户启用“传送状态”通知。 有没有办法只为我们的员工打开DSN,无论他们在哪里? 即。 如果员工发送邮件(通过SASLauthentication),他们会收到退款/延期/成功通知,但其他人发送邮件到我们的系统不? 手册页说: 如果您希望允许来自可信客户端的DSN请求,而不是随机的陌生人,请使用smtpd_discard_ehlo_keyword_address_mapsfunction 举个例子: /etc/postfix/main.cf: smtpd_discard_ehlo_keyword_address_maps = cidr:/etc/postfix/esmtp_access /etc/postfix/esmtp_access: # Allow DSN requests from local subnet only 192.168.0.0/28 silent-discard 0.0.0.0/0 silent-discard, dsn ::/0 silent-discard, dsn 但是我不想将它build立在子网上,我想为使用SASLauthentication的A.用户启用DSN,或者在系统上拥有@ ourdomain.com邮箱的用户(我们的员工) 有没有办法做到这一点? Ubuntu 10.04 / Postfix 2.7.0

Ubuntu上的Postfix安装错误

我如何解决Ubuntu 10.04上的这个错误? Reading package lists… Done Building dependency tree Reading state information… Done postfix is already the newest version. The following packages were automatically installed and are no longer required: libaprutil1-dbd-sqlite3 libcap2 apache2.2-bin libapr1 libaprutil1-ldap libaprutil1 php5-common Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. […]

使用Amazon SES的Postfix中继多个域

我有点困惑与Postfix中继。 我把这一行添加到我的/ etc / postfix / transport mydomain34.com smtp:email-smtp.us-west-2.amazonaws.com 我知道这是错误的,但这是我所尝试过的。 我在我的服务器上有多个域名,我想只为某些域名使用Amazon SES,其他域名将一如既往地与本地服务器一起工作。

在Postfix中,Mailman拒绝邮件

我在一台机器上安装了Postfix,这是唯一的最终邮件目的地: 机器的主机名( mail.example.org )和localhost 邮件列表lists.example.org 一些虚拟域名 main.cf中的相关设置是: myhostname = mail.example.org alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = $myhostname mydestination = localhost, $myorigin relay_domains = $mydestination, lists.example.org relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all # Virtual domains virtual_mailbox_base = /var/mail/vhosts virtual_mailbox_domains = hash:/etc/postfix/virtual_domains virtual_mailbox_maps = hash:/etc/postfix/virtual_mailboxes […]

我需要帮助尝试从我的Linux机器ADauthentication

我没有这方面的经验,所以可能有一些我失踪的观点。 最初我试图设置Cyrus Mail w / SASL进行AD身份validation。 经过多次尝试,失败了。 我转向了Dovecot,在Dovecot也没有authentication。 所以,我开始排除故障: 我在AD中创build了一个用户名为“vmail”。 运行`ldapsearch -x -h ad.example.com -D'vmail'-W -b'dc = example,dc = com'“([email protected])”并input密码。 结果是成功的(返回了ldap用户属性) 然后我运行ldapwhoami -x -W -D cn=vmail,dc=example,dc=com -h ad.example.com并input密码。 但是,此脚本失败 ldap_bind: Invalid credentials (49) additional info: 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1 Dovecot和Postfix在参数上都失败了。 在Dovecot和Postfix我设置密码属性为userPassword=password 。 ADauthentication工作(例如,我可以使用[email protected]到连接到域的Windows计算机)。 “vmail”用户是域pipe理员和pipe理员(我想确保pipe理员与绑定无关)。 我真的开始认为这个问题在Windows Server中不允许用Linux机器进行身份validation(这是一种可能性),因为Linux中的所有内容都是正确的(至less看起来是这样) 如果有问题,我正在使用CentOS 7.1.1503(Core)。 编辑:更多的疑难解答后,我发现,如果我不指定域控制器,ldapwhoami成功,并返回用户: ldamwhoami […]

将mailgunconfiguration为已经使用sasl的现有Postfix服务器的relayhost

我可能会在这里完全错误地吠叫,但我仍然会问。 我已经按照教程在Ubuntu 14.04上安装了Postfix,dovecot和mysql。 现在我已经设置了mailgun来以安全/可靠的方式处理发送电子邮件 (又名relayhost)。 我的问题是我的现有电子邮件帐户的用户名/密码由于某种原因停止工作(从CLI发送电子邮件仍然在服务器上工作),我想知道是否有可能以某种方式configuration邮件凭据不会干扰现有的用户/密码。 这是继电器之前我的master.cf模型 # See /usr/share/postfix/main.cf.dist for a commented, more complete version # The first text sent to a connecting process. smtpd_banner = $myhostname ESMTP $mail_name biff = no # appending .domain is the MUA's job. append_dot_mydomain = no readme_directory = no # ——————————— # SASL parameters # ——————————— # Use […]

POSTFIX:必须首先发出一个STARTTLS命令。 电子邮件不被发送从命令行Ubuntu的

我想从我的Ubuntu服务器的命令行发送电子邮件。 所以我开始configurationpostfix到我的本地机器而不是在服务器上。 所以基本上这些是我遵循的步骤: sudo apt-get install postfix mailutils libsasl2-2 ca-certificates libsasl2-modules sudo vim /etc/postfix/main.cf 将以下行添加到文件中: relayhost = [smtp.gmail.com]:587 smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd smtp_sasl_security_options = noanonymous smtp_tls_CAfile = /etc/postfix/cacert.pem smtp_use_tls = yes sudo vim /etc/postfix/sasl_passwd 在文件[smtp.gmail.com]:587 [email protected]:PASSWORD添加了这一行 权限和更新后缀configuration文件。 sudo chmod 400 /etc/postfix/sasl_passwd sudo postmap /etc/postfix/sasl_passwd 重新加载POSTFIX: sudo /etc/init.d/postfix reload 然后在我的terminal上运行这个命令: echo "Test mail from […]