[Exim] Exim support for Qmail Maildir format, could someone …

Página Inicial
Delete this message
Reply to this message
Autor: Peter Santiago
Data:  
Para: Exim-Users@Exim. Org
Assunto: [Exim] Exim support for Qmail Maildir format, could someone explain?
Could someone explain why it works? I just copied it from the configuration
file posted by Derek
Under $home/Maildir/, there are three more directories: new,cur,tmp...

######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################
remote_smtp:
  driver = smtp



# This transport is used for local delivery to user mailboxes in traditional
# BSD mailbox format. By default it will be run under the uid and gid of the
# local user, and requires the sticky bit to be set on the /var/mail
directory.
# Some systems use the alternative approach of running mail deliveries under
a
# particular group instead of using the sticky bit. The commented options
below
# show how this can be done.

local_delivery:
  driver = appendfile
#  file = /home/users/$local_part/.Mailbox
  delivery_date_add
  envelope_to_add
  return_path_add
  group = mail
  mode = 0660
  directory = "/home/users/$local_part/Maildir/" # where's the cur, new, tmp
subdirectories?
  maildir_format                         #    Are they automatically created?


folder_delivery:         #the subdirectory new is not mentioned here, yet
new mails are delivered
  driver = appendfile            #under it... How come?
  group = mail
  mode = 0660
  mode_fail_narrower = false # what's this for?
  envelope_to_add = true
  directory = /home/users/$local_part/Maildir/${if match
{$header_subject:}{\\[([-\\w]+)\\]} {.$1/} }
  maildir_format


new_folder_delivery: # is this part needed?
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
envelope_to_add = true
debug_print=xxx$header_X-folder:
directory =
/home/users/$local_part/Maildir/.${extract{2}{<@}{$h_X-Mailing-List:$h_List-
Post:}}
maildir_format

BTW, after entering these lines into my exim.conf... emails are received in
maildir-format, and I'm using tpop3d as pop3 server...

Thanks,
Peter