On Thu, 8 Jan 2009, Bailo, John wrote:
> And you're saying that Postfix typically runs on Port 587 so therefore
> -m 587
No, you need a name.
I don't know what the postfix equivalent is, but sendmail configurations
have lines like this:
O DaemonPortOptions=Port=587, Name=MSA, M=E
This causes sendmail to listen for SMTP traffic on two ports: port 25 (the
default) and port 587 (the submission port). sendmail assigns names to
these as implied by the above, e.g. "MTA" and "MSP".
When dk-filter gets a connection, the "name" of the daemon which accepted
the connection is passed down to the filter by the MTA. Thus, if you want
to sign mail only if it comes in on port 587, you would use "-m MSA".