faqts : Computers : Internet : Mail Servers : qmail : Installation and Configuration : .qmail files

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

14 of 15 people (93%) answered Yes
Recently 8 of 8 people (100%) answered Yes

Entry

What's the best way to deliver mail to both a mailbox and a program?

Feb 29th, 2000 16:34
Nathan Wallace, Dave Sill


When delivering to both a mailbox and a program, it's better to
deliver them via separate .qmail files because if they're in one
.qmail file, and either delivery fails temporarily, *both* will be
retried every time.

E.g., instead of:

  ~user/.qmail:

    ./Maildir/
    |vacation

Do:

  ~user/.qmail:

    user-maildir
    user-vacation

  ~user/.qmail-maildir:

    ./Maildir/

  ~user/.qmail-vacation:

    |vacation

This way, the maildir and vacation deliveries are independent, and if
one fails and is retried, the other won't be multiply delivered.