On 19.03.2018 23:19, @lbutlr wrote:
> On 2018-03-19 (14:20 MDT), Odhiambo Washington <[email protected]> wrote:
>> I have been running FreeBSD since 1997, so I know quite a lot about it!
>> I know about /etc/syslog.conf, but you do realize now that you are 
>> conflicting yourself?
> No, I am not, I pointed out that dovecot does not writ ether logs, but that 
> is a task generally managed by syslogd. then I said that in my case it was 
> rsyslogd.
>
>> You want to provide doveconf -n output and get help, or figure it out 
>> yourself.
> the only lines in doveconf -n that relate to logging are the two lines I 
> posted. The rest of dovecot's logging properly shows up in /var/log/dovecot, 
> only the bcc delivery seems to error out.
>
>> I run dovecot and Exim (MTA) on FreeBSD. I don't use syslogd to do the 
>> logging as the same can be controlled within the respective daemons.
>> So, figure out what you have done to make Postfix want to write to 
>> /var/log/dovecot.log.
> I never said postfix was writing to dovecot's log. What gave you that idea?
>
> # doveconf -n
> # 2.2.34 (874deae): /usr/local/etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.22 (22940fb7)
> # OS: FreeBSD 11.1-RELEASE-p4 i386  
> # Hostname: mail.covisp.net
> auth_failure_delay = 5 secs
> auth_mechanisms = PLAIN LOGIN
> default_client_limit = 4096
> default_process_limit = 1024
> default_vsz_limit = 768 M
> disable_plaintext_auth = no
> first_valid_uid = 89
> imap_id_log = *
> lda_mailbox_autocreate = yes
> lda_mailbox_autosubscribe = yes
> log_path = /var/log/dovecot
This will disable syslog usage.

Also if you use dovecot-lda you probably should run it as root, and let
it setuid to target user. It's not 100% required, but does make some
things easier.

Aki

Reply via email to