| Main Archive Page > Month Archives > postfix-users archives |
Am 01.03.2012 19:06, schrieb Marián Černý:
>> Take a step back. Please describe the problem (why extra copies
>> of mail) instead of the solution (alias feature that excludes the
>> sender).
>
> I don't know how to better describe the problem. Maybe the following:
>
> John is a new junior employee in a company and Mark is a senior one.
> Mark wants to receive all John's e-mails as well. (But when Mark sends
> an e-mail to John, he doesn't want to get a copy of his own e-mail.)
i would solve both on the MDA
in dbmail as example i can set
"john@example.com" -> deliver_to phyical user_id
"john@example.com" -> alias to "mark@example.com"
additionally a sieve-script could discrard messages
where from and to matches "mark@example.com"
done in 5 minutes depending un your MDA
however, the MTA is in my opinion the totally wrong place
because even if you got it to work beware of multi-rcpt
messages which does not matter/exist in this form after
the MDA (dbmail, dovecot..) got the mail via LMTP