User Functions
Don't have an account yet? Sign up as a New User
Lost your password?
Poll
Do you want push services for the iPhone on Mac OS X Server?
80 votes | 0 comments
|
|
| macshome |
 |
Friday, November 04 2005 @ 08:29 am MST |
|
|

Admin
 Status: offline
Registered: 01/04/01
Posts: 1271
|
You need to repair your cyrus db. We have articles on it as does the Apple KB. Plus the button in SA might even be working now, but I haven't tested it. 
Breaking my server to save yours.
Josh Wisenbaker
www.afp548.com
|
| |
|
|
| ian_butler |
 |
Friday, November 04 2005 @ 08:33 am MST |
|
|
|
 Status: offline
Registered: 11/04/05
Posts: 2
|
As noted elsewhere on AFP548 (and the Apple forums), the latest Tiger updater has fixed the problems many were having with Sieve scripts, particularly using the SquirrelMail plug-in avelsieve. Below is guide to getting this working if you're starting from scratch, something I see a number of people are asking for...
Installing Web-Based Sieve scripting on OS X Server 10.4.3 using avelsieve ===========================================
Prerequisites ========= I have used the following setup on a fresh install of Mac OS X 10.4 Server, with the 10.4.3 Combo Update installed. I then added a user to the local netinfo domain as a test case, and along with the default admin account have enabled mail for these users - Note: Open Directory is not currently running.
Web, DNS, SMTP and IMAP/POP are all running, and SquirrelMail has been enabled in Web Services. SquirrelMail has been tested for the two users mentioned above, and both accounts log in correctly, displaying empty mail boxes.
To enable sieve scripts via Squirrelmail =========================
1) If it doesn't already exist, create the following directory as root or using sudo from the Terminal;
% sudo mkdir -p /usr/sieve % sudo chown cyrusimap /usr/sieve % sudo chgrp wheel /usr/sieve
Directory permissions should then look like;
drwxr-xr-x 3 cyrusimap wheel 102 Nov 3 21:31 sieve
2) Add (or un-comment if it exists) the following line to the /etc/services file. To do this you either need to su to root, or use sudo to edit the file using the Terminal.
sieve 2000/tcp # Sieve mail filtering
3) Stop the mail services from Server Admin.
4) On the Mail -> Settings -> Advanced tab, ensure you have IMAP set to allow 'PLAIN' as well as 'Clear' Authentication.
5) Start the mail services from Server Admin.
6) Run the following command using the Terminal, as any user; % telnet localhost 2000
You should see the following output;
Trying ::1... Connected to localhost. Escape character is '^]'. "IMPLEMENTATION" "Cyrus timsieved v2.2.12-OS X 10.4.0" "SASL" "PLAIN" "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational comparator-i;ascii-numeric regex" "STARTTLS" OK
7)If you see this, your timsieved is working correctly. Use the escape character to leave the daemon, and quit telnet.
8) Download the most recent avelsieve distribution from the web page at http://email.uoa.gr/projects/squirrelmail/avelsieve_download.php. I used the more recent Dev Branch version: avelsieve-1.9.3.tar.gz, and haven't tested the earlier 1.0.1 version. If anyone has this working also, let me know.
9) Un-tar this in the squirrelmail plugins directory ( /usr/share/squirrelmail/plugins ), again as root or using sudo via the Terminal and cd into ( avelsieve/config/ ). Copy the example config 'config_sample.php' to 'config.php' IN THE SAME DIRECTORY (this is different from the V1.0.1 setup I believe). I didn't need to edit anything in the config.
10) Run the SquirrelMail config perl script, using sudo like so; % sudo /etc/squirrelmail/config/conf.pl
Choose Option 8, "Plugins" from the menu, and enable "avelsieve" by selecting it from the resultant list. Save your changes and quit the utility.
11) Login in to one of the mail accounts using SquirrelMail, and the "Filters" menu should now be an option - choosing this allows you to create your sieve scripts, including a vacation mail 'auto-reply'.
12) Looking in the /usr/sieve/a/admin directory (for example) should show the following files;
lrwx------ 1 cyrusima wheel 12 Nov 4 11:41 defaultbc -> phpscript.bc -rw------- 1 cyrusima wheel 232 Nov 4 11:42 phpscript.bc -rw------- 1 cyrusima wheel 1056 Nov 4 11:42 phpscript.script
Please let me know comments and/or corrections, especially if you have achieved this differently.
Regards,
Ian Butler
Ian Butler
Computer Angel
London, UK
|
| |
|
|
| Anonymous: NoSpin |
 |
Friday, November 04 2005 @ 06:59 pm MST |
|
|
|
|
Ian
Thankyou so much for those instructions.
I was able to fix my messed up install by dumping the 10.4.3 reciept and reinstalling the combo update. Following your instructions my server is now sending out vacation messages again.
Brialliant.
Steve
|
| |
|
|
| Anonymous: Bing |
 |
Sunday, November 06 2005 @ 07:18 am MST |
|
|
|
|
Thanks Ian
Sorted !!
Just remove recepit for 10.4.3 Server combo, followed your notes. all worked first go.
Bing
|
| |
|
|
| Anonymous: MadMocha |
 |
Tuesday, November 08 2005 @ 08:56 am MST |
|
|
|
|
Has anyone had this issue? Rules seem to work fine, except for the notify me feature. It doesn't seem to send out e-mails. All else is working. I am running avelsieve ver. 1.9.3.
Thanks much!
|
| |
|
|
| Content generated in: 0.17 seconds |
|
|