您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

cyrus.conf 463B

12345678910111213141516171819202122232425262728293031
  1. #!/usr/bin/perl
  2. # Config
  3. $cyrus_user = 'cyrus';
  4. $cyrus_password = 'cyruspass';
  5. $cyrus_host = 'localhost';
  6. # unixhierarchysep => 1 (yes) / 0 (no)
  7. $unixhierarchysep = 1;
  8. # Common routines
  9. sub mailbox_name {
  10. my $mailbox = shift;
  11. if($unixhierarchysep) {
  12. $mailbox = 'user/'.$ARGV[0];
  13. } else {
  14. $mailbox = 'user.'.$ARGV[0];
  15. }
  16. return $mailbox;
  17. }
  18. sub die_on_error {
  19. my $cyradm = shift;
  20. if($cyradm->error) { die $cyradm->error; }
  21. }
  22. 1;