How to reject adresses that don't match after rewrite?

This is a discussion on How to reject adresses that don't match after rewrite? within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi We've just encountered an issue on one of our systems: This system is the responsible MX for domain....


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 4 Weeks Ago
mario@rimann.org
 
Posts: n/a
Default How to reject adresses that don't match after rewrite?

Hi

We've just encountered an issue on one of our systems: This system is
the responsible MX for domain.tld but for compatibility reasons, we
still accept mails to domain.xy (a country code domain). All mails to
the old domain name are rewritten to the new domain (keeping the first
part of the address: user@domain.xy --> user@domain.tld).

The problem is now that mails to inexistent mailboxes for these two
domains are not handled equally. One domain does directly reject mails
- the other domain bounces them.

Now we'd like to change this behaviour so that all mails to inexisting
domains get rejected during SMTP dialog. But I don't know how to
change this. Any hint is very appreciated!

The setup:
- Postfix
- Amavis-new
- Virtual users/domains/aliases in a MySQL database
- Mails for *@domain.xy are rewritten to *@domain.tld
- Mail to foobar@domain.tld results in a rejected message as expected
and wanted (no backscatter is sent out)
- Mail to foobar@domain.xy is taken into the queue and answered with
two (!) Mails. One from Postfix and one from the content filter (both
just telling that the requested mailbox foobar@domain.tld is not
existing)

Best regards,
Mario
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0