Gentoo Archives: gentoo-user

From: Joshua Murphy <poisonbl@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] netqmail and saving a copy of outgoing mail
Date: Wed, 07 Oct 2009 19:26:14
Message-Id: c30988c30910071226n333b1b26ja1b6e10326785ecc@mail.gmail.com
In Reply to: [gentoo-user] netqmail and saving a copy of outgoing mail by Momesso Andrea
1 On Wed, Sep 30, 2009 at 12:45 PM, Momesso Andrea
2 <momesso.andrea@×××××.com> wrote:
3 > I have mail server running netqmail and vpopmail set up following
4 > http://www.gentoo.org/doc/en/qmail-howto.xml.
5 >
6 > I can't find a way to make the server taking care of storing all sent messages.
7 > Googoling around I found that this is usually done client side, but I have the
8 > need to do this server side.
9 >
10 > Is it possible?
11 >
12 > ---
13 > TopperH
14 > http://topperh.blogspot.com
15
16 Only thing I've found, looking for it (never used qmail myself)...
17
18 source: http://cr.yp.to/qmail/faq/admin.html#copies
19
20 How do I keep a copy of all incoming and outgoing mail messages?
21 Answer: Set QUEUE_EXTRA to "Tlog\0" and QUEUE_EXTRALEN to 5 in
22 extra.h. Recompile qmail. Put ./msg-log into ~alias/.qmail-log.
23
24 You can also use QUEUE_EXTRA to, e.g., record the Message-ID of every
25 message: run
26
27 | awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'
28 from ~alias/.qmail-log.
29
30 --
31 Poison [BLX]
32 Joshua M. Murphy