IRedMail 邮箱配置
下载
https://www.iredmail.com/download.html
配置
https://docs.iredmail.org/install.iredmail.on.rhel.html
配置注意事项:
1、主机名
hostnamectl set-hostname mail.IRedMail.com.cn
2、安装数据库,配置权限,密码
yum -y install mysql
yum -y install mariadb-servergrant all on *.* to root@'localhost' identified by '1234567890' with grant option ;
3、一些配置
/data/vmail
iredmail.com.cn
1234567890
4、解决退信问题(iredmail 能发不能收 问题)
log错误信息
postfix/postscreen[11355]: NOQUEUE: reject: RCPT from [58.100.201.195]:55227: 550 5.7.1 Service unavailable; client [*.*.*.*] blocked using zen.spamhaus.org;
问题:被DNSBL拒绝了,中国很多邮件服务都被DNSBL列入黑名单,所以只要禁用DNSBL功能即可
步骤:vi /etc/postfix/master.cf 修改成如下图,然后重启systemctl restart postfix
现在可以收信,但是非常非常非常慢,还需关键一步
cd /opt/iredapd/tools/
python spf_to_greylist_whitelists.py outlook.com microsoft.com 126.com 163.com qq.com foxmail.com
具体解释url:https://blog.csdn.net/weixin_33743880/article/details/91722360
It queries SPF and MX records of specified mail domain names, then store all converted IP addresses/networks defined in SPF/MX records in SQL tableiredapd.greylisting_whitelists
.
To whitelist IP addresses/networks of some mail domain, for example,outlook.com
, microsoft.com
, please run command like below:
# cd /opt/iredapd/tools/ # python spf_to_greylist_whitelists.py outlook.com microsoft.com
If you want to whitelist more mail domains, just run the command with the domain names like above sample.
Since iRedAPD-1.8.0, we have SQL table iredapd.greylisting_whitelist_domains
to store these mail domain names. if you run spf_to_greylist_whitelists.py
without any argument, it will fetch all mail domains stored in sql table greylisting_whitelist_domains
instead of fetching from command line arguments.
# python spf_to_greylist_whitelists.py
You should setup a cron job to run this script, so that it can keep the IP addresses/networks up to date. iRedMail sets up the cron job to run every 10 minutes, like below:
*/10 * * * * /usr/bin/python /opt/iredapd/tools/spf_to_greylist_whitelists.py &>/dev/null
5、解决 POP3/IMAP ,ssl/tls登录问题
默认客户端需要配置ssl/tls安全连接
否则错误提示:Plaintext authentication disallowed on non-secure (SSL/TLS) connections
解决办法: 修改/usr/local/etc/dovecot/dovecot.conf文件下面行,然后重启Dovecot服务
disable_plaintext_auth=nossl=yes
6、解决mailx等连接错误 smtp-server: 503 5.5.1 Error: authentication not enabled 问题
解决办法:修改/etc/postfix/main.cf 为如下行,重启服务systemctl restart postfix
smtpd_sasl_auth_enable = yessmtpd_sasl_security_options = noanonymous# force all clients to use secure connection through port 25#smtpd_tls_auth_only=yes
url:https://docs.iredmail.org/allow.insecure.pop3.imap.smtp.connections.html
7、outlook 客户端配置
https://docs.iredmail.org/activesync.outlook.html
https://docs.iredmail.org/index.html
IRedMail 邮箱配置相关推荐
- gitlab服务器邮箱配置
如想用 SMTP 代替 Sendmail 发送email,添加如下相应邮箱服务商的配置到/etc/gitlab/gitlab.rb, 然后运行gitlab-ctl reconfigure使修改生效. ...
- Jenkins 最新版qq邮箱配置实例演示,5步设置保证邮件接收成功!
Jenkins 最新版qq邮箱配置实例演示 ① 配置系统设置 ② qq 邮箱 smtp 开通和密码获取 ③ 项目构建配置 需要对 系统本身 和 构建的项目 进行配置. 总结了一下,一共设置 5 个地方 ...
- FJ集团企业级邮件服务器---iRedMail客户端配置
FJ集团企业邮件服务器---iRedMail客户端配置 一.Roundcube Webmail设置: 1.登录:注:用户名:paul 密码:XXXX 2.发邮件: 如下图所示: 二.客户端outloo ...
- 【Alertmanager】腾讯企业邮箱配置
SMTP 腾讯企业邮箱配置,需要注意的地方 端口使用587 而不是 465 . 587:STARTTLS协议的属于TLS通讯协议 只是他是在STARTTLS命令执行后才对之后的原文进行保护. 465: ...
- 手机邮箱配置QQ邮箱
找了好久配置了好久都一直有错,终于弄好了,需要注意的点如下: 主机名的Imap第一个字母大写,授权码中间无空格 网易企业邮箱配置 https://jingyan.baidu.com/article/9 ...
- centos 6.8安装git_CentOS7安装GitLab、汉化、邮箱配置及使用
一.GitLab简介 GitLab是利用Ruby On Rails开发的一个开源版本管理系统,实现了一个自托管的Git项目仓库,是集代码托管,测试,部署于一体的开源git仓库管理软件,可通过web界面 ...
- jenkins之qq企业邮箱配置
一.配置qq企业邮箱 1.登录jenkins后台管理,选择 系统管理 ☞ 系统设置 2.SMTP server配置 3.邮件通知配置 配置ssl等参数 点击 高级 4.发送邮件测试 总结:邮箱配置 ...
- Git 用户名和邮箱配置_01
文章目录 1. 打开 git bash here 2. 用户名和邮箱配置 1. 打开 git bash here 2. 用户名和邮箱配置 git config --global user.name & ...
- phpcmsV9 邮箱配置(含图文教程) - 案例篇
文章目录 phpcmsV9邮箱配置(含图文教程) - 案例篇 前言 · 步骤分析: 步骤 · 开始配置: 相关阅读: phpcmsV9邮箱配置(含图文教程) - 案例篇 前言 · 步骤分析: 注册管理 ...
- git命令:全局设置用户名邮箱配置
1.美图 2.命令 查看git配置信息 git config --list 2.查看git用户名 git config user.name 3.查看邮箱配置 git config user.email ...
最新文章
- 1035 Password
- 蛋疼的mocha库-promise异步测试
- BUUCTF 特殊的BASE64
- CCNA笔记:Access Lists
- android peopleactivity.java,Android面试基础篇---Activity(上)
- 不能安装_监控安装不能忽视的要点
- c# 带返回值的action_C#基础知识之Func和Action学习
- python调用数据集mnist_使用MNIST数据集进行分类
- Locahost和本地IP地址有什么区别?
- php 检测硬盘,php测试硬盘读写速度脚本
- 51单片机C语言访问外ram,C51中访问外部RAM的方法
- 为什么用了 DDD 以后,代码更难懂了?
- 我的学习笔记001--private protected public internal mxx
- C语言小黄鸭-->函数()
- 如何在Activex中使用字体(2)
- USB4Dock,USB4扩展坞方案 介绍
- FCKEditor 的使用
- C语言课设学生籍贯信息记录簿(大作业)
- 入门必做的51单片机实验2----》利用外部中断的方法来控制发光二极管和共阴极数码管显示十六进制的0到F
- 直播系统开发直播源码搭建流程分享!
热门文章
- MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback
- 4.3 木马隐藏分析
- mysql front不能上到_mysqlfront不能上到Mysql服务器连接quot;192.168.5.*_MySQL
- 手把手教你安装Xposed框架+JustTrustMe抓取手机APP数据
- 怎样用计算机才能更快,如何让网速变快,详细教您怎么让电脑网速变快
- 软件测试工作基本流程
- JAVA的0x1b分隔符_hive 特殊分隔符 0X1B
- 3D深度相机调研【史上最全,不服来战】
- 64位x86微服务器芯片,卖贝商城告诉你微服务器替代x86服务器的利与弊
- 磁盘精灵 4.5 版本