Re: Combining transport and aliases

This is a discussion on Re: Combining transport and aliases within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Thu, May 26, 2005 8:13 am, Michael Nguyen said: > From: "Matt Fretwell" <mattf@bauchan....


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-26-2005
Magnus Bäck
 
Posts: n/a
Default Re: Combining transport and aliases

On Thu, May 26, 2005 8:13 am, Michael Nguyen said:

> From: "Matt Fretwell" <mattf@bauchan.org>
>
> > An access map with DISCARD?

>
> I don't think that this is what I'm looking for, but I could be wrong.
> Could you explain what you had in mind?


smtpd_mumble_restrictions =3D
...
check_recipient_access hash:/path/to/file
...

/path/to/file:
validuser1@example.com DUNNO
validuser2@example.com DUNNO
example.com DISCARD

I strongly advise against this. What if someone misspells the address and
the message just disappears into the bitbucket? What's the problem with
rejecting messages to invalid recipients?

[...]

> How should I set it up so that everything is done in the right order?
> Example:
>
> - Email comes in for user2@twentyten.org
> - transport map is checked -- user has no transport map
> - user table is checked. user2@twentyten.org maps to user1@twentyten.=

org
> - user1@twentyten.org should be sent to europe7.twentyten.org:2525
> - mail is delivered


See ADDRESS_REWRITING_README.

> It would also work if aliases were always checked first, then transport=

....

Transport selection takes place after virtual and canonical address
rewriting.

> Like I said, I can do each step of this individually, but I'm having
> trouble getting the whole thing to work (i.e, having the aliases get
> looked up properly and then having the transport maps looked up properl=

y).

Having virtual aliases and transport tables work together is no different
from having each of them work alone. Are you having actual problems (if
so, which?), or are you just imagining your problems?

--=20
Magnus B=E4ck
magnus@dsek.lth.se
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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:13 PM.


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