Todd A. Jacobs wrote:
> I'm currrently using Postfix on a pair of machines, one of which is a
> smarthost for the other. If I do something like this on the internal
> machine:
>
>     mail -s Test nospam < /dev/null
>
> the mail is delivered locally, rather than through the smarthost. If I
> manually append the domain, though:
>
>     mail -s Test nos...@example.com < /dev/null

The "mail" command is not part of Postfix.
It is a user agent that may do things differently than you expect from
Postfix.

Postfix provides a sendmail(1) interface for the command line.
Note: by default, submitting bare user names to Postfix will have
@$myorigin appended to it before acting on it.

Reply via email to