Page 1 of 1

Forwarded mail not deleted

Posted: Tue Sep 16, 2014 5:15 am
by alexcy
Hello forum,

I have noticed that forwarded email is not deleted from user's mail account. How can I fix that?

Thank you.

Re: Forwarded mail not deleted

Posted: Wed Sep 17, 2014 4:50 am
by alexcy
Anyone?

Re: Forwarded mail not deleted

Posted: Thu Sep 18, 2014 10:21 am
by alexcy
Imperio can you please help me?

Re: Forwarded mail not deleted

Posted: Fri Sep 19, 2014 1:11 pm
by karlis.kisis
you are right, I believe it is a bug for Vesta CP to handle

I just checked on a mailbox that I had set up as forward (with the option - do not store forwarded mail) and it does keep the mail in the box same as for you.

Re: Forwarded mail not deleted

Posted: Fri Sep 19, 2014 10:31 pm
by alexcy
Hmm... I guess nobody from the Vesta team is watching though..

Re: Forwarded mail not deleted

Posted: Sat Sep 20, 2014 9:36 am
by imperio
Sorry for the late answer, but now we are very busy
We are working on a new release

Add this issue in our bugtracker
https://bugs.vestacp.com/
We will check it

Re: Forwarded mail not deleted

Posted: Sat Sep 20, 2014 12:25 pm
by alexcy
Waiting forward for the new release! Thanks

Re: Forwarded mail not deleted

Posted: Sun Sep 28, 2014 9:16 am
by mephivio
hope this new release is coming one day ....

Re: Forwarded mail not deleted

Posted: Wed Dec 17, 2014 5:30 pm
by jriemerm
I think I figured out how to make this work. Vesta still doesn't work automatically just by checking the " Do not store forwarded mail" box, except for the very first one created for a domain I believe. But there's a text file that can be edited to achieve that.

On Centos, there are several config files in the directory "/home/[accountname]/conf/mail/[domain.com]/

The two relevant files are "aliases" and "fwd_only". Both are text files and can be edited.

"aliases" has all the forwarders you have created for that domain, one line per forwarder, as follows:

[email protected]:[email protected],[email protected]
[email protected]:[email protected],[email protected]

By default those will not only forward, but put send emails that show up in the roundmail inbox.

If you check "Do not store forwarded email" when creating one, it will be stored in the "fwd_only" config file, and that one will forward only, will not send mail that shows up in the roundmail inbox. But that address only gets stored in "fwd_only" for the first one you create, and none afterwards.

But you can manually make any of your forwarders "forward only" by putting the first part of the email address, before the "@" sign, in the fwd_only file, one line per name, as follows:

forwardingaddress1
forwardingaddress2

That's it. Any addresses stored in that file will only be forwarded, and not sent to the inbox. At least it worked that way in my testing.