[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: exim doesn't deliver to maildirs



Christian Schoenebeck declaimed:
> > I've been trying to switch from mbox to maildir, but exim won't deliver
> > to my maildirs. Here's the relevant section of my exim.conf:
> 
> I replaced the local_delivery section by:
> 
> 	local_delivery:
> 	  driver = appendfile
> 	  create_directory = true
> 	  directory_mode = 700
> 	  directory = ${home}/Maildir
> 	  group = mail
> 	  mode = 0660
> 	  envelope_to_add = true
> 	  return_path_add = true
> 	  maildir_format
> 
> That works for me. I also found a nice perl script which converts old mbox -> 
> Maildir. Let me know if you need it.
Well this doesn't hurt at any rate, the old system of having the primary
deliver go to 

file = /var/spool/mail/${localpart}

was also working. The mbox or Maildir specified in the local_delivery
transport of exim.conf gets the mail. The problem is that my .forward
file won't file mail to Maildirs, just mboxes. A stripped down example
is:

   # Exim filter
   if error_message then
   	finish
   endif
   
   if $h_Subject contains "mailtest" then
       seen save $home/Maildir/test/
   else
       save $home/Maildir/inbox
   endif
   finish
   # end .forward

According to the comments in exim.conf:TRANSPORTS CONFIGURATION, it's
the address_directory transport that handles addresses generated by
.forward files. Could you send me that section?

TIA,

Paul
-- 
Paul Mackinney
paul@mackinney.net


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: