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?

I am sorry if my question is too silly but i use postfix since one week.

Regards

Chech

-----Messaggio originale----- From: Viktor Dukhovni
Sent: Friday, August 28, 2015 10:49 PM
To: postfix-users@postfix.org
Subject: Re: Apply alias conditionally for some domains and not others

On Fri, Aug 28, 2015 at 10:28:07PM +0200, Vincenzo Lucarini wrote:

    it is possible in any manner to apply alias tables (i currently use a
mysql table) based on sender address. I mean i want to apply alias only for
certain domains (i.e. apply alias for every sender except for which one
belongs to one or more domains).

Your question is still too vague.

--
Viktor.

Reply via email to