[Mimedefang] Stream by recipient and sendmail

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Mon Oct 28 03:30:39 EDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 28 Oct 2013, Marcus Schopen wrote:

> I'd like to use mimedefang to split up incoming emails on a single
> domain with multipe envelope recipients to single emails having only one
> envelope recipient like
>
> Received: from ... for ... <test102 at domain.com; Sun, 27 Oct 2013 ...
>
> If those emails with more then one recipient were dropped to a multidrop
> mailbox the received header line doesn't contain the recipient. Only the
> To: and/or Cc: mail headers come up with the recipients.
>
> I thought stream by recipient could be a way but I'm not quite sure.

If you mean the following: sendmail adds the recipient to the "Received" 
header only, if there is just one recipient, then yes, stream by recipient 
will do.

What I don't understand is the "multidrop mailbox" part. If you alias one 
recipient into multiple local mailboxes, just like:

list: userA, userB, userC

and mail to just one recipient "list", then yes, too, at least in my setup 
:-)

If mean, you alias multiple recipients to one mailbox, just like:

userA: single
userB: single
userC: single

and mail to userA, userB,& userC, then yes, too, but you will get the same 
message three times in the mailbox of the user "single" and the 
"Received:" header will differ in userA, userB,& userC respectively.
stream_by_recipient() splits the message into three individual messages 
and sendmail is no longer able to detect that the message has just one 
drop point.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUm4Sn58mjdm1m0FfAQJCvAf/YoE0MCmjsZ7b9+OcDfipjULOuwAe28zA
Gk+Al0r2du0VnctQbUSzEtCnRjmJSWYvjhWQhPWLJJvHWbaEmaM/zp4N93QO3EQQ
Yd6CxUOb+j/EsIbxYGdbR2KYu2mN2sZIbjVzen9VTdWFVhxuuzRM9OXl7Pt8SCIc
U3CmEyeM2IVis8YT4/Gc0J48p0JGupUvQUHy27Xyi5WDTsbh6zFnqVLQe/SbZu9r
qayBcq5FE8rBrgOrjEmeDQK6xZROumN8KOeEjGohCEmw3lhabgNZFKEkbuB8hvIX
N7HXbo33kkm0OkblejmnE2v/CGfyQHwXqek65RP6k+KY1ADcCJaU7w==
=w1LL
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list