Discussion in 'General' started by ikrudolf, Nov 3, 2011.
How to create a Catchall without an Email Account? (for example to a gmail address)
A catchall in ispconfig requires a mailbox. But you can forward the emails from that mailbox to gmail automatically.
Is it possible for you to change it so it is also possible to create catchall without mailbox?
Is it possible to automatically delete the email that are forwarded to the gmail?
Sure, you can change the ispconfig sourcecode as ISPConfig is released under a OpenSource license.
Tnx Till but I'm not clever enough to do that
Not sure where to change this?
Email > Mailbox > Custom rules
as Custom mailfilter recipe but the mail doesn't get redirect and deleted.
And your're sure that you use sieve and not maildrop on your server?
Sorry don't even know what sieve is. What kind of impact will it have if I change from maildrop to sieve?
Your system supports either sieve or maildrop depending on the software that you installed on your server before you installed ispconfig.
If you installed courier imap, then you use maildrop. If you installed dovecot, then you use sieve.
I use maildrop.
Is there another way to delete the mail when forwarded?
Is it a big change in ispconfig to be able to create a catchall without mailbox?
Then use the amildrop rule that I posted and not the one for sieve.
Sorry I was still sleeping and not reading well....
It works well now
Catchall without Email Account, ISPconfig 3 + Dovecot + Sieve
We also required a catchall without mailbox solution for Dovecot/Sieve on ISPconfig 3. I found that these steps work perfectly.
1. Create a new mailbox for the domain (e.g.: firstname.lastname@example.org).
2. Create a catchall for the domain that points to new mailbox.
3. Edit mailbox and go to the "Custom Rules" tab. Enter these two rules:
If I use these rules, an email sent to "email@example.com" is redirected to "firstname.lastname@example.org" and discarded. No messages are saved in the catchall mailbox! You MUST include the "stop;" line or Sieve will NOT discard the message after forwarding.
Suppose your catchall mailbox is "email@example.com". Login to the mail server that hosts the mailbox and type the following to view the entire Sieve filter for this mailbox.
Contents of the Sieve filter file are as follows.
require ["fileinto", "regex", "date", "relational", "vacation"];
Notice the "keep;" line added by ISPconfig 3 at the end of the file? If you do not specify "stop;" to terminate the Sieve script, Dovecot will execute the "keep;" command and place a copy of the message in your catchall mailbox.
Separate names with a comma.