I 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.
Charles Cazabon replied:
> Hmmm. You did this by patching qmail-send? I presume this is to avoid
spam?
No, I did it with a combination of qmail's available tools.
/var/control/envnoathost
no_domain_given
/var/control/virtualdomains
no_domain_given:no
/var/qmail/alias/.qmail-no-default
|bouncesaying "You must enter a complete address
(username@domainname)."
The bosses wanted to make sure people always used complete addresses.
Charles Cazabon continued (and Peter van Dijk chorused):
> 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).
Er, oops. So that's what LEN means. Seems obvious in retrospect. :)
Thanks for the help.
---Kris Kelley