Softaculous


Topic : How to setup catchall email in Webuzo?


Posted By: myleene on April 11, 2015, 2:57 am
I installed dovecot and exim with default settings (from the Webuzo interface).

I then setup an email and set my own domain DNS for it.

I followed these:
webuzo.com/wiki/Add_Email_Account
webuzo.com/wiki/Access_Emails

Receiving and sending email works perfectly.

I currently have a single email: admin@example.com

I would like to setup this email as a catchall email that would be able to receive emails from any account in case the sender makes an error.

Like:
aaa@example.com
bbb@example.com
ccc@example.com

Would all be catched and delivered to admin@example.com.


I followed this: positon.org/catch-all-mail-with-exim


And modified: /usr/local/webuzo/conf/webuzo/exim4.conf.template

Like this:
catchall_example_com:
  driver = redirect
  domains = example.com
  data = admin@example.com

(*) Under "begin routers".

I then restarted exim, tried it from an external email (a gmail email) and it didn't work.

I receive an email mentioning the following: "The error that the other server returned was: 550 Unknown user"


Could you please give me steps on how to setup it?


Thanks in advance.

Posted By: divij on April 11, 2015, 6:27 am | Post: 1
Hi,

Sir you have to made the changes in /etc/exim/exim.conf

Posted By: myleene on April 11, 2015, 6:48 am | Post: 2
It Worked! Thanks a lot divij.


For others having a similar requirements, here are the steps I did:

1) Opened /etc/exim/exim.conf

2) Added the following lines:
catchall_example_com:
  driver = redirect
  domains = example.com
  data = admin@example.com
(*) Just under the "localuser:" section under "begin routers".

3) Restarted Dovecot

4) Restarted Exim


(*) I'm not 100% sure if restarting Dovecot & Exim is required.


It then worked perfectly.

Posted By: divij on April 11, 2015, 1:49 pm | Post: 3
Hi,

Glad to know your issue is resolve.

Thanks for sharing the solution also.

Posted By: freehostindia on June 10, 2015, 2:48 pm | Post: 4
By this method, all the mails are being forwarded.
Even when the mailbox for foobar@example.com exists, still it forwards the email sent to that address.

How can I avoid this?

Posted By: valley on June 12, 2015, 5:49 am | Post: 5
You will have to further tweak the Exim configurations to implement this


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: freehostindia on June 12, 2015, 7:04 am | Post: 6
Can you guide me through this?

Posted By: valley on June 13, 2015, 1:04 pm | Post: 7
We have this feature in our TO-DO list and shall have it implemented at the earliest.
For now you can find relevant information over the web.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: solder1 on April 14, 2022, 5:34 pm | Post: 8
Any advance for noob like me, more does webuzo have create easiest way ?

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.