Re: BCC on local delivery agent?

2020-05-09 Thread Admin Beckspaced
OK... will keep that in mind and next time just write down my question 
in an email but won't send.

perhaps the answer will come ;)

Am 09.05.2020 um 15:07 schrieb Thomas Strike:
Me to. There is something about writing out your problem in detail 
that provides a moment of clarity.


On 5/9/20 1:40 AM, @lbutlr wrote:

On 08 May 2020, at 02:54, Admin Beckspaced  wrote:

ups ... I think I can answer my own question?
Why is it that the answer mostly comes once the email has been sent ;)
Because if it came before, you wouldn’t sent the message! (90% of the 
email questions I write are never sent, hard to believe, but true).







Re: BCC on local delivery agent?

2020-05-09 Thread Thomas Strike
Me to. There is something about writing out your problem in detail that 
provides a moment of clarity.


On 5/9/20 1:40 AM, @lbutlr wrote:

On 08 May 2020, at 02:54, Admin Beckspaced  wrote:

ups ... I think I can answer my own question?
Why is it that the answer mostly comes once the email has been sent ;)

Because if it came before, you wouldn’t sent the message! (90% of the email 
questions I write are never sent, hard to believe, but true).




Re: BCC on local delivery agent?

2020-05-08 Thread @lbutlr
On 08 May 2020, at 02:54, Admin Beckspaced  wrote:
> ups ... I think I can answer my own question?
> Why is it that the answer mostly comes once the email has been sent ;)

Because if it came before, you wouldn’t sent the message! (90% of the email 
questions I write are never sent, hard to believe, but true).


-- 
I poured spot remover on my dog. Now he's gone.




Re: BCC on local delivery agent?

2020-05-08 Thread Admin Beckspaced

Hi,


The quota warning email is send via Dovecot LDA (https://wiki.dovecot.org/LDA)

This is the command in the shell script:

/usr/lib/dovecot/dovecot-lda -f nore...@beckspaced.com -d $USER -o 
"plugin/quota=dict:User quota::noenforcing:proxy::quota"

as you said the dovecot quota warning calls a shell script where the user is 
informed via dovecot-lda.
This is necessary to ignore the quota or else the warning mail could not be 
delivered.

If you want a copy of that mail, just edit the quota warning script and send 
another mail:

echo "user $USER is over quota" | /usr/bin/mailx -s "OVERQUOTA $user" 
ad...@beckspaced.com

Best regards
Gerald

Hello Gerald,

thanks for your reply and idea to get this working.

your idea is the most easy & simple way to get what I want.

some days I just tend to make things complicated ;)

sorry for the noise on the list with such stupid questions.

thanks & greetings
Becki



Re: BCC on local delivery agent?

2020-05-08 Thread Gerald Galster
Hi,

> The quota warning email is send via Dovecot LDA (https://wiki.dovecot.org/LDA)
> 
> This is the command in the shell script:
> 
> /usr/lib/dovecot/dovecot-lda -f nore...@beckspaced.com -d $USER -o 
> "plugin/quota=dict:User quota::noenforcing:proxy::quota"

as you said the dovecot quota warning calls a shell script where the user is 
informed via dovecot-lda.
This is necessary to ignore the quota or else the warning mail could not be 
delivered.

If you want a copy of that mail, just edit the quota warning script and send 
another mail:

echo "user $USER is over quota" | /usr/bin/mailx -s "OVERQUOTA $user" 
ad...@beckspaced.com

Best regards
Gerald



Re: BCC on local delivery agent?

2020-05-08 Thread Admin Beckspaced

Am 08.05.2020 um 10:38 schrieb Admin Beckspaced:

Dear postfix users,

I have setup dovecot with quota warning.

The quota warning email is send via Dovecot LDA 
(https://wiki.dovecot.org/LDA)


This is the command in the shell script:

/usr/lib/dovecot/dovecot-lda -f nore...@beckspaced.com -d $USER -o 
"plugin/quota=dict:User quota::noenforcing:proxy::quota"


In the Dovecot LDA docs I can't find an option to add a BCC

I would like to receive a copy of the quota warning email so I also 
get notified and know if user mailboxes get filled up.


I already had a look into sender_bcc_maps but this only seems to work 
if the email enters postfix via smtp


is there a bcc_maps for local delivery in postfix?

so that all emails where the sender is nore...@beckspaced.com will 
also send a copy to ad...@beckspaced.com


Is this possible with postfix?

thanks & greetings
Becki



ups ... I think I can answer my own question?
Why is it that the answer mostly comes once the email has been sent ;)

I think there's nothing postfix can do about this as Dovecot LDA inserts 
the mail directly into the users mailbox without a call to postfix.


sorry for the noise on the list.

thanks & greetings
Becki



BCC on local delivery agent?

2020-05-08 Thread Admin Beckspaced

Dear postfix users,

I have setup dovecot with quota warning.

The quota warning email is send via Dovecot LDA 
(https://wiki.dovecot.org/LDA)


This is the command in the shell script:

/usr/lib/dovecot/dovecot-lda -f nore...@beckspaced.com -d $USER -o 
"plugin/quota=dict:User quota::noenforcing:proxy::quota"


In the Dovecot LDA docs I can't find an option to add a BCC

I would like to receive a copy of the quota warning email so I also get 
notified and know if user mailboxes get filled up.


I already had a look into sender_bcc_maps but this only seems to work if 
the email enters postfix via smtp


is there a bcc_maps for local delivery in postfix?

so that all emails where the sender is nore...@beckspaced.com will also 
send a copy to ad...@beckspaced.com


Is this possible with postfix?

thanks & greetings
Becki