Fred Backman <[EMAIL PROTECTED]> wrote:

>1. Exactly when does qmail append the default domain name
>(control/defaultdomain?) to a local recipient?

qmail-inject appends it before injecting the message.

>2. Can I force qmail to bounce if domain name is missing in
>qmail-inject?

No, but you can set it to something like "no_domain_specified", which
will cause a bounce.

>To clarify what I mean:
>I do "echo to:fred | /var/qmail/bin/qmail-inject", and in the logs this
>is displayed as "[EMAIL PROTECTED]", so where does qmail append the domain
>name?

qmail-inject does that.

>I need qmail-inject (or any of the subsequent processes) to bounce
>if the domain is missing, instead of appending defaultdomain. I think
>it's being done on qmail-inject but does anyone know exactly how?

How? Read the code. I can't imagine why you'd need to know that,
though. Did you try reading the qmail-inject man page?

-Dave

Reply via email to