package: cyrus21-doc
severity: whishlist

See attached message.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--- Begin Message ---
Hello,

I'm in the middle of the work migrating my site to cyrus21, and I tried to use the mboxtocyrus script included in cyrus21-doc. At first I failed, because it uses "mail" as auth-id of the sender, which generally don't have p right for any mailbox, so the mails gets delivered to the user's inbox instead of the folder desired. I enclosed a simple fix for that. Please incorporate it, it may save some time for someone.

br

Szo

--
I guess it wasn't the dove...

--- mboxtocyrus	2005-01-14 17:00:02.000000000 +0100
+++ mboxtocyrus.new	2005-01-14 17:00:34.000000000 +0100
@@ -61,7 +61,7 @@
 	$FORMAIL -I "From " < $MAILBOX -s $CYRDELIVER $USER
  else
 	echo "Adding mailbox '$MAILBOX' to Cyrus folder '$CYRUSFOLDER' of user '$USER'..."
-	$FORMAIL -I "From " < $MAILBOX -s $CYRDELIVER -a mail -m $CYRUSFOLDER $USER
+	$FORMAIL -I "From " < $MAILBOX -s $CYRDELIVER -a $USER -m $CYRUSFOLDER $USER
 fi
 
 

--- End Message ---

Reply via email to