On 2015-06-24 Wed 20:43 PM |, Tuyosi Takesima wrote:
>
> C)
> # cat /var/log/maillog
> Jun 24 20:00:01 abc newsyslog[2762]: logfile turned over
> Jun 24 20:01:38 abc postfix/anvil[6614]: statistics: max connection rate
> 1/60s for (submission:1.2.3.4) at Jun 24 19:58:17
> Jun 24 20:01:38 abc postfix/anvil[6614]: statistics: max connection count 1
> for (submission:1.2.3.4) at Jun 24 19:58:17
> Jun 24 20:01:38 abc postfix/anvil[6614]: statistics: max cache size 1 at Jun
> 24 19:58:17
>
> it doses not tell about dovecot.
>
Hi Tuyosi,
The first thing to do is to get dovecot logging.
There should be dovecot start messages like this in /var/log/maillog:
Jun 24 04:15:45 teak dovecot: master: Dovecot v2.2.10 starting up for imap, lmtp
Unless:
1) /etc/syslog.conf has a dovecot entry to log to another file.
2) /etc/dovecot/conf.d/10-logging.conf has been changed.
Set verbose logging in here.
To start dovecot in the foreground with rc debugging;-
stop it, then add dovecot_flags='-F' to /etc/rc.conf.local and
$ sudo /etc/rc.d/dovecot -d start
> some thing is wrong.
> but i cannot know it .
> i am glad if someone show his settings about files of dovecot.
>
Check the ouput of 'doveconf -n' has something like:
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = _postfix
mode = 0660
user = _postfix
}
}
protocols = imap lmtp
See:
http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP
/usr/local/share/doc/postfix/html/SASL_README.html#server_dovecot_comm
/usr/local/share/doc/postfix/html/SASL_README.html#server_sasl_enable
/usr/local/share/doc/dovecot/wiki/HowTo.PostfixAndDovecotSASL.txt
When it is working, there will be lots of lmtp activity in
/var/log/maillog, from both dovecot & postfix
Cheers.
--
Artistic ventures highlighted. Rob a museum.