首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    邮件服务器 Postfix+ Cyrus-SASL+cyrus-IMAPD+日常维护

    一,安装Postfix postfix-2.6.5.tar.gz postfix-2.6.5-vda-ng.patch.gz 二,rpm包安装Cyrus-SASL+cyrus-IMAPD 三,Postfix基本配置 [root@Postfix ~]# cat /etc/postfix/main.cf alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 html_directory = no inet_interfaces = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = localhost, localhost.$mydomain, $myhostname, $mydomain mydomain = example.com myhostname = example.com mynetworks = 111.111.111.111/28 , 127.0.0.0/8 myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix relay_domains = example.com,163.com,gmail.com,qq.com,yahoo.com.cn,126.com,hotmail.com,sina.com,sohu.com,tom.com,yahoo.com,189.com,baidu.com,qq163.com sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550 smtpd_client_connection_count_limit = 1024 smtpd_client_connection_rate_limit = 5 #Cyrus-SASL smtpd_client_restrictions = permit_sasl_authenticated smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination,  reject_invalid_hostname smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $myhostname smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes #Cyrus-imapd mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp readme_directory = no sample_directory = /etc/postfix #data_directory = /var/lib/postfix 四,用户邮箱管理 [root@Postfix ~]# cyradm -u cyrus localhost IMAP Password: localhost.localdomain> cm user.test localhost.localdomain> cm user.test.Send localhost.localdomain> cm user.test.Trash localhost.localdomain> cm user.test.Drafts localhost.localdomain> sq  user.test 51200 //(kb,50M)设置配额: quota:51200 五,开机自动启动 六,邮箱日常维护 新建邮箱设置 1,建账户 [root@images ~]# useradd -g postfix -M -s /sbin/nologin test [root@images ~]# passwd test 2,建邮箱 [ro

    03

    扫码

    添加站长 进交流群

    领取专属 10元无门槛券

    手把手带您无忧上云

    扫码加入开发者社群

    热门标签

    活动推荐

      运营活动

      活动名称
      广告关闭
      领券