In article <k4lgei$aum$
1...@obelix.informatik.uni-kiel.de> Claus
=?iso-8859-1?Q?A=DFmann?=
<ca+sendmail(-no-copies-please)@
mine.informatik.uni-kiel.de> writes:
>
>BTW: there might be some option to prevent sm8 from adding its own
>hostname to unqualified addresses, but I can't remember nor find it in
>the docs right now.
I guess it's the (in)famous 'C' mailer flag - from doc/op/
op.me:
C= If mail is received from a mailer with this flag
set, any addresses in the header that do not have
an at sign ("@") after being rewritten by ruleset
three will have the "@domain" clause from the
sender envelope address tacked on. This allows
mail with headers of the form:
From: usera@hosta
To: userb@hostb, userc
to be rewritten as:
From: usera@hosta
To: userb@hostb, userc@hosta
automatically. However, it doesn't really work
reliably.
However this flag hasn't been set in a default-built
sendmail.cf for a
very long time AFAIK (I checked 8.11.0). If it is set, and the build is
using a sm8 .mc file, I think the proper ivocation to unset it would be:
MODIFY_MAILER_FLAGS(`SMTP', `-C')
MODIFY_MAILER_FLAGS(`RELAY', `-C')
--Per Hedeland