alas, i cannot create a new email.... i must use an existing one!
In any case thank you.
Chech
-----Messaggio originale-----
From: Viktor Dukhovni
Sent: Saturday, August 29, 2015 8:13 PM
To: [email protected]
Subject: Re: Apply alias conditionally for some domains and not others
On Sat, Aug 29, 2015 at 07:11:54PM +0200, Vincenzo Lucarini wrote:
Perhaps an example may help:
i have two alias in my sql table for virtual domain:
[email protected] [email protected]
[email protected] [email protected]
when i send a message to [email protected] from [email protected] i obtain two
email
to pluto e pippo.
If [email protected] send a mail to [email protected] i want only the email to
pippo
without the mail to itself. It is possible to block the first alias based
on
sender/domain sender at postfix level, or it is better to see dovecot
configurations?
This is difficult to do and not worth it. You can create an email
address for pippo that delivers only to pippo, and pluto can use
that.
[email protected] [email protected]
[email protected] [email protected]
Then deliver "pippo-mailbox" to pippo's mailbox. Pluto can send
mail to "pippo-mailbox" if he's particular averse to receiving a
bcc copy of the mail he sends.
--
Viktor.