HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Some info on email rules for ISPConfig3 (http://www.howtoforge.com/forums/showthread.php?t=47527)

MrCompTech 24th July 2010 05:49

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 :)

till 24th July 2010 09:25

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.


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

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