postfix虚拟域求助

由 battosai 在 08-19-2004 18:35 发表:

postfix虚拟域求助

看了很多文档,好像postfix都没有很全的中文文档,比如类似官方网站上的英文的。。。。

小弟初涉邮件服务器,就拿了postfix来学习,

首先先实现的是能 接收虚拟域的邮件 就可以了,但是三天过去了,还是未果 :em16: :em16: :em16:

小弟没用 mysql,cyrus-sasl 等等套件数据库,验证之类的套件

我就想用postfix、db、随便一个imap实现,能否帮帮忙小弟应该如何配置相关文件呢?

我的本机主机名是test1.killua.com

要接收域vip.mail.killua.com的邮件

我的配置文件如下:

> > 源码: >
> * * * >
> #cat /etc/postfix/main.cf
> > > queue_directory = /var/spool/postfix
> > > command_directory = /usr/sbin
> > > daemon_directory = /usr/libexec/postfix
> > > mail_owner = postfix
> > > myhostname = test1.killua.com
> > > mydomain = killua.com
> > > inet_interfaces = all
> > > myorigin = $myhostname
> > > mydestination = localhost, $myhostname, $mydomain, $mydomain
> > > mynetworks_style = subnet
> > > mynetworks = 192.168.168.0/24, 127.0.0.0/8
> > > alias_maps = hash:/etc/postfix/aliases
> > >
> > > virtual_alias_maps = hash:/etc/postfix/virtual
> > > virtual_alias_domains = $virtual_alias_maps
> > >
> > > local_transport = virtual
> > > virtual_mailbox_base = /opt/postfix
> > > virtual_mailbox_maps = hash:/etc/postfix/vmail
> > > virtual_minimum_uid = 100
> > > virtual_uid_maps = static:5000
> > > virtual_gid_maps = static:5000
> > > virtual_mailbox_domains = $myhostname, localhost.$mydomain, localhost
> > > virtual_transport = virtual
> > >
> > > mail_spool_directory = /var/spool/mail
> > > mailbox_size_limit = 52428800
> > > message_size_limit = 10485760
> > > relay_domains = killua.com
> > >
> > > local_destination_concurrency_limit = 2
> > > default_destination_concurrency_limit = 2
> > > debug_peer_level = 2
> > > debugger_command =
> > > PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
> > > xxgdb $daemon_directory/$process

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus