Running doveadm without config file?

Joseph Tam jtam.home at gmail.com
Fri May 29 23:43:37 EEST 2020


On Fri, 29 May 2020, Sami Ketola wrote:

>> 	# echo plaintextpass | doveadm pw -s BLF-CRYPT
>> 	doveadm(user): Fatal: Error reading configuration: stat(/etc/dovecot/dovecot.conf) failed: No such file or directory
>>
>> Is there a way to circumvent the need for a configuration file?
>
> I don't think so. But you can specify the location of the config file with -c /path/to/file
> like
>
> echo -n plaintextpass | doveadm -c /root/emptyfile.conf pw -s SHA1

Thanks, Sami.

I tried this with /dev/null and /tmp/empty.conf but ran into another wall

 	doveadm(root): Fatal: execv(/usr/bin/doveconf) failed: No such file or directory

Joseph Tam <jtam.home at gmail.com>


More information about the dovecot mailing list