Dave Buchanan (Abo Ltd) wrote, at 11/02/2008 02:03 PM:

> virtual_alias_domains = domain_one.tld domain_two.tld
> virtual_alias_maps = hash:/etc/postfix/virtual
> 
> /etc/postfix/virtual  contains
>   [EMAIL PROTECTED]    [EMAIL PROTECTED]
>   @domain_two.tld        domain_one.tld
> 
> Mail to [EMAIL PROTECTED]  is accepted and delivered as expected
> Mail to [EMAIL PROTECTED] is rejected in the original conversation as expected
> 
> However
> Mail to [EMAIL PROTECTED] is accepted in the original conversation but then 
> later bounced
> 
> It appears the the conversion from [EMAIL PROTECTED] -> [EMAIL PROTECTED] is 
> not runnign during the original conversation -
> which would be (in my humble opinion) a better way to reject the message
> 
> Am I missing something

>From virtual(5):

       @domain address, address, ...
              Redirect mail for other users in domain to address.
              This form has the lowest precedence.

              Note:  @domain  is a wild-card. With this form, the
              Postfix SMTP server accepts mail for any  recipient
              in  domain,  regardless  of  whether that recipient
              exists.  This may turn  your  mail  system  into  a
              backscatter  source: Postfix first accepts mail for
              non-existent recipients and then  tries  to  return
              that  mail  as  "undeliverable" to the often forged
              sender address.

Don't implement wild-cards unless you can assure the message will be
delivered to a valid recipient (who will then receive a lot of spam).

Reply via email to