Page 1 of 1

copy any mail sent in a imap folder

Posted: 2017-11-16 11:21
by bfsistemi
Hi everybody

I use Hmailserve without problems with thunderbird

But I have an application that use hmailserver as smtp server for sent some mails
I would like each mail sent by the application to be copied to a folder named "OutAppFolder" in the account used for the application.
It's possible?
I try with the account roules "delivery attemps" equal 1 move to imap folder "OutAppFolder" but dont works

Any solution?

Thanx
Fabio

Re: copy any mail sent in a imap folder

Posted: 2017-11-16 23:25
by mattg
Account rules are only for incoming messages

You will need to catch this with a global rule

What I would do

global rule
If
FROM contains "outbound@example.com"
AND
Recipient list NOT contains "copy_of_sent_mail@example.com"
THEN
Forward email to "copy_of_sent_mail@example.com"

This will put all outgoing mail from that account into this new email address "copy_of_sent_mail@example.com"

Re: copy any mail sent in a imap folder

Posted: 2017-11-17 09:47
by bfsistemi
perfect!