viewtopic.php?t=5139&highlight=%E8%99%9B%E6%93%AC+postfix
架設虛擬帳戶
但用的都是主機上的實體domain
架設好之後用openwebmail可以登入虛擬的帳號
實體的帳號卻不能登入了
這是我的openwebmail.log:
Sat Mar 10 13:51:47 2007 - [8002] (218.160.109.213) realuser@domain.name - userinfo error - auth_vdomain.pl, ret -4, User realuser@domain.name doesn't exist
Sat Mar 10 13:51:57 2007 - [8002] (218.160.109.213) realuser@domain.name - login error - no such user - loginname=realuser
看起來是他都用auth_vdomain.pl做認證的動作
所以我就先將/etc/openwebmail/sites.conf/domain.name移除掉
果然就可以用實體帳號進入openwebmail
但這樣我的虛擬帳號就不能用了
請問這可能是哪出現了問題?
我的openwebmail.conf:
domainnames auto
auth_module auth_unix.pl
mailspooldir /var/spool/mail
ow_cgidir /usr/lib/cgi-bin/openwebmail
ow_cgiurl /cgi-bin/openwebmail
ow_htmldir /usr/share/openwebmail/www
ow_htmlurl /openwebmail
logfile /var/log/openwebmail.log
auth_withdomain no
enable_setfromemail no
#smtpauth yes
enable_viruscheck yes
enable_spamcheck yes
enable_learnspam yes
default_filter_badformatfrom yes
default_filter_fakedsmtp yes
default_filter_fakedfrom yes
default_filter_fakedexecontenttype yes
default_iconset Default
default_fscharset none
enable_webdisk no
<default_signature>
--
Open WebMail Project (http://openwebmail.org)
Debian Project (http://www.debian.org)
</default_signature>
# Changed by Debian Post-installation
default_language zh_TW.Big5
dictionary american
spellcheck_dictionaries american, british
還有/etc/openwebmail/sites/domain.name:
auth_module auth_vdomain.pl
auth_withdomain yes
mailspooldir /var/spool/virtual/domain.name
use_syshomedir no
use_homedirspools no
enable_autoreply yes
enable_setforward no
enable_vdomain yes
vdomain_admlist adminvmail
vdomain_maxuser 100
vdomain_vmpop3_pwdpath /etc/virtual
vdomain_vmpop3_pwdname passwd
vdomain_vmpop3_mailpath /var/spool/virtual
vdomain_postfix_aliases /etc/aliases
vdomain_postfix_virtual /etc/postfix/virtual
vdomain_postfix_postalias /usr/sbin/postalias
vdomain_postfix_postmap /usr/sbin/postmap
enable_strictvirtuser yes
enable_changepwd yes
enable_strictpwd no
enable_userfilter no
enable_smartfilter no
enable_webmail yes
enable_webdisk yes
enable_calendar yes
enable_sshterm no
enable_pop3 yes
vdomain_maxalias 100
case_insensitive_login yes
passwd_minlen 6
session_multilogin no
attlimit 4096
spool_limit 512000
quota_limit 512000