Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Now I am having Postifx --> procmailrc---> maildire---> dovecot and I need to have another maildir in another folder inside /root as a backup at the same time having /$home/maildir ?

First and second both should have mails in maildir format.

How can I instruct procmail to have second maildir in another location /root ?.

If this second location need be another server, how can I send the mail to there?

my current procmailrc file is at /etc and which is --->

:0fw: spamassassin.lock
* < 256000
| /usr/bin/spamassassin

* ^X-Spam-Status: Yes


Your help expected.



share|improve this question

Youc can use c flag (carbon copy).

Add this lines before the one with :0

share|improve this answer
To deliver to a different server, change the action line to ! address@otherserver. This will add another Received: header and possibly change or add some other headers. – tripleee Nov 19 '12 at 7:54

Your Answer


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.