共 198 篇文章 |
|
cp /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf-bak #备份默认配置文件。#以下这些是关于vsftpd虚拟用户支持的重要配置项,默认vsftpd.conf中不包含这些设定项目,需要自己手动添加guest_enable=YES //设定启用虚拟用户功能guest_username=vsftpd //指定虚拟用户的宿主用户,CentOS中已经有内置的ftp用户了,通过映射到vsftpduser_config_... 阅1 转自ap0606429 公众公开 20-02-25 09:32 |
Linux中Postfix邮件原理介绍(一) – 运维那点事邮件相关协议。IMAP4支持协议客户机在线或者离开访问并阅读服务器上的邮件,还能交互式的操作服务器上的邮件。用户代理用来接受用户的指令,将用户的信件传送至信件传输代理.而投递代理则从信件传输代理取得信件传送至最终用户的邮箱.当用户试图发送一封电子邮件的时候,他并不能直接将信件发送... 阅805 转7 评0 公众公开 18-08-10 16:32 |
Linux中Postfix邮件安装配置(二) – 运维那点事Postfix安装配置。$ chown -R postfix.root /var/spool/postfix/defer/$ chown -R postfix.root /var/spool/postfix/deferred/$ chown -R postfix.root /var/spool/postfix/private/$ chown -R postfix.postdrop /var/spool/postfix/public/$ chown -R postfix.postdrop /var/spool/postfix/mai... 阅103 转1 评0 公众公开 18-08-10 16:32 |
#这里定义了Postfix接收邮件时的收件人域名,即Postfix要接收哪些域名的邮件,不在此区域内的都算是中继邮件,如果不加$mydomain的话那么就不允许收本域内邮件。Postfix 维护两个队列:未决邮件队列(pending mails queue)和等待邮件队列(deferred mail queue)。PS:发送一份邮件一般也可使用tail /var/log/maillog查看邮件队列日志信息,如... 阅523 转0 评0 公众公开 18-08-10 16:31 |
[root@localhost ~]# useradd -M -s /sbin/nologin dovecot[root@localhost ~]# useradd -M -s /sbin/nologin dovenull[root@localhost ~]# tar xvf dovecot-2.1.11.tar.gz -C /usr/src[root@localhost dovecot-2.1.11]# cd /usr/src/dovecot-2.1.11[root@localhost dovecot-2.1.11]# ./configure --sysconfdir=/etc --with-mysql --with-pam[r... 阅293 转0 评0 公众公开 18-08-10 16:31 |
Linux中Postfix邮件认证配置(五) – 运维那点事Postfix+Dovecot+Sasl工作原理。Postfix+SASL进行用户发邮件认证。[root@localhost ~]# rpm -qa | grep cyrus-saslcyrus-sasl-gssapi-2.1.23-13.el6_3.1.x86_64cyrus-sasl-plain-2.1.23-13.el6_3.1.x86_64cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64cyrus-sasl-2.1.23-13.el6_3.1.x86_64cyrus-sa... 阅388 转1 评0 公众公开 18-08-10 16:31 |
Linux中Postfix反病毒和垃圾邮件(十) – 运维那点事。垃圾邮件刺客是目前最好的、最流行的开源反垃圾邮件软件之一。DSPAM是很流行的防垃圾工具之一,DSPAM能够学习每个用户的不同邮件的习性,根据这些习性告诉过滤器什么是垃圾邮件。所以以上讲的所有内容EMOS都集成支持,如支持发邮件,收邮件,webmail,图形化日志分析,基于spamassassin内... 阅106 转0 评0 公众公开 18-08-10 16:30 |
[root@localhost ~]# openssl ca -in /etc/dovecot/ssl/dovecot.csr -out /etc/dovecot/ssl/dovecot.crt -days 365.[root@localhost ~]# vim /etc/dovecot.confprotocols pop pop3 imap imap4[root@localhost ~]# vim /etc/dovecot/conf.d/10-ssl.confssl = yesssl_cert = /etc/dovecot/ssl/dovecot.crtssl_key = /etc/dovecot/ssl/dovecot.key... 阅179 转0 评0 公众公开 18-08-10 16:30 |
[root@localhost ~]# tar xvf maildrop-2.7.2.tar.bz2[root@localhost ~]# cd maildrop-2.7.2[root@localhost maildrop-2.7.2]# ./configure \--enable-sendmail=/usr/sbin/sendmail \--enable-syslog=1 \--enable-maildirquota \--enable-maildrop-uid=1001 \--enable-maildrop-gid=1001 \--with-trashquota \--with-dirsync[root@localhost m... 阅95 转0 评0 公众公开 18-08-10 16:29 |
[root@localhost ~]# tar zxvf extman-1.1.tar.gz -C /usr/src/[root@localhost ~]# cd /usr/src/extman-1.1/docs[root@localhost docs]# service mysqld restart[root@localhost docs]# mysql -u root <extmail.sql[root@localhost docs]# mysql -u root <init.sql[root@localhost docs]# mysql -u root -B -e "show databases;&qu... 阅602 转0 评0 公众公开 18-08-10 16:28 |