Re: F8: CPAN problem

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

 



On 01/29/2010 02:39 PM, Patrick O'Callaghan wrote:
> On Fri, 2010-01-29 at 13:37 -0800, Dan Thurman wrote:
>   
>> On 01/29/2010 07:04 AM, Patrick O'Callaghan wrote:
>>     
>>> On Thu, 2010-01-28 at 18:46 -0800, Dan Thurman wrote:
>>>   
>>>       
>>>> Yes, dovecot is just am IMAP server, but the problem is, that
>>>> sendmail by default uses the mbox format.  From what I read,
>>>> it says that you need procmail or other method to convert the
>>>> mbox format into maildir format - which is the part - that I have
>>>> yet to understand how this is actually done.
>>>>     
>>>>         
>>> Sendmail uses a Mail Delivery Agent (MDA) to actually deliver mail.
>>> There are several of these out there, including procmail and maildrop.
>>> Since you can configure sendmail to pipe messages to the MDA, there's no
>>> question of file conversion. In your case an obvious candidate is
>>> Dovecot's own LDA (Local Delivery Agent). Whatever MDA you choose, you
>>> configure it to store messages in maildir format.
>>>
>>> You might find this helpful: http://wiki.dovecot.org/LDA
>>>
>>> poc
>>>
>>>   
>>>       
>> Can you or someone give me a link or reference how to get
>> sendmail/dovecot-LDA/MailDir to setup maildir format?  I read
>> the link you provided, but it is not clear exactly, what needs to be
>> changed in dovecot's configuration file.  The link on explains
>> how to get LDA working (the simplest being the user's .forward
>> file with: '| "/usr/local/libexec/dovecot/deliver"'), but does not say
>> anything about how to set up the 'mail location' as to where the
>> user's maildir might actually be converted/placed. I assume it is
>> the line:
>>
>> mail_location = maildir:~/Maildir
>>
>> But I have not been able to get this to work at all.
>>
>> Some say that one can change the /var/mail/%u directory to add:
>>
>> <user-account-name (directory)>
>>    new
>>    mail
>>    cur
>>
>> But I fail to see how it is that the maildir format is being
>> handled, by some converter program (LDA?) and if so, which
>> program is recommended, be it procmail/maildrop or is it
>> something else?  I am confused...
>>     
> Once again, there's *no conversion*. The MDA will simply store the
> messages into a Maildir structure if you configure it to do so. In the
> case of procmail, you just create the Maildir structure for each user,
> as you mention above. Obviously you also have to get sendmail to use
> procmail as MDA. See the procmail(1) for more info on this. I don't use
> Dovecot so I don't know how it's LDA should be configured, but Google
> for Dovecot+maildir.
>
> See also: http://osdir.com/ml/fedora-list/2009-06/msg00620.html
>
> poc
>   
Thanks for the tip but I have done it in a completely different
way that requires no changes to /var/mail directory as suggested.

If you are interested, see:
http://archives.devshed.com/forums/linux-97/sendmail-and-maildir-format-2357916.html

This works really well!

Dan

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux