Piping to doveadm pw

2021-06-16 Thread Kevin N.
Hello everybody, I am using 'doveadm pw' from inside a bash script to generate the salted hash for a user provided password. I call it like: doveadm pw -s SHA256-CRYPT -u $user -p $password Is there any possible way to use piping (so it won't show up in ps for example) to pass the username and

Re: Piping to doveadm pw

2021-06-16 Thread Kevin N.
Oscar del Rio wrote: > On 2021-06-16 5:23 a.m., Kevin N. wrote: > > I am using 'doveadm pw' from inside a bash script to generate the salted > > hash for a user provided password. > > I call it like: doveadm pw -s SHA256-CRYPT -u $user -p $password > >

Re: Piping to doveadm pw

2021-06-16 Thread Kevin N.
Bernardo Reino wrote: > On Wed, 16 Jun 2021, Kevin N. wrote: > > > Thanks. Reading the manual was the first thing I did before posting to the > > list. > > > > I'm not sure if this is relevant for the question, but I forgot to mention > > that the us

Dovecot mailing list and DKIM

2021-06-19 Thread Kevin N.
Hello everybody, Going through my mail logs I noticed that a couple of messages from the Dovecot mailing list failed DKIM validation. For example, this one has failed: https://markmail.org/message/te7tycmpiutw4kia 'opendkim-testkey' shows that the key is OK. The messages in the example com

Re: Dovecot mailing list and DKIM

2021-06-19 Thread Kevin N.
vast majority pass while some fail, even if they do have proper DKIM records :) . Cheers. On 20/06/2021 00:01, Benny Pedersen wrote: On 2021-06-19 16:21, Kevin N. wrote: Any thoughts? ARC-Authentication-Results: i=1; talvi.dovecot.org; dkim=pass header.d=notscheduled.eu header.s=vdsce95c9

Re: Dovecot mailing list and DKIM

2021-06-19 Thread Kevin N.
Oh, I see. Thanks for the clarification Andreas. On 20/06/2021 00:58, A. Schulze wrote: Am 19.06.21 um 16:21 schrieb Kevin N.: Going through my mail logs I noticed that a couple of messages from the Dovecot mailing list failed DKIM validation. For example, this one has failed: https

[BUG] doveadm / mail-crypt: Error when setting new password for a user key

2021-06-19 Thread Kevin N.
Dovecot version: 2.3.14 When setting a new password for a user key you have the option to prompt the user for the old and the new password, instead of providing them as parameters (using -N and -O instead of -n and -o). However, running: doveadm mailbox cryptokey password -u user@domai

Re: Dovecot mailing list and DKIM

2021-06-19 Thread Kevin N.
I never used FuGlu before. I'll take a look at it :) On 20/06/2021 02:38, Benny Pedersen wrote: On 2021-06-19 23:57, Kevin N. wrote: No yahoo specific problem, as I stated in my previous post. An yes, my DKIM record validates successfully. But there are a couple of messages sent from

Re: Quota Config With Prefetch Creating Alias Directories

2021-06-27 Thread Kevin N.
For the first part of the issue maybe you could use Postfix's smtpd_restriction_classes combined with Dovecot's quota_grace, as described in this older thread: https://dovecot.markmail.org/thread/5sa563icpv2os2nb#query:+page:1+mid:gkhwgzfvipzaixtl+state:results I haven't tried it though. Cheer

Re: Quota Config With Prefetch Creating Alias Directories

2021-06-27 Thread Kevin N.
On a second thought, the previous suggestion doesn't seem to be what you are looking for. It looks like it only performs selective quota checking. Sorry. On 27/06/2021 10:45, Kevin N. wrote: For the first part of the issue maybe you could use Postfix's smtpd_restriction_classes com

Re: [BUG] doveadm / mail-crypt: Error when setting new password for a user key

2021-06-27 Thread Kevin N.
:46, Aki Tuomi wrote: On 20/06/2021 01:22 Kevin N. wrote: Dovecot version: 2.3.14 When setting a new password for a user key you have the option to prompt the user for the old and the new password, instead of providing them as parameters (using -N and -O instead of -n and -o). However

Re: [BUG] doveadm / mail-crypt: Error when setting new password for a user key

2021-06-27 Thread Kevin N.
f we could get this fixed finally. Aki On 28/06/2021 09:12 Kevin N. wrote: Hi Aki, Yes. Without -O the following error is thrown: result: dcrypt_key_load_private(...) failed: password missing Which makes sense since you need the old password for setting a new password for the user key.

[ENHANCEMENT] Doveadm HTTP API and the mail-crypt plugin

2021-06-29 Thread Kevin N.
Hello everybody, I was wondering, are there any plans for the near future to include the mail-crypt plugin related functions, like changing the user key password, into the doveadm http api? It would probably be possible to implement it in a more secure way than any other external ad-hoc solu

Re: Dovecot book for a newbie

2021-07-07 Thread Kevin N.
I am not aware of any Dovecot specific book, but maybe a good starting point would be the Dovecot Quick Configuration guide: https://doc.dovecot.org/configuration_manual/quick_configuration/ For Postfix, a good starting point could be the VIRTUAL_README and ADDRESS_CLASS_README pages: http://w

Re: Dovecot book for a newbie

2021-07-07 Thread Kevin N.
I am not aware of any Dovecot specific book, but maybe a good starting point would be the Dovecot Quick Configuration guide: https://doc.dovecot.org/configuration_manual/quick_configuration/ For Postfix, a good starting point could be the VIRTUAL_README and ADDRESS_CLASS_README pages: http://w

Re: [ENHANCEMENT] Doveadm HTTP API and the mail-crypt plugin

2021-07-13 Thread Kevin N.
On 29/06/2021 22:58 Kevin N. wrote: Hello everybody, I was wondering, are there any plans for the near future to include the mail-crypt plugin related functions, like changing the user key password, into the doveadm http api? It would probably be possible to implement it in a more secure