Greetings,
I have setup Postfix/Dovecote on Ubuntu 12.04 (apt-get install
mail-stack-delivery). While everything is working fine in the mail server I
have niticed the following errors:
srv dovecot: config: Warning: NOTE: You can get a new clean config file
with: doveconf -n > dovecot-new.conf: 2 Time(s)
srv dovecot: config: Warning: Obsolete setting in
/etc/dovecot/conf.d/01-mail-stack-delivery.conf:13: listen=..:port has been
replaced by service { inet_listener { port } }: 2 Time(s)
srv dovecot: config: Warning: Obsolete setting in
/etc/dovecot/conf.d/01-mail-stack-delivery.conf:13: protocol { listen } has
been replaced by service { inet_listener { address } }: 2 Time(s)
srv dovecot: config: Warning: Obsolete setting in
/etc/dovecot/conf.d/01-mail-stack-delivery.conf:14: protocol { ssl_listen }
has been replaced by service { inet_listener { address } }: 2 Time(s)
srv dovecot: config: Warning: Obsolete setting in
/etc/dovecot/conf.d/01-mail-stack-delivery.conf:14: ssl_listen=..:port has
been replaced by service { inet_listener { port } }: 2 Time(s)
srv dovecot: config: Warning: Obsolete setting in
/etc/dovecot/conf.d/01-mail-stack-delivery.conf:21: listen=..:port has been
replaced by service { inet_listener { port } }: 2 Time(s)
srv dovecot: config: Warning: Obsolete setting in
/etc/dovecot/conf.d/01-mail-stack-delivery.conf:21: protocol { listen } has
been replaced by service { inet_listener { address } }: 2 Time(s)
srv dovecot: config: Warning: Obsolete setting in
/etc/dovecot/conf.d/01-mail-stack-delivery.conf:22: protocol { ssl_listen }
has been replaced by service { inet_listener { address } }: 2 Time(s)
*The "01-mail-stack-delivery.conf" file looks like this:*
# Some general options
protocols = imap pop3 sieve
disable_plaintext_auth = yes
ssl = yes
ssl_cert = </etc/ssl/certs/ssl-mail.pem
ssl_key = </etc/ssl/private/ssl-mail.key
ssl_cipher_list
ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM
mail_location = maildir:~/Maildir
auth_username_chars
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
# IMAP configuration
protocol imap {
listen = *:143
ssl_listen = *:993
mail_max_userip_connections = 10
imap_client_workarounds = delay-newmail
}
# POP3 configuration
protocol pop3 {
listen = *:110
ssl_listen = *:995
mail_max_userip_connections = 10
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
# LDA configuration
protocol lda {
postmaster_address = postmaster
mail_plugins = sieve
quota_full_tempfail = yes
deliver_log_format = msgid=%m: %$
rejection_reason = Your message to <%t> was automatically
rejected:%n%r
}
# Plugins configuration
plugin {
sieve=~/.dovecot.sieve
sieve_dir=~/sieve
}
# Authentication configuration
auth_mechanisms = plain login
service auth {
# Postfix smtp-auth
unix_listener /var/spool/postfix/private/dovecot-auth {
mode = 0660
user = postfix
group = postfix
}
}
What is going wrong with Dovecote. I am a newcomer and i need little help.
Many thanks,
Tom
Greece
--
View this message in context:
http://dovecot.2317879.n4.nabble.com/Dovecote-Warnings-tp39221.html
Sent from the Dovecot mailing list archive at Nabble.com.
anarchos78 wrote:> I have setup Postfix/Dovecote on Ubuntu 12.04 (apt-get install > mail-stack-delivery). While everything is working fine in the mail server I > have noticed the following errors: > > srv dovecot: config: Warning: NOTE: You can get a new clean config file > with: doveconf -n > dovecot-new.conf: 2 Time(s) > > srv dovecot: config: Warning: Obsolete setting in > /etc/dovecot/conf.d/01-mail-stack-delivery.conf:13: listen=..:port has been > replaced by service { inet_listener { port } }: 2 Time(s) > > srv dovecot: config: Warning: Obsolete setting in > /etc/dovecot/conf.d/01-mail-stack-delivery.conf:13: protocol { listen } has > been replaced by service { inet_listener { address } }: 2 Time(s) > > srv dovecot: config: Warning: Obsolete setting in > /etc/dovecot/conf.d/01-mail-stack-delivery.conf:14: protocol { ssl_listen } > has been replaced by service { inet_listener { address } }: 2 Time(s) > > srv dovecot: config: Warning: Obsolete setting in > /etc/dovecot/conf.d/01-mail-stack-delivery.conf:14: ssl_listen=..:port has > been replaced by service { inet_listener { port } }: 2 Time(s) > > srv dovecot: config: Warning: Obsolete setting in > /etc/dovecot/conf.d/01-mail-stack-delivery.conf:21: listen=..:port has been > replaced by service { inet_listener { port } }: 2 Time(s) > > srv dovecot: config: Warning: Obsolete setting in > /etc/dovecot/conf.d/01-mail-stack-delivery.conf:21: protocol { listen } has > been replaced by service { inet_listener { address } }: 2 Time(s) > > srv dovecot: config: Warning: Obsolete setting in > /etc/dovecot/conf.d/01-mail-stack-delivery.conf:22: protocol { ssl_listen } > has been replaced by service { inet_listener { address } }: 2 Time(s)The listen and ssl_listen directive is obsolete inside of the protocol section of current dovecot versions. If this config 01-mail-stack-delivery.conf comes with package mail-stack-delivery, then you should file a bug in the ubuntu launchpad so that the config gets adapted to the new dovecot version. Dovecot listens on the default ports by default, so you might just remove the "listen" and "ssl_listen" lines from your config. Regards Daniel -- https://plus.google.com/103021802792276734820
Many thanks for your reply. So what you saying is to remove the lines bellow
(from the "01-mail-stack-delivery.conf" file) am i correct?
# IMAP configuration
protocol imap {
listen = *:143
ssl_listen = *:993
mail_max_userip_connections = 10
imap_client_workarounds = delay-newmail
}
# POP3 configuration
protocol pop3 {
listen = *:110
ssl_listen = *:995
mail_max_userip_connections = 10
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
Many thanks again
Tom
Greece
--
View this message in context:
http://dovecot.2317879.n4.nabble.com/Dovecot-Warnings-tp39221p39226.html
Sent from the Dovecot mailing list archive at Nabble.com.
anarchos78 wrote:> Many thanks for your reply. So what you saying is to remove the lines bellow > (from the "01-mail-stack-delivery.conf" file) am i correct?Yes, you can comment it out:> # IMAP configuration > protocol imap { > #listen = *:143 > #ssl_listen = *:993 > mail_max_userip_connections = 10 > imap_client_workarounds = delay-newmail > } > > # POP3 configuration > protocol pop3 { > #listen = *:110 > #ssl_listen = *:995 > mail_max_userip_connections = 10 > pop3_client_workarounds = outlook-no-nuls oe-ns-eoh > }And see what happens when you do a config check with doveconf -n If removing the deprecated options does not suffice, you should configure each port in the new syntax as inet_listeners inside of a service { } section: http://wiki2.dovecot.org/Services#inet_listeners Regards Daniel -- https://plus.google.com/103021802792276734820