Re: [exim] *Suspect* option "maildir_format" unknown

Top Page
Delete this message
Reply to this message
Author: W B Hacker
Date:  
To: exim users
Old-Topics: [exim] option "maildir_format" unknown
Subject: Re: [exim] *Suspect* option "maildir_format" unknown
Emmanuel Salinas wrote:
> hi there..
>
> Im trying to install exim , dovecot, spamd, clamav with a virtual domain on Mysql and my Distro is Slackware 11
>
> I read about it at:
> http://struction.de/projects/HOWTO_VirtualMail_Exim-MySQL-Spamassassin-ClamAV-Dovecot/
>
> and when I start exim say:
>     2007-11-06 12:10:55 Exim configuration error in line 879 of /etc/exim/exim.conf:
>       option "maildir_format" unknown
>     exim: could not open panic log - aborting: see message(s) above

>
> and this is my exim.conf script:
> local_mysql_delivery:
> driver = appendfile
> directory = /var/mail/${domain}/${local_part}/
> maildir_format
> delivery_date_add
> envelope_to_add
> return_path_add
> user = mail
> group = mail
> mode = 0660Any idea of what's wrong???


Sequence, I suspect, try putting the path *after* what it is to expect at the
end of the path:

This works for me (CAVEAT - I use different perms and users/groups than shown):

and .. unlike your example, it actually *uses* an SQL db.

;-)

# TRANSPORT_4 LOCAL DB: db_delivery.
#
db_delivery:
   driver = appendfile
   user = exim
   group = mail
   delivery_date_add = true
   envelope_to_add = true
   return_path_add = true
   maildir_format = true
   mode = 0660
   directory =  /${lookup pgsql{SELECT pg_mailroot FROM mailprof \
           WHERE pg_local_part='${local_part}' \
           AND pg_domain='${domain}' LIMIT 1}}/\
           ${lookup pgsql{SELECT pg_login_name FROM mailprof \
           WHERE pg_local_part='${local_part}' AND pg_domain='${domain}' \
            LIMIT 1}}/\
           ${lookup pgsql{SELECT pg_maildir FROM mailprof \
           WHERE pg_local_part='${local_part}' AND pg_domain='${domain}' \
             LIMIT 1}}\


create_directory = true
directory_mode = 0660


Bill