31
Linux 討論版 / 架Virtual Domain於Postfix問題
« 於: 2006-03-22 11:48 »代碼: [選擇]
[root@mail ~]# tail /var/log/maillog
Mar 22 11:50:02 mail MailScanner-MRTG[24641]: ERROR: iptraffic counters not fully initialised - no iptraffic data on this run. This is normal on the first run, or when the previous run was more than 5 minutes ago (e.g. when rebooting). If these errors persist over multiple runs please check that snmpd is running on your system. If you don't want to run snmp please ensure that you have disabled it in mailscanner-mrtg.conf. For more hints about snmp see README.SNMP in the docs directory
Mar 22 11:51:33 mail dovecot: Killed with signal 15
Mar 22 11:51:34 mail dovecot: Dovecot starting up
Mar 22 11:53:02 mail dovecot: Killed with signal 15
Mar 22 11:54:29 mail dovecot: Dovecot starting up
Mar 22 11:55:02 mail MailScanner-MRTG[24820]: ERROR: iptraffic counters not fully initialised - no iptraffic data on this run. This is normal on the first run, or when the previous run was more than 5 minutes ago (e.g. when rebooting). If these errors persist over multiple runs please check that snmpd is running on your system. If you don't want to run snmp please ensure that you have disabled it in mailscanner-mrtg.conf. For more hints about snmp see README.SNMP in the docs directory
Mar 22 11:55:15 mail pop3-login: Login: test [::ffff:61.222.103.142]
Mar 22 11:55:15 mail pop3(test): Invalid mbox file /var/vmail//test: No such file or directory
Mar 22 11:55:15 mail pop3(test): Failed to create storage with data: mbox:/var/vmail//test
Mar 22 11:55:15 mail dovecot: child 24891 (pop3) returned error 89
代碼: [選擇]
# %u - username
# %n - user part in user@domain, same as %u if there's no domain
# %d - domain part in user@domain, empty if user there's no domain
# %h - home directory
#
# You can also limit a width of string by giving the number of max. characters
# after the '%' character. For example %1u gives the first character of
# username. Some examples:
#
# default_mail_env = maildir:/var/mail/%1u/%u/Maildir
# default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
# default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
#
default_mail_env = mbox:/var/vmail/%d/%n
#auth_userdb = hash:/etc/postfix/virtual_uids /etc/postfix/virtual_gids
#auth_passwd = passwd-file /etc/passwd.mail
#default_mail_env = maildir:/var/vmail/%n
#default_mail_env = mbox:~/mail/:INBOX=/var/vmail/%u