Curtis Generous <[EMAIL PROTECTED]> wrote:

>Is /var/qmail/control/defaultdomain the only mechanism to inform 
>QMAIL programs what domain name to tack on any unqualified address?  Is
>there instead a way to specify this either via command line args to
>qmail-smtpd, or maybe via an environment variable (possibly set by
>TCPSERVER)?

There are environment variables for qmail-inject, but injections via
SMTP are really supposed to have the right information. Dan's "broken
client" FAQ outlines a way to get around this:

    http://cr.yp.to/qmail/faq/servers.html#network-rewriting

However, you *can* use the RELAYCLIENT environment variable, which, if
set, is appended to each incoming recipient address. That's not
generally useful for rewriting, though.

-Dave

Reply via email to