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: postfix-users@postfix.org
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:
pi...@xyz.com pl...@xyz.com
pi...@xyz.com pi...@xyz.com
when i send a message to pi...@xyz.com from ma...@abc.com i obtain two
email
to pluto e pippo.
If pl...@xyz.com send a mail to pi...@xyz.com 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.
pi...@xyz.com pippo-mail...@xyz.com
pi...@xyz.com pl...@xyz.com
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.