gurgitate-mail 1.8.2 → 1.8.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,6 +86,7 @@ module Gurgitate
86
86
  if style[0] == Maildir then
87
87
  spooldir homedir
88
88
  spoolfile File.join(spooldir,"Maildir")
89
+ maildir spoolfile
89
90
  else
90
91
  spooldir "/var/spool/mail"
91
92
  spoolfile File.join(spooldir, @passwd.name)
@@ -25,7 +25,11 @@ module Gurgitate
25
25
  def save(mailbox)
26
26
 
27
27
  if mailbox[0,1]=='=' and @maildir != nil then
28
- mailbox["="]=@maildir+"/"
28
+ if @folderstyle == Maildir and mailbox !~ /^=\./ then
29
+ mailbox["="]=@maildir+"/."
30
+ else
31
+ mailbox["="]=@maildir+"/"
32
+ end
29
33
  end
30
34
 
31
35
  if mailbox[0,1] != '/' then
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: gurgitate-mail
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.8.2
7
- date: 2007-03-28 00:00:00 +09:00
6
+ version: 1.8.3
7
+ date: 2007-04-16 00:00:00 +09:00
8
8
  summary: gurgitate-mail is a mail filter (and a mail-delivery agent)
9
9
  require_paths:
10
10
  - lib