Edgaras Luko?evi?ius:
> All this is done to put users into our own "classes" (eg. spammers vs. 
> non-spammers). Because there are clean and dirty IP pools and if we see 
> that user *may be* abusing email (or any other) system we want to put 
> them to "dirty" pool for some time. While this works with ordinary 
> senders, it does not for aliases and spammers are abusing that (we have 
> a few IP addresses blacklisted by gmail, yahoo, hotmail because of this).
> 
> And we do use other means to fight spammers (sender rate, policyd, 
> quotas, RBLs, FBL, etc., etc.), but that is not enough. Classifying 
> users to groups already improved quality of our email services and we 
> would like to improve it further.

You can override the envelope sender with the owner of the alias,
but that feature exists only for alias_maps, not virtual_alias_maps.

/etc/aliases:
    # username is a local(8) username.
    username: u...@hotmail.com
    owner-username: username@your.domain.example

/etc/postfix/main.cf:
    # Override the sender with username@your.domain.example
    expand_owner_alias=yes

Of course that totally breaks forwarding by ordinaty users and
introduces a possibility for mail delivery errors as they come back
to you.

        Wietse

Reply via email to