![]() |
|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Ok, I have probably screwed up with the mail on my 7.2-stable.
In main.cf: home_mailbox = Maildir/ dovecot.conf: mail_location = maildir:/var/mail/%u/Maildir/ muttrc: set mbox_type=Maildir set folder = /var/mail/person/Maildir set mbox = /var/mail/person/Maildir set spoolfile = /var/mail/person/Maildir The problem is that as soon as I send a mail to "person" the /var/mail/person file is created where I suppose it should be a folder containing a Maildir/{cur, new, tmp} structure? To eliminate one problem I renamed .procmailrc but that might have made it worse? As you see I'm not really sure of what I'm doing. |
|
|||
![]()
AFAIK Sendmail, which is the default on FreeBSD, does not support the Maildir format natively.It delivers mail to "/var/mail/person" files. So modifying sendmail's "main.cf" won't help you much.
![]() It has been ages since I used "procmail", but procmail transfers mail from "/var/mail/person/" to whatever you specify. The big picture is as follows:
My guess is that you use procmail to distribute the mail in "var/mail/person" files to the "/var/mail/%u/Maildir" files so Dovecot can serve them via IMAP to your users. Isn't there a utility or script to create Maildirs?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
![]()
Sendmail? I use Postfix. So basically what I have now is postfix + dovecot + mutt. As far as I understand (which isn't alot) the trick is to teach postfix about maildir and then have dovecot and mutt pick it up from the same place. Any thoughts?
|
|
|||
![]()
The creation of mbox / mdir is configured in main.cf with the parameter mail_spool_directory.
To configure mdir a / at the end of the path is required (same as for home_mailbox) From main.cf # DELIVERY TO MAILBOX # # The home_mailbox parameter specifies the optional pathname of a # mailbox file relative to a user's home directory. The default # mailbox file is /var/spool/mail/user or /var/mail/user. Specify # "Maildir/" for qmail-style delivery (the / is required). # #home_mailbox = Mailbox #home_mailbox = Maildir/ # The mail_spool_directory parameter specifies the directory where # UNIX-style mailboxes are kept. The default setting depends on the # system type. # mail_spool_directory = /var/mail/ #mdir format #mail_spool_directory = /var/mail #mbox format |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Postfix, Dovecot, spamassassin, mysql and maildrop | hamba | Guides | 3 | 20th May 2010 06:40 PM |
help with mutt | cssgalactic | FreeBSD General | 3 | 2nd August 2008 07:25 AM |
[DOVECOT] How to choose the ports? | Sunsawe | FreeBSD Ports and Packages | 2 | 7th July 2008 02:41 PM |
Mutt not sending email | cssgalactic | FreeBSD General | 4 | 3rd July 2008 09:54 PM |
postfix + dovecot LDA: bounce, user unknown | cbrace | FreeBSD General | 1 | 9th May 2008 05:19 PM |