Kris Kelley <[EMAIL PROTECTED]> wrote:
> I'm trying to set up message archiving via the QUEUE_EXTRA variable
> documented in the qmail FAQ. However, the procedure described in the FAQ
> is incompatible with my installation of qmail, because I have made a
> special case of recipient addresses that do not include a domain; simply
> put, any such messages are rejected. So, the message copies that are
> supposed to go to "log" instead get bounced back to the sender.
Hmmm. You did this by patching qmail-send? I presume this is to avoid spam?
If so, I would think the more appropriate place to check this is in the SMTP
phase -- i.e., in qmail-smtpd instead. Then it wouldn't affect messages
generated locally and intended for ~alias use.
> I tried setting QUEUE_EXTRA to "[EMAIL PROTECTED]\0", but that only
> resulted in all deliveries failing because the recipient address was being
> mangled. I guess I'm not getting the syntax right for QUEUE_EXTRA, but
> there doesn't seem to be any documentation about it other than what's in
> the FAQ.
I'm not positive, but this should still work. Perhaps when you set
QUEUE_EXTRA, you mis-set QUEUE_EXTRALEN? It has to be the length of the
string you supply (including the leading T and the trailing NUL).
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------