Hi,
At 07:27 27.04.2000 -0400, Peter Green wrote:
>On Thu, Apr 27, 2000 at 10:29:28AM +0530, Madhav wrote:
>> hi,
>> i use a RH 6.1 and i have installed qmail in one machine using rpms from
>> "bruceg-qmail+patches"
>> and it is working fine. but when i send mails i see a delivery made to
>> msglog (also i am unable to find where this is stored) i don't want to keep
>> a copy of the mails sent. so how do i disable it.
>
>It is disabled by default. The "delivery" you are seeing is (basically)
>merely a formality. Look at the file /var/qmail/alias/.qmail-msglog; if it
>only has comments, then messages bound for msglog@wherever are going right
>into the bit bucket. The original recipient still gets it, though.
Same "problem".
Just for cosmetic, how can I disable this feature of "msglog"?
If I removed the file .qmail-msglog, I got following logs:
@40000000392d792218171b4c starting delivery 7: msg 58541 to local
[EMAIL PROTECTED]
@40000000392d7922189b108c starting delivery 8: msg 58541 to local
[EMAIL PROTECTED]
@40000000392d79222473cf5c delivery 7: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
I found a hint in qmail source extra.h:
#ifndef EXTRA_H
#define EXTRA_H
#define QUEUE_EXTRA "Tmsglog\0"
#define QUEUE_EXTRALEN 8
#endif
This defines are used in qmail-queue.c
qmail-queue.c: if (substdio_bput(&ssout,QUEUE_EXTRA,QUEUE_EXTRALEN) == -1)
die_write();
Can I simply remove this line or the inclusion of "extra.h" to disable this
feature?
TIA,
Peter