[Dovecot] Sort output of dovecot -n alphabetically?

Charles Marcus CMarcus at Media-Brokers.com
Thu May 22 16:08:13 EEST 2008


On 5/22/2008 8:57 AM, Jens Dönhoff wrote:
>> Is there a way? Postfix does this by default, and it makes it much
>> less likely to miss/overlook a setting...

> Just pipe it through sort:
> 
> dovecot -n | sort

But then *everything* gets sorted (I tried before posting), so its not 
acceptable solution:

host ~ # dovecot -n | sort
# 1.1.rc5: /etc/dovecot/dovecot.conf
     args: *
auth default:
     driver: pam
     driver: passwd
listen: [::]
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
mail_location: maildir:~/.maildir
   passdb:
ssl_cert_file: /etc/ssl/dovecot/server.pem
ssl_key_file: /etc/ssl/dovecot/server.key
   userdb:

And no, this is not complete output...

-- 

Best regards,

Charles


More information about the dovecot mailing list