CyberPanel Community

Email Forwarders and Catchall

Re
Redmound #1

After a month of testing on a in-house server…I have gone ahead and deployed CyberPanel to a working VPS and started transferring accounts from my reseller account (WHM/Cpanel).

So far I have noticed that two commonly used features my clients have are not in CyberPanel.

1). Email Forwarders…these are often setup to forward a virtual mailbox to people. e.g. events@xyz.com is forwarded to those running events p1@xyz.com, p2@xyz.com. -----but there is no actual events mailbox.

Your implementation requires an actual mailbox to be created in order to set the forwarder (which means an un-monitored mailbox that can get full).

2). A catchall email address for domains…usually used to catch typos. However, I have clients with seasonal workers and they use the catchall to get correspondence directed to former workers (much easier than managing 100s of forwarders which is what they used to do – see above).

cheers,
RDL

18 replies
bs
bsanz16 #2

+1

Catch all is needed so you don’t have to create and forward 5+ email accounts just to go to 1 inbox

Re
Redmound #3

You can do it with PHPmyAdmin in the fowarder table…but that is not the point of having a panel to manager the server

Ma
MaiaInternet #4

Hi,
yes, I need a ‘virtual’ inbox for forwarded email addresses as well. I can’t really migrate over until i can add email forwarders without creating a proper inbox for them.

apart from that i’m loving Cyber Panel!

cheers

di
diana #7

In case you are still looking for a solution to this, here’s how I did it:

  1. In Cyberpanel admin, create a catchall email account

Ex: catchall@yourdomain.com

  1. In phpmyAdmin > Cyberpanel database, insert:

@yourdomain.comcatchall@yourdomain.com

  1. Follow the instructions in the article:

IMPORTANT: In dovecot.conf, change this:

plugin {
sieve = ~/dovecot.sieve
sieve_global_path = /etc/dovecot/sieve/default.sieve
sieve_dir = ~/sieve
sieve_global_dir = /etc/dovecot/sieve/global/
}

To this:

plugin {
sieve = /home/vmail/%d/%n/dovecot.sieve
sieve_global_path = /etc/dovecot/sieve/default.sieve
sieve_dir = /home/vmail/%d/%n/sieve
sieve_global_dir = /etc/dovecot/sieve/global/
}

  1. Login to rainloop with your catchall and create a filter:

Conditions: Recipients (To or cc) @yourdomain.com
Actions: Forward to email@youremail.com
UNCHECK Keep

Hope that helps someone!

Ma
MaiaInternet #8

Great that that works - but how does an end user set all that up when they just want to add a new forwarder?

Seems a bit ‘techy’ for a simple user :wink:

Cheers

we
wesyah234 #9

Any progress on forwarding that does not store a copy on the server?

Any progress on a catchall feature that does not require editing database tables directly?

Any progress on email piping?

These 3 items would be nice to have for those moving from cpanel which has all 3 easily configured in the GUI.

at
alex_t #10

The forwarder adds 2 entries to the e_forwardings table in the cyberpanel db. Delete the entry with the same source/destination and the server will not keep a copy of the email.

Lv
Lvillalta #11

Any update in the topic I have the same issue.

MK
Mirza Khadnezar S [sick] #12

there is simillar topic at this forum about email forwarder and catch-all
cyberpanel / rainloop not have catch-all email feature
and cannot forward if not have native inbox account (except you understand about mysql. you can modified the email table, one of our member already wrote about this at this forum, but i cant give the link because it advance level. so try to search. do it with your own risk and because if you post here, then you should read the comment from begin… there is already an answer

alternative:
you can modified your MX to use 3rd party like forwardemail or improvmx
otherwise you can try to use cloudflare then enable their email re-route feature

Cy
CyberPanelUser #13

So there is a fix but you won’t share the fix because it’s “advanced level”? :face_with_monocle:

@lvillalta As mentioned in the PM, PostfixAdmin is one solution where you can setup mailboxes and catch-all’s and it actually works but it’s bypasses Cyberpanel’s own mailbox settings/setup etc.
You can try adding catch-alls to the forwarding table (it’s not “advanced” in any way) but I never found it to work.

Not putting a downer on Cyberpanel, as it’s a good panel, but none of these solutions are user friendly in any way and it really needs the feature to be added to CyberPanel, moreso if there is (supposedly) a fix but it just needs bringing out to the UX.

MK
Mirza Khadnezar S [sick] #14

when you do some modification at sql or the config then you should understand “how and what” you doing
by default cyberpanel+rainloop not provide email forwarder if you not create mail inbox first and catch-all

MK
Mirza Khadnezar S [sick] #15

who said that ?

read this

MK
Mirza Khadnezar S [sick] #16

… yeah not advance level :smiley:
but why you cant make it work ?
so you can share here…

le
leleu #17

Any news or progress on catchall implementation ?

Se
Senator #18

Any update on a catch all email?

La
LarryR #19

i wonder what the limitation is in cyberpanel?

can anyone that knows cyberpanel offer some code solution so that the developer can consider that to add as a feature in cyberpanel?

any of you coders out there able to add a feature ‘catch all email’ for cyberpanel?

Sign in to reply