Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I would like to retrieve mail from a server using fetchmail and have it deposit it directly into an mailbox/repository and not hand it off to a mda. Is this possible? How?

In the alternate, is there an mda which simply recieves things from er fetchamil and stores them in some sort of repository without doing any processing?

share|improve this question
add comment

1 Answer 1

Use the mda option in your .fetchmailrc to specify maildrop or procmail as your MDA.

mda "/usr/bin/maildrop"

This will deposit the mail in the system mailbox (typically /var/spool/mail/handygandy or /var/mail/handygandy). If you want it elsewhere, or if you want to dispatch the mails based on their content, write a ~/.mailfilter file.

to mail/fetched
share|improve this answer
    
haha yeah I agree this probably does what the OP wants, but it's not "fetchmail without an mda" lol –  phunehehe Dec 23 '10 at 7:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.