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
  #1  
Old 24th July 2010, 05:49
MrCompTech MrCompTech is offline
Member
 
Join Date: Jul 2010
Posts: 92
Thanks: 1
Thanked 18 Times in 8 Posts
Default Some info on email rules for ISPConfig3

The program/scripts that ISPConfig3 use for email rules is called 'sieve'.

While trying to troubleshoot an e-mail forwarding problem the e-mail log revealed that there was a problem with a script for the user -

/var/vmail/sjwebdocs01.info/smitjame01/.sieve

and to check the log file:

/var/vmail/sjwebdocs01.info/smitjame01/.sieve.log
This was the error in the log:
Code:
sieve: info: started log at Jul 23 22:58:56.
main_script: line 6: error: expected end of command ';' or the beginning of a compound block '{', but found end of file.
main_script: error: parse failed.
sieve: info: started log at Jul 23 23:01:22.
main_script: line 6: error: expected end of command ';' or the beginning of a compound block '{', but found end of file.
main_script: error: parse failed.
sieve: info: started log at Jul 23 23:06:06.
main_script: line 6: error: expected end of command ';' or the beginning of a compound block '{', but found end of file.
main_script: error: parse failed.
sieve: info: started log at Jul 23 23:21:40.
main_script: line 4: error: unexpected character(s) starting with '''.
main_script: line 4: error: expected end of command ';' or the beginning of a compound block '{', but found unknown characters.
main_script: line 4: error: unexpected character(s) starting with '@'.
main_script: line 4: error: unexpected character(s) starting with '.'.
main_script: line 4: error: unexpected character(s) starting with '''.
main_script: error: parse failed.

And some Googling revealed that this is a language used for applying english like rules to the treatment of email.

I found this http://www.nada.kth.se/datorer/e-pos...#general.sieve

The important item for me was to use a rule such as:

redirect "my-address@somewhere.else.com";

to redirect an e-mail

and to keep a copy :

redirect "my-address@somewhere.else.com";
keep;

Well, just thought I would share this with the community
Reply With Quote
Sponsored Links
  #2  
Old 24th July 2010, 09:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
 
Default

Quote:
The program/scripts that ISPConfig3 use for email rules is called 'sieve'.
It is not always sieve, the filter language depends on the pop3 / imap daemon that you have installed. The filter language is either sieve when you use dovecot and it is maildrop in case of courier.

The filter rules to forward emails are also explained in the ISPConfig FAQ.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Heartbeat on FreeBSD7.2 not changing to Virtual IP jodizzz Server Operation 1 15th April 2010 07:46
Ispconfig not saving ftp stats MasteRTriX General 4 19th March 2010 15:16
/home ad symlink after rsync run DreamK General 4 8th March 2010 12:44
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 16:26
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06


All times are GMT +2. The time now is 23:07.


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