本文详细介绍Ubuntu-Server 6.10 防火墙系统安装
mkdir -p /var/spool/postfix/var/run/saslauthd
Now we have to edit /etc/default/saslauthd. It should look like this:
# This needs to be uncommented before saslauthd will be run automatically
START=yes
PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
# You must specify the authentication mechanisms you wish to use.
# This defaults to "pam" for PAM support, but may also include
# "shadow" or "sasldb", like this:
# MECHANISMS="pam shadow"
MECHANISMS="pam"Next edit /etc/init.d/saslauthd and change the location of saslauthd's PID file. Change the value of PIDFILE to /var/spool/postfix/var/run/${NAME}/saslauthd.pid, so that it reads:PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"Now populate your system with real users. Set the users shell to /bin/false to avoid security holes.
Next fill /etc/postfix/virtual as you like. I love Webmin for this. You can edit it directly too, of course. However, webmin does a great job.
Gotcha!: "some.domain" etc. can not equal to anything mentioned in the "mydestination" line in
/etc/postfix/main.cf
Mine has the following structure:
some.domain virtual domain
some.other.domain virtual domain
some.really.other.domain virtual domain
user@some.domain user
otheruser@some.domain otheruser
user@some.other.domain user
otheruser@some.other.domain otheruser
somealias@some.other.domain user
info@some.other.domain someoneidontlike
info@some.domain someoneidontlike otheruser@foo.bar
differentuser@some.domain differentuser differentusers@home.addres someoneidontlike
@some.really.other.domain someonidontlike someoneidontlikes@home.addressand so on. So I only have to set an alias for root and postmaster in /etc/aliases. All other aliases should be in this file.
来源:howtoforge 责编:豆豆技术应用
正在加载评论...
- Linux/Unix新闻
- Linux/Unix入门
- Linux/Unix命令
- Linux/Unix安装
- Linux/Unix编程
- Linux/Unix管理
- Linux/Unix桌面
- Linux/Unix内核
- Linux/Unix软件
- Linux/Unix发行版
- redhat/Fedora
- IBM AIX
- FreeBSD
- Solaris
- NetBSD
- SCO Unix
- Ubuntu下智能拼音输入法
- Ubuntu Linux下WPA无线上网
- Ubuntu Linux系统的目录结构
- Locale下使用中文输入法
- 使用QQ、MSN的方法
- Ubuntu下安装AVG杀毒
- Ubuntu自启动选项的设置方法
- Ubuntu操作系统进行彻底优化
- 在Ubuntu系统下安装*.bin程序
- 找不到Makefile的解决办法
- find基本用法
- ldd命令原理及用法例子
- su和sudo命令的区别与使用技巧
- Linux操作系统下的dd命令技巧
- 关于Top命令的参数详解
- 关于Tar命令的使用
- SSH实用技巧及常用命令使用
- Linux后台执行命令
- VI命令使用技巧集锦
- Vmstat命令列出的属性详解
- 如何查看及修改文件读写权限
- 最大可存储的单文件容量
- ext2/ext3文件系统介绍
- 常用压缩格式的压缩解压方法
- Linux系统的引导过程详细解析
- Configure参数解释说明
- Linux下硬盘和分区的命名方法
- 硬链接与软链接的区别
- 权限和所有权模型
- 存储设备的两种表示方法