[Mimedefang] Stream by recipient and sendmail
skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Mon Oct 28 03:30:39 EDT 2013
-----BEGIN PGP SIGNED MESSAGE-----
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
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:
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the MIMEDefang