Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 4th November 2011, 10:31
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 14 Times in 12 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

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?
Reply With Quote
Sponsored Links
  #12  
Old 4th November 2011, 10:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Quote:
I use maildrop.
Is there another way to delete the mail when forwarded?
Then use the amildrop rule that I posted and not the one for sieve.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 4th November 2011, 10:43
skoena skoena is offline
Senior Member
 
Join Date: Sep 2009
Location: Emmen, Netherlands
Posts: 421
Thanks: 77
Thanked 14 Times in 12 Posts
Send a message via MSN to skoena Send a message via Skype™ to skoena
Default

Sorry I was still sleeping and not reading well....
It works well now
Reply With Quote
  #14  
Old 7th January 2013, 23:54
jrklein jrklein is offline
Junior Member
 
Join Date: Dec 2012
Location: US
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default 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.: catchall@domain.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:

redirect "destination@example.org";
stop;

If I use these rules, an email sent to "anything@domain.org" is redirected to "destination@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 "catchall@domain.org". Login to the mail server that hosts the mailbox and type the following to view the entire Sieve filter for this mailbox.

cat /var/vmail/domain.org/catchall/.sieve

Contents of the Sieve filter file are as follows.

require ["fileinto", "regex", "date", "relational", "vacation"];
redirect "destination@example.org";
stop;

keep;

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only allow specific domain to send to a specific email account KenKnight Server Operation 1 23rd July 2010 13:42
email account and email forward acumen General 4 28th October 2009 11:00
Trouble Creating Email Account samuch Installation/Configuration 13 8th August 2009 15:52
Forward all email from a domain to a particular account ignasigarcia General 1 5th May 2009 14:24
Mail account creation email. ixxshadyb General 0 10th April 2009 19:56


All times are GMT +2. The time now is 03:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.