主题: virtual_transport 不生效
你好 我使用的是iredmail0.4-stable
请问为什么改了virtual_transport 但是不生效?俺有重启过postfix 我的配置如下
谢谢
[root@sosogh postfix]# postconf | grep 'dspam'
virtual_transport = dspam:
[root@sosogh postfix]# grep dspam master.cf
dspam unix - n n - 10 pipe
flags=Ru user=vmail argv=/usr/local/bin/dspam --deliver=innocent --user mydspam -i -f $sender -- $recipient
[root@sosogh postfix]# more mysql_virtual_mailbox_maps.cf
user = vmail
password = MYVMI9ZgpECNji009090ltZy08SQHQF
hosts = 127.0.0.1
port = 3306
dbname = vmail
query = SELECT maildir FROM mailbox WHERE username='%s' AND active='1' AND enabledeliver='1' AND expired
>= NOW()
mysql> SELECT maildir FROM mailbox WHERE username='bb@xxx.2288.org' AND active='1'
AND enabledeliver='1' AND expired >= NOW();
+-----------------------------+
| maildir |
+-----------------------------+
| XXX.2288.org/bb/Maildir/ |
+-----------------------------+
1 row in set (0.00 sec)
Jul 1 08:50:42 sosogh postfix/pipe[26553]: B9EB274E771: to=<bb@xxx.2288.org>, relay=dovecot, delay=0.2,
delays=0.05/0.02/0/0.13, dsn=2.0.0, status=sent (delivered via dovecot service)
为什么还是使用
dovecot来作为virtual_transport ?
[ 本帖最后由 watch 于 2009-7-1 11:32 编辑 ]