Delete emails on Forwarding

lakesentrance

Verified User
Joined
Jul 15, 2012
Messages
5
Hi All, i've setup email forwarders for many pop accounts, but emails don't seem to be deleted once forwarded.

many of the client mailboxes are filling up to 50mb and require manual emptying via webmail.

any help appreciated,
 
You do not need to keep the actual POP email accounts (if Email Forwarding has been enabled).

So you may go ahead and delete the POP email accounts. The forwarding will continue to work without the POP email accounts...
 
You do not need to keep the actual POP email accounts (if Email Forwarding has been enabled).

So you may go ahead and delete the POP email accounts. The forwarding will continue to work without the POP email accounts...

Thanks for quick reply. Sounds like an obvious solution, of which i hadn't thought of.

I wasn't aware you could actually remove the pop account and the forwarder still functioned. New to DA.
 
What if I would also like to send email from that address (from gmail), then the account is required? Is there a way to have DA send and receive without filling up inbox/sent?
 
You might want to set up a cron task, which would remove all files from imap folders for that account then.
 
What if I would also like to send email from that address (from gmail), then the account is required? Is there a way to have DA send and receive without filling up inbox/sent?
You might want to set up a cron task, which would remove all files from imap folders for that account then.
I'm not sure what either of you mean, since by default DirectAdmin doesn't add any files to the sent folder when sending mail. That folder may be used by IMAP email clients (either locally to you, or webmail, on the server) when they send email, but otherwise should never have anything in it.

Or am I missing something?

Jeff
 
Honestly this part

What if I would also like to send email from that address (from gmail), then the account is required? Is there a way to have DA send and receive without filling up inbox/sent?

is not clear enough for me. So my reply was mostly in this part:

Hi All, i've setup email forwarders for many pop accounts, but emails don't seem to be deleted once forwarded.

many of the client mailboxes are filling up to 50mb and require manual emptying via webmail.

any help appreciated,

If an email box is used alongside with a forwarder, then incoming emails which are stored in an incoming folder can be purged by cron with a simple
Code:
rm
command
 
I'm not sure what either of you mean, since by default DirectAdmin doesn't add any files to the sent folder when sending mail. That folder may be used by IMAP email clients (either locally to you, or webmail, on the server) when they send email, but otherwise should never have anything in it.

My guess is that divinelighting doesn't want to receive emails to that address but wants the address to exist so that DA accepts outbound email from it. In other words, it's not the sent mail filling up that's the issue, it's the inbox filling up.
 
It's both. I have reached my gmail limit of 5 pop3 accounts, and I think I can solve the problem if I use my server to relay incoming and outgoing mail. I just don't want mail staying on server and taking up space. It sounds like using the cron to regularly delete would do it.
 
Back
Top